-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Resolve v4 dependencies #1321
Comments
Note that Web3 v4.9.1 pins eth-tester to v0.1.0-beta.33: https://github.com/ethereum/web3.py/blob/v4.9.1/setup.py#L10 I'm not sure how they ended up with eth-tester beta.37 |
Perhaps tracking Tried cleanroom install (CPython 3.7.3, mkdir web3.py-test-issue-1321
cd web3.py-test-issue-1321
virtualenv .virtualenv/web3.py-test-issue-1321
source .virtualenv/*/bin/activate
pip install web3==4.9.1
pip freeze > a Here attrdict==2.0.1
certifi==2019.3.9
chardet==3.0.4
cytoolz==0.9.0.1
eth-abi==1.3.0
eth-account==0.3.0
eth-hash==0.2.0
eth-keyfile==0.5.1
eth-keys==0.2.1
eth-rlp==0.1.2
eth-typing==2.1.0
eth-utils==1.4.1
hexbytes==0.1.0
idna==2.8
lru-dict==1.1.6
parsimonious==0.8.1
pycryptodome==3.8.1
requests==2.21.0
rlp==1.1.0
six==1.12.0
toolz==0.9.0
urllib3==1.24.1
web3==4.9.1
websockets==6.0 No So: pip install eth-tester
pip freeze > b Here 5c5
< eth-abi==1.3.0
---
> eth-abi==2.0.0b8
10a11
> eth-tester==0.1.0b38
19a21
> semantic-version==2.6.0 Not same numbers as in original report. :/ Need steps to reproduce. |
This a workaround for now: mkdir web3.py-test-issue-1321 [veox]
cd web3.py-test-issue-1321
virtualenv .virtualenv/web3.py-test-issue-1321
source .virtualenv/*/bin/activate
pip install web3==4.9.1 eth-tester==v0.1.0-beta.33
pip freeze > a Here attrdict==2.0.1
certifi==2019.3.9
chardet==3.0.4
cytoolz==0.9.0.1
eth-abi==1.3.0
eth-account==0.3.0
eth-hash==0.2.0
eth-keyfile==0.5.1
eth-keys==0.2.1
eth-rlp==0.1.2
eth-tester==0.1.0b33
eth-typing==2.1.0
eth-utils==1.4.1
hexbytes==0.1.0
idna==2.8
lru-dict==1.1.6
parsimonious==0.8.1
pycryptodome==3.8.1
requests==2.21.0
rlp==1.1.0
semantic-version==2.6.0
six==1.12.0
toolz==0.9.0
urllib3==1.24.1
web3==4.9.1
websockets==6.0 |
I am also on Arch Linux.
happy to assist in any way I can. |
From a fresh virtualenv:
(observe the line: web3 4.9.1 has requirement eth-abi<2.0.0,>=1.2.0, but you'll have eth-abi 2.0.0b8 which is incompatible.) |
Yeah, it's in an extra, because eth-tester isn't needed by many installs, and is fairly weighty.
Oh yeah, that would do it. You can't generally assume that the latest stable web3 will support the latest eth-tester beta. So if you want to use eth-tester through web3, then you should use the extra that's pinned in web3:
Looks like this line ^ would improve the docs here: https://web3py.readthedocs.io/en/stable/providers.html#ethereumtesterprovider |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
still getting this |
@juancrescente try again in a fresh virtual environment, and please raise a new issue if there is still something wrong. |
With a fresh virtual environment I'm still getting this issue.
Python 3.8.10 |
Also getting this same issue. It prevents things like Here's the output of pip compile:
|
Make sure you have the latest version of pip: |
Have you figured out a way to resolve this? |
What was wrong?
web3 4.9.1 requires eth-abi<2.0.0,>=1.2.0
eth-tester 0.1.0b37 requires eth-abi<3.0.0,>=2.0.0b4
How can it be fixed?
Figure out what packages can be upgraded/downgraded to get rid of pip errors without breaking anything
The text was updated successfully, but these errors were encountered: