Very stringent python dependencies
See original GitHub issueHi, 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:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top 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 >
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
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.
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.