-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Best way to handle managing multiple environments in the same project #12821
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
I would say that inconsistencies don't look good, but if deemed completely necessary, UV_PROJECT_ENVIRONMENT is your friend. You can probably create a small bash script to switch between venvs in tandem with preserving state using group dependencies in your I would also suggest/emphasize that different dependencies should be based on functionality and not user preference. |
One option is using |
I should have also mentioned using And again, this is not a production level repository, rather an exploratory research one |
I think you're looking for the highly requested #1495 I'm pretty sure the answer at the moment is not really. At my work I still use conda to set up multiple global environments, and then uv to install Python packages in those conda environments. |
I think that's it! Thank you |
Question
In a research data science team setting, different members might prefer to use their personal environments when doing research, but also at times be able to quickly switch between others'. What is the best way of structuring this in general? I.e. should we create an
envs
folder with subdirectories for each env? Assuming there is single one 'data-science-repo'Platform
No response
Version
No response
The text was updated successfully, but these errors were encountered: