You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create virtualenv with direct URLs in requirements.txt #22423
In the venv creation log, we see vscode first doing an editable install of the project, and downloading and installing the latest urllib3 2.0.7. And after that, it installs requirements.txt and therefore urllib3 2.0.6.
The end result is correct but it involved a useless initial install of an unwanted version.
Activity
sbidoul commentedon Nov 4, 2023
Hm, actually, I think this could be considered a bug. Assume the following project:
pyproject.toml
requirements.txt
Notice we pin urllib3 2.0.6 in requirements.txt.
In the venv creation log, we see vscode first doing an editable install of the project, and downloading and installing the latest urllib3 2.0.7. And after that, it installs requirements.txt and therefore urllib3 2.0.6.
The end result is correct but it involved a useless initial install of an unwanted version.
sbidoul commentedon Nov 4, 2023
BTW, this is a super cool feature, thanks for working on this!
Install requirements before toml (#22468)
Merged PR posit-dev/positron-python#277: Merge vscode-python 2023.22 …
Merged PR posit-dev/positron-python#277: Merge vscode-python 2023.22 …