-
-
Notifications
You must be signed in to change notification settings - Fork 4
setup uv python package and environment management #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @VigneshVSV, I'm interested in working on this issue. Although I haven't used To ensure I do this correctly:
My plan would be:
Do you think this approach is appropriate? I'd appreciate any initial guidance. Regards, |
Hi @EstebanGZam , Thanks for taking the time. I have also worked with uv only once! Also, if you are coming here from google summer of code, I would like to emphasise that this project is not a part of eclipse foundation. To answer your questions:
I assume this might also involve copying some uv files/pyproject.toml to their own project? If yes, one could document that as well in README. Locally within the github repo, these
I would be happy to cover points 1,2,3 & 5 for this (stated in issue description, not this comment). If you would like to do point 4, you could initialize the examples git submodule and try it. If its difficult, we can branch into a issue when more clarity comes. Thanks a lot again! |
If you like Javascript/React, you can also look at some issues here in a related project - https://github.com/hololinked-dev/thing-control-panel/issues |
Also, you could set the author as To run the tests, without uv, to see if they are passing (which it will):
Just FYI, I also pulled the examples to latest commits for your convenience in the main branch.
and try setting up the dependencies to work for them if possible. Of course trying this is optional for now. Moreover, it would be nice if the dependencies for the examples are only a further addition to the main dependencies of the package. For example, I dont exactly know how to do all this. So just feel free to explore and stop when its getting too much! |
Hi @VigneshVSV, Thank you for your patience. To ensure I contribute effectively, I'd like to clarify which specific part of issue #64 I should work on, as there's information across multiple messages and I want to avoid duplication. My current understanding:
Key question:
Best regards, |
Hi @EstebanGZam, Sorry when I said "I would be happy to cover...", I didnt try to mean that I will work on the issue. I meant that, for this issue, if you work on points 1, 2, 3 and 5, that would be sufficient, and would be already great for the project! |
Ah, perfect. Sorry for the misunderstanding. I'll get to work on the issue right away. |
Starting this week, I am doing developer meetings to kick start a community of contributors. Feel free to hop in those meetings to ask me any questions directly or carry out any discussion related to issues. You can find info on the hololinked-dev organisation (top left). Of course, there is no active participation now but I will be doing some heavy marketing in a 2-3 months once my develop branch is merged. |
uv
seems to deliver on its promises of speed and efficiency and looks like thenpm
alternative for python.Especially for unittests to be run locally, it can be useful to provide a environment that can be setup fast.
Rough steps:
uv.lock
file, ensure that venv is setup in the same folder as project (but is git-ignored)uv run <something>
The text was updated successfully, but these errors were encountered: