-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Select interpreter can't list the old Pipenv virtual environments #23202
Comments
@amanchaudhary-95 Thanks for filing the issue. I believe this is as designed from: #23102 as we "filter out any pipenv or poetry envs which do not belong to the current workspace." Should we not be doing the filtering pipenv per workspace? @karthiknadig |
This is expected behavior. Both |
@karthiknadig If the behaviour is as per the expectation then at least make it detect the parent environment inside the subfolders e.g. let's say I've below folder structure: Development(Parent Folder) Now, If I create a virtual environment in the "Development" folder then it should be visible in Project1, Project2 and Project3. Currently, even that is not possible. Since Pipenv doesn't allow the creation of a nested environment hence it should not be the issue. The reason why I'm asking for this is because I've multiple ML models and while in development, these models use the same Python libraries. It is redundant and space-consuming to create a new virtual environment every time I want to develop a new model. |
@amanchaudhary-95 that is a good feature request. |
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue. |
Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Create a virtual environment with pipenv.
Open vs code and execute select interpreter command, if in the same folder in which environment is created the, it shows the interpreter. Image attached:
After that close the VS code. Create a sub-folder or change the directory. Again, open the VS code and execute select interpreter command. Now, all the old virtual environments are not visible. Image attached:
The issue is resolved after downgrading this extension to v2024.0.1
Tasks
The text was updated successfully, but these errors were encountered: