-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Support multiple python versions for in-project virtual environment management #2924
Comments
I would like to keep the current behavior for But I like the idea to have multiple venvs in the projects folder itself. We can come already quite close to it by setting Of course we could also hardcode the folder within the project's root where the different venv gets installed. |
Hi! I can take this up if no one's working on it |
For sure @artorias111. We always appreciate contribution. But we need to first come to a consensus on how it should look like, as @abn described in his post. fin swimmer |
What if poetry were to use symlinks to change the python version while keeping the
Where One downside of using a symlink is that |
@finswimmer I agree. I think overloading @artorias111 feel free to pick this up. As mentioned, first task is to drive concensus and document it. Then implementation. @KGB33 I am not sure if there already exists any standards for this. If a standard exists, we should adhere to that or see if any conventions already exists out there. I thought about the symlinks approach, but I am not too keen on it because it is not really reliable across platforms and filesystems. For now I think we should leave that part of it out of scope for this issue. Along the lines of what @KGB33 mentioned, we might also consider a |
I'm working around this limitation by setting |
I closed the PR that had a fix for having |
I don't know if it's on purpose, but I use this command |
The current scenario when
virtualenvs.in-project = true
is specified, is that we default to creating.venv
as the virtual environment. This needs to be improved to support multiple versions of python.Ideally we will end up having a structure similar to the one below.
Concensus Required
Tasks
env
sub-commands.Related issues: #2908
The text was updated successfully, but these errors were encountered: