WARNING: The directory '/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in links: /work/dependency-cache/rc3/wheels-linux-amd64-py312
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/annotated_doc-0.0.4-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 1))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/annotated_types-0.7.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 2))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/anyio-4.15.1-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 3))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/certifi-2026.10.23-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 4))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 5))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 6))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/click-8.3.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 7))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/cryptography-50.0.2-cp311-abi3-manylinux_2_28_x86_64.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 8))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/exceptiongroup-1.3.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 9))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/fastapi-0.162.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 10))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/h11-0.16.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 11))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/httpcore-1.0.9-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 12))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/httpx-0.28.1-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 13))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/idna-3.20-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 14))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/iniconfig-2.3.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 15))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/opentelemetry_api-1.45.1-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 16))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/packaging-25.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 17))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/pluggy-1.6.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 18))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/pycparser-3.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 19))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/pydantic-2.11.7-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 20))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 21))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/pygments-2.21.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 22))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/pytest-9.1.1-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 23))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/requests-2.34.2-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 24))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/sniffio-1.3.1-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 25))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/starlette-1.3.1-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 26))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 27))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/typing_extensions-4.16.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 28))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/typing_inspection-0.4.2-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 29))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/urllib3-2.8.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 30))
Processing ./dependency-cache/rc3/wheels-linux-amd64-py312/uvicorn-0.40.0-py3-none-any.whl (from -r candidate/requirements-hashed-linux-amd64-py312.txt (line 31))
Installing collected packages: urllib3, typing-extensions, tomli, sniffio, pygments, pycparser, pluggy, packaging, iniconfig, idna, h11, click, charset-normalizer, certifi, annotated-types, annotated-doc, uvicorn, typing-inspection, requests, pytest, pydantic-core, opentelemetry-api, httpcore, exceptiongroup, cffi, anyio, starlette, pydantic, httpx, cryptography, fastapi
Successfully installed annotated-doc-0.0.4 annotated-types-0.7.0 anyio-4.15.1 certifi-2026.10.23 cffi-2.0.0 charset-normalizer-3.4.3 click-8.3.0 cryptography-50.0.2 exceptiongroup-1.3.0 fastapi-0.162.0 h11-0.16.0 httpcore-1.0.9 httpx-0.28.1 idna-3.20 iniconfig-2.3.0 opentelemetry-api-1.45.1 packaging-25.0 pluggy-1.6.0 pycparser-3.0 pydantic-2.11.7 pydantic-core-2.33.2 pygments-2.21.0 pytest-9.1.1 requests-2.34.2 sniffio-1.3.1 starlette-1.3.1 tomli-2.4.0 typing-extensions-4.16.0 typing-inspection-0.4.2 urllib3-2.8.0 uvicorn-0.40.0

==================================== ERRORS ====================================
__________ ERROR collecting launch-programme/bft-tests/test_engine.py __________
ImportError while importing test module '/work/launch-programme/bft-tests/test_engine.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
launch-programme/bft-tests/test_engine.py:6: in <module>
    from engine import Engine,LedgerBoundary,make_block,ENGINE_POLICY
launch-programme/bft/engine.py:13: in <module>
    from certified_advancement import CertifiedAdvanceBoundary, SCHEMA, block_id, vote_payload
launch-programme/proposal/certified_advancement.py:9: in <module>
    from candidate.computenet_hardening.production_crypto import public_key_to_address
candidate/computenet_hardening/production_crypto.py:8: in <module>
    from cryptography.exceptions import InvalidSignature
/tmp/bft-venv/lib/python3.12/site-packages/cryptography/exceptions.py:9: in <module>
    from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
E   ImportError: /tmp/bft-venv/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so: failed to map segment from shared object
________ ERROR collecting launch-programme/bft-tests/test_processes.py _________
ImportError while importing test module '/work/launch-programme/bft-tests/test_processes.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
launch-programme/bft-tests/test_processes.py:6: in <module>
    from engine import LedgerBoundary,make_block
launch-programme/bft/engine.py:13: in <module>
    from certified_advancement import CertifiedAdvanceBoundary, SCHEMA, block_id, vote_payload
launch-programme/proposal/certified_advancement.py:9: in <module>
    from candidate.computenet_hardening.production_crypto import public_key_to_address
candidate/computenet_hardening/production_crypto.py:8: in <module>
    from cryptography.exceptions import InvalidSignature
/tmp/bft-venv/lib/python3.12/site-packages/cryptography/exceptions.py:9: in <module>
    from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
E   ImportError: /tmp/bft-venv/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so: failed to map segment from shared object
____ ERROR collecting launch-programme/tests/test_certified_advancement.py _____
ImportError while importing test module '/work/launch-programme/tests/test_certified_advancement.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
launch-programme/tests/test_certified_advancement.py:6: in <module>
    from certified_advancement import CertifiedAdvanceBoundary,policy_id,block_id,vote_payload,SCHEMA
launch-programme/proposal/certified_advancement.py:9: in <module>
    from candidate.computenet_hardening.production_crypto import public_key_to_address
candidate/computenet_hardening/production_crypto.py:8: in <module>
    from cryptography.exceptions import InvalidSignature
/tmp/bft-venv/lib/python3.12/site-packages/cryptography/exceptions.py:9: in <module>
    from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
E   ImportError: /tmp/bft-venv/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so: failed to map segment from shared object
=========================== short test summary info ============================
ERROR launch-programme/bft-tests/test_engine.py
ERROR launch-programme/bft-tests/test_processes.py
ERROR launch-programme/tests/test_certified_advancement.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
3 errors in 0.20s
