ethereum/py-evm

Upgrade py-trie

antazoey opened this issue · 1 comments

  • py-evm Version: 0.5.0a3
  • OS: macOS
  • Python Version (python --version): 3.10.1
  • Environment (output of pip freeze):
  • aiohttp==3.8.1
    aiosignal==1.2.0
    -e git+ssh://git@github.com/ApeWorX/ape-cairo.git@006af767524ffb10293f48912e5f7625eaae42d4#egg=ape_cairo
    appnope==0.1.2
    argcomplete==1.12.3
    async-timeout==4.0.2
    asynctest==0.13.0
    attrs==21.4.0
    backcall==0.2.0
    backports.cached-property==1.0.1
    base58==2.1.1
    bitarray==1.2.2
    black==21.12b0
    bleach==4.1.0
    cached-property==1.5.2
    cachetools==5.0.0
    cairo-lang==0.7.1
    certifi==2021.10.8
    cffi==1.15.0
    cfgv==3.3.1
    charset-normalizer==2.0.12
    click==8.0.4
    colorama==0.4.4
    commitizen==2.20.1
    commonmark==0.9.1
    coverage==6.3.2
    cytoolz==0.11.2
    dataclassy==0.10.4
    decli==0.5.2
    decorator==5.1.1
    Deprecated==1.2.13
    distlib==0.3.4
    docopt==0.6.2
    docutils==0.18.1
    ecdsa==0.17.0
    eth-abi==2.1.1
    eth-account==0.5.7
    eth-ape==0.1.0b5
    eth-bloom==1.0.4
    eth-hash==0.3.2
    eth-keyfile==0.5.1
    eth-keys==0.3.4
    eth-rlp==0.2.1
    eth-tester==0.6.0b6
    eth-typing==2.3.0
    eth-utils==1.10.0
    ethpm-types==0.1.0b7
    execnet==1.9.0
    fastecdsa==2.2.3
    filelock==3.6.0
    flake8==3.9.2
    frozendict==1.2
    frozenlist==1.3.0
    hexbytes==0.2.2
    hypothesis==6.37.2
    identify==2.4.11
    idna==3.3
    importlib-metadata==4.11.1
    iniconfig==1.1.1
    ipdb==0.13.9
    ipfshttpclient==0.8.0a2
    ipython==7.31.1
    isort==5.10.1
    jedi==0.18.1
    Jinja2==3.0.3
    jsonschema==3.2.0
    keyring==23.5.0
    lark-parser==0.12.0
    lru-dict==1.1.7
    MarkupSafe==2.1.0
    marshmallow==3.14.1
    marshmallow-dataclass==8.5.3
    marshmallow-enum==1.5.1
    marshmallow-oneofschema==3.0.1
    matplotlib-inline==0.1.3
    mccabe==0.6.1
    mpmath==1.2.1
    multiaddr==0.0.9
    multidict==6.0.2
    mypy==0.931
    mypy-extensions==0.4.3
    netaddr==0.8.0
    nodeenv==1.6.0
    numpy==1.21.5
    packaging==20.9
    parsimonious==0.8.1
    parso==0.8.3
    pathspec==0.9.0
    pexpect==4.8.0
    pickleshare==0.7.5
    pipdeptree==2.2.1
    pkginfo==1.8.2
    platformdirs==2.5.1
    pluggy==0.13.1
    pre-commit==2.17.0
    prometheus-client==0.13.1
    prompt-toolkit==3.0.28
    protobuf==3.19.4
    ptyprocess==0.7.0
    py==1.11.0
    py-ecc==5.2.0
    py-evm==0.5.0a3
    py-geth==3.7.0
    pycodestyle==2.7.0
    pycparser==2.21
    pycryptodome==3.14.1
    pydantic==1.9.0
    pyethash==0.1.27
    pyflakes==2.3.1
    pygit2==1.9.0
    PyGithub==1.55
    Pygments==2.11.2
    PyJWT==2.3.0
    PyNaCl==1.5.0
    pyparsing==3.0.7
    pyrsistent==0.18.1
    pysha3==1.0.2
    pytest==6.2.5
    pytest-asyncio==0.18.1
    pytest-cov==3.0.0
    pytest-forked==1.4.0
    pytest-watch==4.2.0
    pytest-xdist==2.5.0
    python-dateutil==2.8.2
    PyYAML==6.0
    questionary==1.10.0
    readme-renderer==32.0
    requests==2.27.1
    requests-toolbelt==0.9.1
    rfc3986==2.0.0
    rich==10.16.2
    rlp==2.0.1
    semantic-version==2.9.0
    singledispatchmethod==1.0
    six==1.16.0
    sortedcontainers==2.4.0
    sympy==1.9
    termcolor==1.1.0
    toml==0.10.2
    tomli==1.2.3
    tomlkit==0.10.0
    toolz==0.11.2
    tqdm==4.62.3
    traitlets==5.1.1
    trie==2.0.0a5
    twine==3.8.0
    typed-ast==1.5.2
    typeguard==2.13.3
    typing-extensions==3.10.0.2
    typing-inspect==0.7.1
    urllib3==1.26.8
    varint==1.0.2
    virtualenv==20.13.1
    watchdog==2.1.6
    wcwidth==0.2.5
    web3==5.27.0
    webencodings==0.5.1
    websockets==9.1
    wrapt==1.13.3
    yarl==1.7.2
    zipp==3.7.

What is wrong?

Unable to install in environments where typing extensions >= 4.0 (which is most environments these days).
This has been fixed in the newer trie packages but this package still uses an older one.
This all trickles down the line and causes issues installing other applications.

How can it be fixed

Pin to trie==2.0.0 instead of trie==2.0.0a5.

dup