Hi,
I'm not sure if this is a bug or a feature request.
I'm trying the new Create Virtual environment feature with the following test project:
pyproject.toml
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vscodetest"
version = "1.0"
dependencies = ["pip-test-package"]
requirements.txt
pip-test-package @ git+https://github.com/pypa/pip-test-package
The idea is to have abstract unpinned dependencies in project.dependencies and pinned dependencies in requirements.txt.
When I do >Python: Create Environment..., select .venv, then requirements.txt, vscode
- creates the virtual environment
- upgrades pip
- then tries to
pip install --editable .
This fails because the pip-test-package dependency is not available on PyPI.
Ideally, it should install requirements.txt in the same command as the editable install: pip install -e . -r requirements.txt.
Hi,
I'm not sure if this is a bug or a feature request.
I'm trying the new Create Virtual environment feature with the following test project:
pyproject.toml
requirements.txt
The idea is to have abstract unpinned dependencies in
project.dependenciesand pinned dependencies inrequirements.txt.When I do
>Python: Create Environment..., select.venv, thenrequirements.txt, vscodepip install --editable .This fails because the
pip-test-packagedependency is not available on PyPI.Ideally, it should install
requirements.txtin the same command as the editable install:pip install -e . -r requirements.txt.