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

Installation fails due to conflicting urllib3 version #17

Open
NeolithEra opened this issue Aug 5, 2019 · 2 comments
Open

Installation fails due to conflicting urllib3 version #17

NeolithEra opened this issue Aug 5, 2019 · 2 comments

Comments

@NeolithEra
Copy link

Hi, users are unable to run AWSBucketDump due to dependency conflict with urllib3 package.
As shown in the following full dependency graph of AWSBucketDump, AWSBucketDump requires urllib3,while requests==2.20.0 requires urllib3>=1.21.1,<1.25.

According to pip’s “first found wins” installation strategy, urllib3==1.25.3 is the actually installed version. However, urllib3==1.25.3 does not satisfy urllib3>=1.21.1,<1.25.

Dependency tree------

AWSBucketDump-master
| +-certifi(version range:==2017.7.27.1)
| +-chardet(version range:==3.0.4)
| +-idna(version range:==2.6)
| +-requests(version range:==2.20.0)
| | +-certifi(version range:>=2017.4.17)
| | +-chardet(version range:<3.1.0,>=3.0.2)
| | +-idna(version range:>=2.5,<2.8)
| | +-urllib3(version range:>=1.21.1,<1.25)
| +-urllib3(version range:*)
| +-xmltodict(version range:==0.11.0)

Thanks for your help.
Best,
Neolith

@NeolithEra
Copy link
Author

Solution

  1. Fix your direct dependency to be urllib3>=1.21.1,<1.25. I have checked this revision will not affect your downstream projects now.
  2. Remove your direct dependency urllib3, and use the urllib3 transitively introduced by requests.

Which solution do you prefer, 1 or 2?
@jordanpotti Please let me know your choice. I can submit a PR to solve this issue.

@jordanpotti
Copy link
Owner

2

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