question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dependency_links don't work with `dev`

See original GitHub issue

Description 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:closed
  • Created 5 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
pfmoorecommented, Jun 27, 2018

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.

0reactions
lock[bot]commented, May 31, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found