Insta-mass-account-creator icon indicating copy to clipboard operation
Insta-mass-account-creator copied to clipboard

Conflicts between Insta-mass-account-creator and urllib3

Open NeolithEra opened this issue 4 years ago • 2 comments

Hi, users are unable to run Insta-mass-account-creator due to dependency conflict with urllib3 package. As shown in the following full dependency graph of Insta-mass-account-creator, Insta-mass-account-creator requires urllib3==1.25.2,while requests==2.21.0 requires urllib3>=1.21.1,<1.25.

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

Dependency tree

Insta-mass-account-creator-master
| +-beautifulsoup4(version range:==4.7.1)
| | +-soupsieve(version range:>=1.2)
| +-certifi(version range:==2018.11.29)
| +-chardet(version range:==3.0.4)
| +-fake-useragent(version range:==0.1.11)
| +-idna(version range:==2.8)
| +-lxml(version range:==4.3.3)
| | +-cython(version range:>=0.29.1)
| +-mechanicalsoup(version range:==0.11.0)
| | +-beautifulsoup4(version range:*)
| | | +-soupsieve(version range:>=1.2)
| | +-lxml(version range:*)
| | | +-cython(version range:>=0.29.1)
| | +-requests(version range:>=2.0)
| | | +-certifi(version range:>=2017.4.17)
| | | +-chardet(version range:<3.1.0,>=3.0.2)
| | | +-idna(version range:>=2.5,<2.9)
| | | +-urllib3(version range:>=1.21.1,<1.25)
| | +-six(version range:>=1.4)
| +-pymailutils(version range:==0.1)
| +-requests(version range:==2.21.0)
| | +-certifi(version range:>=2017.4.17)
| | +-chardet(version range:<3.1.0,>=3.0.2)
| | +-idna(version range:>=2.5,<2.9)
| | +-urllib3(version range:>=1.21.1,<1.25)
| +-selenium(version range:==3.141.0)
| +-six(version range:==1.12.0)
| +-soupsieve(version range:==1.9.1)
| +-urllib3(version range:==1.25.2)

Thanks for your help. Best, Neolith

NeolithEra avatar Aug 05 '19 17:08 NeolithEra

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. Upgrade requests to 2.22.0.

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

NeolithEra avatar Aug 05 '19 17:08 NeolithEra

The 2 version makes Sense.

FeezyHendrix avatar Aug 05 '19 21:08 FeezyHendrix