Remove strict versioning from requirements.txt
See original GitHub issueHi,
I noticed I’m unable to add this library to my project via pipenv due to ‘incompatible versions in the resolved dependencies’ pipenv error. This happens because some library vendors sticks to strict versions in their requirements.txt file like this:
requests==2.20.0
requests-oauthlib==1.0.0
Therefore if one library needs requests==2.20.0
while another library needs requests==2.12.4
then pipenv would be unable to satisfy those conditions.
Could we have a more relaxed versions specification, like the next example?
requests>=2.12.4
requests-oauthlib>=1.0.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Remove strict versioning from requirements.txt #53 - GitHub
Hi,. I noticed I'm unable to add this library to my project via pipenv due to 'incompatible versions in the resolved dependencies' pipenv...
Read more >Does Python requirements file have to specify version?
No, there is no need to specify a version. It's probably a good idea to specify one, though.
Read more >Python package dependency management - pip freeze
Run pip freeze > constraints.txt; Add the new file to version control. Remove the constraints from the requirements.txt file.
Read more >Should You Use Upper Bound Version Constraints?
Bound version constraints (upper caps) are starting to show up in the Python ecosystem. This is causing real world problems with libraries ...
Read more >Dependency Resolution - pip documentation v22.3.1
As a first step, it is useful to audit your project and remove any unnecessary or out of date requirements (e.g. from your...
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 FreeTop 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
Top GitHub Comments
Sure we can do that. Let me check each one of the dependencies and what versions can we set as the minimum required.
Thanks!