pip download --no-index
not recording version with VCS url.
#12333
Labels
resolution: wrong project
Should be reported elsewhere
type: bug
A confirmed bug or unintended behavior
Description
Using
pip download
with a VCS url for a Pep517 project and the--no-index --no-build-isolation
flags results in the saved archive not having a correct version number appended.Running the same command without the flags saves a correctly versioned archive.
Expected behavior
when using
pip download
with VCS urls,--no-index
should not affect the name of the saved archive.pip version
23.2.1
Python version
3.9.16
OS
macOS 13.5.2
How to Reproduce
pip download --no-index --no-build-isolation --dest . --no-deps git+https://github.com/pytest-dev/pytest.git
pip download --dest . --no-deps git+https://github.com/pytest-dev/pytest.git
Output
pytest-0.0.0.zip
pytest-8.0.0.dev275+g2401d766.zip
Code of Conduct
The text was updated successfully, but these errors were encountered: