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 rlp version #1

Open
NeolithEra opened this issue Jun 3, 2020 · 5 comments
Open

Installation fails due to conflicting rlp version #1

NeolithEra opened this issue Jun 3, 2020 · 5 comments

Comments

@NeolithEra
Copy link

Hi, users are unable to run Django-web3-auth due to dependency conflict with rlp package. As shown in the following full dependency graph of Django-web3-auth, Django-web3-auth requires rlp==0.6.0,while ethereum>=2.3.1 requires rlp<2.0.0,>=1.0.1.

According to pip’s “first found wins” installation strategy, rlp 0.6.0 is the actually installed version. However, rlp 0.6.0 does not satisfy rlp<2.0.0,>=1.0.1.

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

django-web3-auth  - 0.1.0
| +- eth-utils(install version:1.8.4 version range:>=1.0.3)
| | +- cytoolz(install version:0.10.1 version range:>=0.10.1,<1.0.0)
| | | +- toolz(install version:0.10.0 version range:>=0.8.0)
| | +- eth-hash(install version:0.2.0 version range:>=0.1.0,<1.0.0)
| | +- eth-typing(install version:2.2.1 version range:>=2.2.1,<3.0.0)
| | +- toolz(install version:0.10.0 version range:>0.8.2,<1)
| +- ethereum(install version:2.3.2 version range:>=2.3.1)
| | +- bitcoin(install version:1.1.42 version range:*)
| | +- coincurve(install version:13.0.0 version range:>=7.0.0)
| | | +- asn1crypto(install version:1.3.0 version range:*)
| | | +- cffi(install version:1.14.0 version range:>=1.3.0)
| | +- coveralls(install version:2.0.0 version range:*)
| | | +- coverage(install version:5.1 version range:>=4.1,<6.0)
| | | +- docopt(install version:0.6.2 version range:>=0.6.1)
| | | +- requests(install version:2.23.0 version range:>=1.0.0)
| | | | +- certifi(install version:2020.4.5.1 version range:>=2017.4.17)
| | | | +- chardet(install version:3.0.4 version range:>=3.0.2,<4)
| | | | +- idna(install version:2.9 version range:>=2.5,<3)
| | | | +- urllib3(install version:1.25.9 version range:>=1.21.1,<1.26)
| | +- ethereum-serpent(install version:2.0.4 version range:*)
| | +- future(install version:0.18.2 version range:*)
| | +- pbkdf2(install version:1.3 version range:*)
| | +- py-ecc(install version:2.0.0 version range:*)
| | | +- eth-typing(install version:2.2.1 version range:<3.0.0,>=2.1.0)
| | | +- eth-utils(install version:1.8.4 version range:>=1.3.0,<2)
| | | | +- cytoolz(install version:0.10.1 version range:>=0.10.1,<1.0.0)
| | | | +- eth-hash(install version:0.2.0 version range:>=0.1.0,<1.0.0)
| | | | +- eth-typing(install version:2.2.1 version range:>=2.2.1,<3.0.0)
| | | | +- toolz(install version:0.10.0 version range:>0.8.2,<1)
| | | +- mypy-extensions(install version:0.4.3 version range:>=0.4.1)
| | | | +- typing (install version:3.7.4.1 version range:>=3.5.3)
| | +- pycryptodome(install version:3.9.7 version range:>=3.4.7)
| | +- pyethash(install version:0.1.27 version range:>=0.1.27,<1.0.0)
| | +- pysha3(install version:1.0.2 version range:>=1.0.1)
| | +- pytest(install version:5.4.1 version range:>=2.9.0)
| | | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | | +- colorama(install version:0.4.3 version range:*)
| | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | | +- packaging(install version:20.3 version range:*)
| | | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | | +- six(install version:1.14.0 version range:*)
| | | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- py(install version:1.8.1 version range:>=1.5.0)
| | | +- wcwidth(install version:0.1.9 version range:*)
| | +- pytest-timeout(install version:1.0.0 version range:==1.0.0)
| | | +- pytest(install version:5.4.1 version range:>=2.8.0)
| | | | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | | | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | | | +- colorama(install version:0.4.3 version range:*)
| | | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | | | +- packaging(install version:20.3 version range:*)
| | | | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | | +- py(install version:1.8.1 version range:>=1.5.0)
| | | | +- wcwidth(install version:0.1.9 version range:*)
| | +- pyyaml(install version:5.3.1 version range:*)
| | +- repoze-lru(install version:0.7 version range:*)
| | +- rlp(install version:1.2.0 version range:>=1.0.1,<2.0.0)
| | | +- eth-utils(install version:1.8.4 version range:>=1.0.2,<2)
| | | | +- cytoolz(install version:0.10.1 version range:>=0.10.1,<1.0.0)
| | | | +- eth-hash(install version:0.2.0 version range:>=0.1.0,<1.0.0)
| | | | +- eth-typing(install version:2.2.1 version range:>=2.2.1,<3.0.0)
| | | | +- toolz(install version:0.10.0 version range:>0.8.2,<1)
| | +- scrypt(install version:0.8.13 version range:*)
| | +- tox(install version:3.14.6 version range:*)
| +- rlp(install version:0.6.0 version range:==0.6.0)
| | +- wheel(install version:0.23.0 version range:==0.23.0)```


Thanks for your help.
Best,
Neolith
@NeolithEra
Copy link
Author

Solution

  1. Loosen the version range of rlp to be >=0.6.0.
  2. Remove your direct dependency rlp, and use the rlp transitively introduced by ethereum.
  3. Ask your direct dependency ethereum to loosen the version range of rlp to be ==0.6.0.
    @atereshkin Which solution do you prefer, 1 ,2 or 3?
    Please let me know your choice. May I pull a request to solve this issue?

@NeolithEra
Copy link
Author

@atereshkin,Could you help me review this issue? Thx :p

@jimscarver
Copy link

this commit appears to address the rpl version issue sanosano@15eb31c
has this worked for anyone? @sanosano @Bearle ?

Are there any suggestions for making this work with zulip? Should we use an old version of zulip?
cc: @dckc

@miratcan
Copy link

miratcan commented Oct 7, 2020

I have the same issue, any workarounds?

@miratcan
Copy link

miratcan commented Oct 7, 2020

this commit appears to address the rpl version issue sanosano@15eb31c
has this worked for anyone?

@jimscarver It worked for me.

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

3 participants