Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicts between traixroute and idna #26

Open
NeolithEra opened this issue Dec 22, 2019 · 2 comments
Open

Conflicts between traixroute and idna #26

NeolithEra opened this issue Dec 22, 2019 · 2 comments

Comments

@NeolithEra
Copy link

Hi, users are unable to run traixroute due to dependency conflict with idna package. As shown in the following full dependency graph of traixroute, traixroute requires idna ==2.1,while requests requires idna <2.7,>=2.5.

According to pip’s “first found wins” installation strategy, idna 2.1 is the actually installed version. However, idna 2.1 does not satisfy <2.7,>=2.5.

Dependency tree-----------

traixroute - 2.3
| +- cffi(install version:1.7.0 version range:==1.7.0)
| +- cryptography(install version:2.1.4 version range:==2.1.4)
| | +- asn1crypto(install version:1.2.0 version range:>=0.21.0)
| | +- idna(install version:2.1 version range:>=2.1)
| | +- six(install version:1.11.0 version range:>=1.4.1)
| +- fuzzywuzzy(install version:0.16.0 version range:==0.16.0)
| +- idna(install version:2.1 version range:==2.1)
| +- netaddr(install version:0.7.19 version range:==0.7.19)
| +- pyasn1(install version:0.1.9 version range:==0.1.9)
| +- pycparser(install version:2.14 version range:==2.14)
| +- pyopenssl(install version:17.4.0 version range:==17.4.0)
| | +- cryptography(install version:2.1.4 version range:>=1.9)
| | | +- asn1crypto(install version:1.2.0 version range:>=0.21.0)
| | | +- idna(install version:2.1 version range:>=2.1)
| | | +- six(install version:1.11.0 version range:>=1.4.1)
| | +- six(install version:1.11.0 version range:>=1.5.2)
| +- pysubnettree(install version:0.26 version range:==0.26)
| +- python-dateutil(install version:2.5.3 version range:==2.5.3)
| | +- six(install version:1.11.0 version range:*)
| | +- six(install version:1.11.0 version range:>=1.5)
| +- pytz(install version:2016.6.1 version range:==2016.6.1)
| +- requests(install version:2.18.4 version range:==2.18.4)
| | +- certifi(install version:2019.11.28 version range:>=2017.4.17)
| | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | +- idna(install version:2.6 version range:<2.7,>=2.5)
| | +- urllib3(install version:1.22 version range:<1.23,>=1.21.1)
| +- ripe-atlas-cousteau(install version:1.4 version range:==1.4)
| | +- python-dateutil(install version:2.5.3 version range:*)
| | | +- six(install version:1.11.0 version range:*)
| | | +- six(install version:1.11.0 version range:>=1.5)
| | +- requests(install version:2.18.4 version range:>=2.7.0)
| | | +- certifi(install version:2019.11.28 version range:>=2017.4.17)
| | | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | | +- idna(install version:2.6 version range:<2.7,>=2.5)
| | | +- urllib3(install version:1.22 version range:<1.23,>=1.21.1)
| | +- socketio-client(install version:0.7.0 version range:>=0.6.5)
| | | +- requests(install version:2.18.4 version range:>=2.7.0)
| | | | +- certifi(install version:2019.11.28 version range:>=2017.4.17)
| | | | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | | | +- idna(install version:2.6 version range:<2.7,>=2.5)
| | | | +- urllib3(install version:1.22 version range:<1.23,>=1.21.1)
| | | +- six(install version:1.11.0 version range:*)
| | | +- websocket-client(install version:0.37.0 version range:*)
| | | | +- six(install version:1.11.0 version range:*)
| | +- websocket-client(install version:0.37.0 version range:<0.39)
| | | +- six(install version:1.11.0 version range:*)
| +- ripe-atlas-sagan(install version:1.1.11 version range:==1.1.11)
| | +- python-dateutil(install version:2.5.3 version range:*)
| | | +- six(install version:1.11.0 version range:*)
| | | +- six(install version:1.11.0 version range:>=1.5)
| | +- pytz(install version:2016.6.1 version range:*)
| +- setuptools(install version:42.0.2 version range:*)
| +- six(install version:1.11.0 version range:==1.11.0)
| +- socketio-client(install version:0.7.0 version range:==0.7.0)
| | +- requests(install version:2.18.4 version range:>=2.7.0)
| | | +- certifi(install version:2019.11.28 version range:>=2017.4.17)
| | | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | | +- idna(install version:2.6 version range:<2.7,>=2.5)
| | | +- urllib3(install version:1.22 version range:<1.23,>=1.21.1)
| | +- six(install version:1.11.0 version range:*)
| | +- websocket-client(install version:0.37.0 version range:*)
| | | +- six(install version:1.11.0 version range:*)
| +- ujson(install version:1.35 version range:==1.35)
| +- websocket-client(install version:0.37.0 version range:==0.37.0)
| | +- six(install version:1.11.0 version range:*)

Thanks for your help.
Best,
Neolith

@NeolithEra
Copy link
Author

Suggested Solution

Fix your direct dependency to be idna <2.7,>=2.5. I have checked this revision will not affect your downstream projects now.
@gnomikos Could I submit a PR to solve this issue?

@gnomikos
Copy link
Owner

We start reviewing the total project again. Thus, we would resolve any opened issue.

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants