New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VCS link in 'install_requires' in setup.py
does not work
#8105
Comments
Hi there, I believe the correct format for VCS dependency would be |
Thanks @McSinyx, this solved it! And yes - good point about the security gains from using |
Actually, your solution also solves my problem on the other issue: jazzband/pip-tools#1111 Triple win! Thanks @McSinyx! |
Environment
Description
I want to use a VCS requirement specifier in the
'install_requires'
section of asetup.py
file, such asgit+git://github.com/...
.python setup.py install --user
fails with this error message:Expected behavior
I would expect the installation to succeed and install a dependency exactly as specified in
setup.py
.How to Reproduce
Use this
setup.py
file from https://github.com/kkom/goblin/blob/4d112b95dfd2374363b4617b08d3f0689957ea73/setup.py :Output
Extra notes
I am aware that pinning dependencies so precisely in
'install_requires'
is a complete antipattern.I am doing it only because I'm fixing a blocking bug in
aiogremlin
, which is a dependency ofgoblin
- a package that I'm using in my program.I'm also trying to solve this problem in a different way, if you're interested: jazzband/pip-tools#1111
The text was updated successfully, but these errors were encountered: