-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
C: direct urlDirect URL references (PEP 440, PEP 508, PEP 610)Direct URL references (PEP 440, PEP 508, PEP 610)C: error messagesImproving error messagesImproving error messagesC: vcspip's interaction with version control systems like git, svn and bzrpip's interaction with version control systems like git, svn and bzrUXUser experience relatedUser experience relatedproject: vendored dependencyRelated to a vendored dependencyRelated to a vendored dependencytype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior
Description
Environment
- pip version: 20.0
- Python version: 3.7
- OS: linux
Description
The following installation of a PEP 440 local VCS reference fails: (using bash to reproduce)
$ git clone https://github.com/pypa/packaging
...
$ pip install "packaging @ git+file://$PWD/packaging"
ERROR: Invalid requirement: 'packaging @ git+file:///home/.../packaging'
Hint: It looks like a path. File 'packaging @ git+file:///home/.../packaging' does not exist.
Expected behavior
It should work, as does the pip-specific URL form:
$ pip install "git+file://$PWD/packaging#egg=packaging"
and as does the PEP 440 form with a remote VCS URL:
$ pip install "packaging @ git+https://github.com/pypa/packaging"
Metadata
Metadata
Assignees
Labels
C: direct urlDirect URL references (PEP 440, PEP 508, PEP 610)Direct URL references (PEP 440, PEP 508, PEP 610)C: error messagesImproving error messagesImproving error messagesC: vcspip's interaction with version control systems like git, svn and bzrpip's interaction with version control systems like git, svn and bzrUXUser experience relatedUser experience relatedproject: vendored dependencyRelated to a vendored dependencyRelated to a vendored dependencytype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior