Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created June 27, 2025 03:43
Show Gist options
  • Select an option

  • Save oberstet/67d48a2da0aa7d3846d3a5e1035f235d to your computer and use it in GitHub Desktop.

Select an option

Save oberstet/67d48a2da0aa7d3846d3a5e1035f235d to your computer and use it in GitHub Desktop.
(venv) oberstet@amd-ryzen5:~/scm/crossbario/autobahn-python$ tox -e py310-asyncio
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
.pkg: _optional_hooks> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: prepare_metadata_for_build_wheel> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py310-asyncio: install_package_deps> python -I -m pip install 'argon2_cffi>=20.1.0' 'base58>=2.1.0' 'bitarray>=2.7.5' 'cbor2>=5.2.0' 'cffi>=1.14.5' 'click>=8.1.2' 'cryptography>=3.4.6' 'ecdsa>=0.16.1' 'eth-abi>=4.0.0' 'flatbuffers>=22.12.6' 'hkdf>=0.0.3' 'hyperlink>=21.0.0' 'importlib.resources>=5.0.0; python_version < "3.10"' 'jinja2>=2.11.3' 'mnemonic>=0.19' 'msgpack>=1.0.2; platform_python_implementation == "CPython"' 'passlib>=1.7.4' 'py-ecc>=5.1.0' 'py-eth-sig-utils>=0.4.0' 'py-multihash>=2.0.1' 'py-ubjson>=0.16.1' 'pynacl>=1.4.0' 'pyopenssl>=20.0.1' 'pytrie>=0.4.0' 'qrcode>=7.3.1' 'rlp>=2.0.1' 'service_identity>=18.1.0' 'spake2>=0.8' 'twisted>=20.3.0' 'txaio>=25.6.1' 'u-msgpack-python>=2.1; platform_python_implementation != "CPython"' 'ujson>=4.0.2; platform_python_implementation == "CPython"' 'web3[ipfs]>=6.0.0' 'xbr>=21.2.1' yapf==0.29.0 'zlmdb>=21.2.1'
Ignoring importlib.resources: markers 'python_version < "3.10"' don't match your environment
Ignoring msgpack: markers 'platform_python_implementation == "CPython"' don't match your environment
Ignoring ujson: markers 'platform_python_implementation == "CPython"' don't match your environment
Collecting argon2_cffi>=20.1.0
Using cached argon2_cffi-25.1.0-py3-none-any.whl (14 kB)
Collecting base58>=2.1.0
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Requirement already satisfied: bitarray>=2.7.5 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (3.4.4)
Collecting cbor2>=5.2.0
Using cached cbor2-5.6.5-py3-none-any.whl (23 kB)
Requirement already satisfied: cffi>=1.14.5 in /home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10 (1.18.0.dev0)
Collecting click>=8.1.2
Using cached click-8.2.1-py3-none-any.whl (102 kB)
Collecting cryptography>=3.4.6
Using cached cryptography-45.0.4-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl (4.4 MB)
Collecting ecdsa>=0.16.1
Using cached ecdsa-0.19.1-py2.py3-none-any.whl (150 kB)
Requirement already satisfied: eth-abi>=4.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (5.2.0)
Collecting flatbuffers>=22.12.6
Using cached flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
Collecting hkdf>=0.0.3
Using cached hkdf-0.0.3.tar.gz (4.0 kB)
Preparing metadata (setup.py) ... done
Collecting hyperlink>=21.0.0
Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Collecting jinja2>=2.11.3
Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)
Collecting mnemonic>=0.19
Using cached mnemonic-0.21-py3-none-any.whl (92 kB)
Collecting passlib>=1.7.4
Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB)
Collecting py-ecc>=5.1.0
Using cached py_ecc-8.0.0-py3-none-any.whl (47 kB)
Collecting py-eth-sig-utils>=0.4.0
Using cached py_eth_sig_utils-0.4.0-py3-none-any.whl (11 kB)
Collecting py-multihash>=2.0.1
Using cached py_multihash-2.0.1-py2.py3-none-any.whl (7.6 kB)
Collecting py-ubjson>=0.16.1
Using cached py-ubjson-0.16.1.tar.gz (50 kB)
Preparing metadata (setup.py) ... done
Collecting pynacl>=1.4.0
Using cached PyNaCl-1.5.0.tar.gz (3.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyopenssl>=20.0.1
Using cached pyopenssl-25.1.0-py3-none-any.whl (56 kB)
Collecting pytrie>=0.4.0
Using cached PyTrie-0.4.0-py3-none-any.whl (6.1 kB)
Collecting qrcode>=7.3.1
Using cached qrcode-8.2-py3-none-any.whl (45 kB)
Requirement already satisfied: rlp>=2.0.1 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (4.1.0)
Collecting service_identity>=18.1.0
Using cached service_identity-24.2.0-py3-none-any.whl (11 kB)
Collecting spake2>=0.8
Using cached spake2-0.9-py3-none-any.whl (31 kB)
Collecting twisted>=20.3.0
Using cached twisted-25.5.0-py3-none-any.whl (3.2 MB)
Requirement already satisfied: txaio>=25.6.1 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (25.6.1)
Collecting u-msgpack-python>=2.1
Using cached u_msgpack_python-2.8.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: web3[ipfs]>=6.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (7.12.0)
Collecting xbr>=21.2.1
Using cached xbr-21.2.1-py2.py3-none-any.whl (1.1 MB)
Collecting yapf==0.29.0
Using cached yapf-0.29.0-py2.py3-none-any.whl (185 kB)
Collecting zlmdb>=21.2.1
Using cached zlmdb-23.1.1-py2.py3-none-any.whl (74 kB)
Collecting argon2-cffi-bindings
Using cached argon2-cffi-bindings-21.2.0.tar.gz (1.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pycparser
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Collecting six>=1.9.0
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: eth-utils>=2.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from eth-abi>=4.0.0) (5.3.0)
Requirement already satisfied: eth-typing>=3.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from eth-abi>=4.0.0) (5.2.1)
Requirement already satisfied: parsimonious<0.11.0,>=0.10.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from eth-abi>=4.0.0) (0.10.0)
Requirement already satisfied: idna>=2.5 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from hyperlink>=21.0.0) (3.10)
Collecting MarkupSafe>=2.0
Using cached markupsafe-3.0.2.tar.gz (20 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pycryptodome>=3.4.7 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from py-eth-sig-utils>=0.4.0) (3.23.0)
Collecting varint<2.0,>=1.0.2
Using cached varint-1.0.2.tar.gz (1.9 kB)
Preparing metadata (setup.py) ... done
Collecting morphys<2.0,>=1.0
Using cached morphys-1.0-py2.py3-none-any.whl (5.6 kB)
Requirement already satisfied: typing-extensions>=4.9 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from pyopenssl>=20.0.1) (4.14.0)
Collecting sortedcontainers
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Requirement already satisfied: attrs>=19.1.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from service_identity>=18.1.0) (25.3.0)
Collecting pyasn1
Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB)
Collecting pyasn1-modules
Using cached pyasn1_modules-0.4.2-py3-none-any.whl (181 kB)
Collecting automat>=24.8.0
Using cached automat-25.4.16-py3-none-any.whl (42 kB)
Collecting constantly>=15.1
Using cached constantly-23.10.4-py3-none-any.whl (13 kB)
Collecting incremental>=24.7.0
Using cached incremental-24.7.2-py3-none-any.whl (20 kB)
Collecting zope-interface>=5
Using cached zope.interface-7.2-py3-none-any.whl
Requirement already satisfied: eth-account>=0.13.6 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (0.13.7)
Requirement already satisfied: eth-hash[pycryptodome]>=0.5.1 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (0.7.1)
Requirement already satisfied: hexbytes>=1.2.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (1.3.1)
Requirement already satisfied: aiohttp>=3.7.4.post0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (3.12.13)
Requirement already satisfied: pydantic>=2.4.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (2.11.7)
Requirement already satisfied: requests>=2.23.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (2.32.4)
Requirement already satisfied: types-requests>=2.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (2.32.4.20250611)
Requirement already satisfied: websockets<16.0.0,>=10.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (15.0.1)
Requirement already satisfied: pyunormalize>=15.0.0 in ./.tox/py310-asyncio/lib/pypy3.10/site-packages (from web3[ipfs]>=6.0.0) (16.0.0)
Collecting lmdb>=1.4.0
Using cached lmdb-1.6.2.tar.gz (881 kB)
Preparing metadata (setup.py) ... error
WARNING: web3 7.12.0 does not provide the extra 'ipfs'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [72 lines of output]
patching file lmdb.h
patching file mdb.c
cc1: fatal error: build/lib/mdb.c: No such file or directory
compilation terminated.
py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1.
Using cffi extension.
Traceback (most recent call last):
File "/tmp/pip-install-48rrrpxe/lmdb_8320a5feae2445baa48caa254b500076/lmdb/__init__.py", line 42, in <module>
from lmdb.cpython import *
ModuleNotFoundError: No module named 'lmdb.cpython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/ccompiler.py", line 917, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/spawn.py", line 68, in spawn
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10/cffi/ffiplatform.py", line 51, in _build
dist.run_command('build_ext')
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/home/oberstet/scm/crossbario/autobahn-python/.tox/py310-asyncio/lib/pypy3.10/site-packages/setuptools/_distutils/unixccompiler.py", line 120, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-48rrrpxe/lmdb_8320a5feae2445baa48caa254b500076/setup.py", line 180, in <module>
import lmdb.cffi
File "/tmp/pip-install-48rrrpxe/lmdb_8320a5feae2445baa48caa254b500076/lmdb/__init__.py", line 48, in <module>
from lmdb.cffi import *
File "/tmp/pip-install-48rrrpxe/lmdb_8320a5feae2445baa48caa254b500076/lmdb/cffi.py", line 372, in <module>
_lib = _ffi.verify(_CFFI_VERIFY,
File "/home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10/cffi/api.py", line 468, in verify
lib = self.verifier.load_library()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10/cffi/verifier.py", line 105, in load_library
self._compile_module()
File "/home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10/cffi/verifier.py", line 209, in _compile_module
output_rel_filename = ffiplatform.compile(tmpdir, self.get_extension())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/oberstet/pypy3.10-v7.3.19-linux64/lib/pypy3.10/cffi/ffiplatform.py", line 57, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.VerificationError: CompileError: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
py310-asyncio: exit 1 (38.46 seconds) /home/oberstet/scm/crossbario/autobahn-python> python -I -m pip install 'argon2_cffi>=20.1.0' 'base58>=2.1.0' 'bitarray>=2.7.5' 'cbor2>=5.2.0' 'cffi>=1.14.5' 'click>=8.1.2' 'cryptography>=3.4.6' 'ecdsa>=0.16.1' 'eth-abi>=4.0.0' 'flatbuffers>=22.12.6' 'hkdf>=0.0.3' 'hyperlink>=21.0.0' 'importlib.resources>=5.0.0; python_version < "3.10"' 'jinja2>=2.11.3' 'mnemonic>=0.19' 'msgpack>=1.0.2; platform_python_implementation == "CPython"' 'passlib>=1.7.4' 'py-ecc>=5.1.0' 'py-eth-sig-utils>=0.4.0' 'py-multihash>=2.0.1' 'py-ubjson>=0.16.1' 'pynacl>=1.4.0' 'pyopenssl>=20.0.1' 'pytrie>=0.4.0' 'qrcode>=7.3.1' 'rlp>=2.0.1' 'service_identity>=18.1.0' 'spake2>=0.8' 'twisted>=20.3.0' 'txaio>=25.6.1' 'u-msgpack-python>=2.1; platform_python_implementation != "CPython"' 'ujson>=4.0.2; platform_python_implementation == "CPython"' 'web3[ipfs]>=6.0.0' 'xbr>=21.2.1' yapf==0.29.0 'zlmdb>=21.2.1' pid=169632
py310-asyncio: FAIL code 1 (40.73 seconds)
evaluation failed :( (40.85 seconds)
(venv) oberstet@amd-ryzen5:~/scm/crossbario/autobahn-python$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment