dependency_links don't work with `dev`
See original GitHub issueDescription
To install a dependency from a git repo, we write
git+https://git.repo/addr.git#egg=projectName
It doesn’t work - there is the code disallowing installation if no version was specified.
Specifying
git+https://git.repo/addr.git#egg=projectName-dev
also doesn;t work, because there is the code excluding so called legacy versions.
So how to write a gite repo in dependencies in the way making pip grab its default branch and install it?
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
pip ignores dependency_links in setup.py - Stack Overflow
It seems that everyone is saying dependency_links is deprecated, and you're supposed to use requirements.txt instead. But this is no good if you ......
Read more >Dependencies Management in Setuptools
There are three types of dependency styles offered by setuptools: 1) build system requirement, 2) required dependency and 3) optional dependency.
Read more >Delivery Plan dependencies link color (red/white) don't update ...
when working in the delivery plan view, if I move items around the dependency links do not update colors until I leave the...
Read more >Link tasks in a project - Microsoft Support
You can link any two tasks in a project to show their relationship (also called a task dependency). Dependencies drive the project schedule...
Read more >Alternative to setup.py dependency links : r/Python - Reddit
The change is that pip 18.1 will allow install of packages that specify external dependencies (for packages that don't originate from PyPI). The ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m afraid we’ll have to disagree on that. The approach suggested by @pradyunsg is the normal, documented way of doing this in pip.
Specifying a dependency in your project that is “whatever happens to be in git at the time we do a build” with no version to ensure at least a minimal level of reproducibility simply isn’t a supported workflow. If your dependencies aren’t yet stable enough to be versioned, it seems that you’re probably not at a point where you should be baking them into your project metadata.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.