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.

Very stringent python dependencies

See original GitHub issue

Hi, I just tried installing hail with pip but it has very stringent version dependencies. For example, it requires pandas>0.22,<0.24 which causes a pip install hail to downgrade my pandas version.

Would it be feasible to remove all those <0.x in the dependencies? Usually, new versions of e.g. pandas introduce less problems to the user than downgrades caused by pip packages (pip does not resolve dependencies in contrast to e.g. conda).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
johnc1231commented, Oct 15, 2019

Updating pandas version in #7301 to (partially) address this issue. There’s still some larger questions about not pinning specific versions in the first place.

1reaction
tpoterbacommented, Oct 15, 2019

I’d propose to do an implicit dependency audit every time you push a new commit.

You can still pin versions on published packages, but use unpinned dependencies for CI testing.

I think our only option here would be to test twice – once with the major versions we explicitly depend on, and once with unbounded versions. I don’t really like this model, since it basically couples breaking changes in other tools to Hail commits, which isn’t how it actually works.

I’d much prefer a weekly cron job that tries to update dependencies, I think, but that thing isn’t trivial to build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PEP 508 – Dependency specification for Python Software ...
This PEP specifies the language used to describe dependencies for packages. ... Sometimes this is very loose - just specifying a name, and...
Read more >
Python Dependencies - Everything You Need to Know
Dependency conflicts occur when different Python packages have the same dependency, but depend on different and incompatible versions of that ...
Read more >
Dependency management — Python for Scientific Computing ...
Most scientific software written in Python uses external libraries to speed ... If you're creating a library, adding strict dependencies can also create...
Read more >
Python dependency hell: A compromise between virtualenv ...
I can create strict or open environment. yml , specifying the conda channel priority, the packages from conda and the packages from pip....
Read more >
Managing Python Dependencies - Real Python
Master the Tools of the Trade for Dependency Management, and Become an Expert At Picking Quality Python Libraries: Dear Fellow Python Developer,. Not...
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