idna 3.0 version package conflict
See original GitHub issueidna released version 3.0 but requests has a dependency on idna<3, this makes it impossible to keep up to date on both packages.
Expected Result
I want to be able to install the latest idna package alongside the latest requests package
Actual Result
ERROR: Cannot install -r requirements.txt (line 12) and idna==3.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested idna==3.0
requests 2.25.1 depends on idna<3 and >=2.5
Reproduction Steps
try to run pip install
on a requirements.txt file with
requests==2.25.1
idna==3.0
System Information
multiple Python versions (3.6 up to 3.9) running on Docker containers inside Drone CI/CD
Issue Analytics
- State:
- Created 3 years ago
- Reactions:89
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Pip requirements installation fails in Travis due to idna version ...
One of my Travis build tests have started to fail with the following error: The conflict is ...
Read more >Understanding Python Packages pip Dependency Resolver ...
Practical examples of when a dependency (version) conflict occurs. Differences in how conflicts are dealt with in the new and legacy dependency ...
Read more >Cannot install Pulp due to a dependency conflict on idna 2.9
The yarl and requests packages are sub-dependencies of pulpcore, and have conflicting version needs for idna. With idna==2.9 released, this prevents Pulp from ......
Read more >How to use Python Dependency Management Tools
Unfortunately, pip makes no attempt to resolve dependency conflicts that may arise when (for example) package A requires a different version ...
Read more >Qiime2 2022.8 Installation error - Technical Support
Collecting package metadata (repodata.json): done Solving ... which will cause conflicts anytime there are overlapping package versions that ...
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
@sethmlarson how long do we have to keep using older version of
idna
? This is essentially blocking us from using latest version of it. I don’t think that should be suggested to anyone.@hartwork https://github.com/psf/requests/pull/5711 will fix this, @psf are just sitting on it until the next release