Relax install_requires constraints
See original GitHub issueBased on https://packaging.python.org/discussions/install-requires-vs-requirements/ “It is not considered best practice to use install_requires to pin dependencies to specific versions”.
We need to loosen up install_requires
while keeping the CI stable. We don’t have good, documented reasons for the lower/upper boundaries. Maybe we could just pin to major versions and let the minors fly free? And then, for CI we could setup a bot that checks for updates weekly and raises a PR with an updated minor version for each requirement (with pur: https://pypi.org/project/pur/) to make sure we’re testing against the latest available versions.
Context:
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Relaxing / Ignoring constraints during dependency resolution
I want this command to remain simple, so that new contributors can have an easy time getting started. $ pip install -r requirements/dev.txt...
Read more >Adding and Updating Software in Oracle® Solaris 11.3
Relaxing Version Constraints Specified by Constraint Packages. A constraint package specifies which versions of packages can be installed.
Read more >PIP Constraints Files - python - Stack Overflow
Constraints files are requirements files that only control which version of a requirement is installed, not whether it is installed or not.
Read more >how to solve the error regarding constraint relax in linear ...
how to solve the error regarding constraint relax in linear analysis tool ... It is hard to say what is happening without knowing...
Read more >Relax Mode | Inventor - Autodesk Knowledge Network
If you want to add the new constraint or dimension, you need to: Find the conflicted constraints and delete them manually. Find 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
The way python devs are going at this is convoluted to say the least… I cannot believe that they pulled the switch on the new dependency resolution “feature” without allowing for a reasonable override method… forking the dependency and loosen the requirements as the standard solution is… questionable. Having said that, to fix the current blocking issue, having
>=
+ blacklist sounds good to me.Can we just freeze depth=1 or depth=2 of our dependency graph? I guess it technically wouldn’t be a reproducible build but it’s more than what we have now