Is the package name missing when pip-compiling a VCS url requirement? #1165
Labels
enhancement
Improvements to functionality
PR wanted
Feature is discussed or bug is confirmed, PR needed
vcs
Related to VCS requirements
A requirement of the form
package @ git+https://...
is converted by pip-compile togit+https://...
.Running
pip install -e .
with such a line inside requirements.txt works with pip 20.0.2, but not with pip 20.1.1 anymore. It does however work after manually prefixing the VCS URL with the package identifier again.I am only beginning to grasp the complexities of Python package management, and I am not sure whether this is an issue with pip, pip-tools, or anything in between. Having said that, I noticed
that in https://www.python.org/dev/peps/pep-0440/#direct-references, all examples are of the form
package name @ VCS URL
, so perhaps it has to be included in pip-compile's output?I'd appreciate any hint on how best to proceed with this. Thanks!
Environment Versions
Steps to replicate
1.1.
requirements.in
:1.2.
setup.py
:1.3. An empty
pkg/__init__.py
file.Expected result
pip install -e .
executes without error.Actual result
pip install -e .
returns an error:(Edit: Make error description self-reliant, without depending on an external repository.)
The text was updated successfully, but these errors were encountered: