Invalid requirement error with file URL and named project #10098
Labels
project: vendored dependency
Related to a vendored dependency
type: bug
A confirmed bug or unintended behavior
Description
It's possible to install using a
git+file
scheme:It's also possible to specify the distribution name and extras when installing from a remote git repo:
But if one tries to install using a
git+file
scheme and specify the distribution name, an Invalid requirement error occurs:And thus because of #10097, it's not possible to install a local git repo with extras.
I'd really like for there to be some way to install a package at a given revision with extras:
I need this for pytest-perf in order to compare performance of a package against the main branch.
Expected behavior
Honor the combination of the two syntaxes.
pip version
21.1.2
Python version
3.9.2
OS
macOS 11.4
How to Reproduce
x
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: