I installed it with Homebrew. I just reinstalled it using the method explained on the Rust website, and it seems to have resolved the issue.
Thank you very much for your help. Jules Le mar. 21 nov. 2023 à 14:19, Alex Gaynor <alex.gay...@gmail.com> a écrit : > Where did you get your rustc from? It looks like it's built without > the necessary support for coverage. > > But in any event, you can use `nox -e tests-nocoverage` for now. > > Alex > > On Tue, Nov 21, 2023 at 8:15 AM Jules Marmier <jules.marm...@gmail.com> > wrote: > > > > Thanks for your prompt response! > > > > To answer your questions: > > 1) I'm building on a Mac M1 > > 2) Yes, nox -e tests-nocoverage works without any issues > > > > Jules > > > > Le mar. 21 nov. 2023 à 13:55, Alex Gaynor <alex.gay...@gmail.com> a > écrit : > >> > >> Two questions: 1) What platform are you building on? 2) Does `nox -e > >> tests-nocoverage` work? > >> > >> Alex > >> > >> On Tue, Nov 21, 2023 at 7:53 AM Jules Marmier <jules.marm...@gmail.com> > wrote: > >> > > >> > Ok, this is my full error message : > >> > > >> > nox > Running session tests > >> > > >> > nox > Re-using existing virtual environment at .nox/tests. > >> > > >> > nox > python -m pip install -v -c ci-constraints-requirements.txt > '.[test]' > >> > > >> > Using pip 23.3.1 from > /Users/jules/Documents/cryptography/.nox/tests/lib/python3.11/site-packages/pip > (python 3.11) > >> > > >> > Processing /Users/jules/Documents/cryptography > >> > > >> > Running command pip subprocess to install build dependencies > >> > > >> > Collecting setuptools>=61.0.0 > >> > > >> > Downloading setuptools-69.0.1-py3-none-any.whl.metadata (6.3 kB) > >> > > >> > Collecting wheel > >> > > >> > Using cached wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB) > >> > > >> > Collecting cffi>=1.12 > >> > > >> > Using cached > cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (1.5 kB) > >> > > >> > Collecting setuptools-rust>=1.7.0 > >> > > >> > Using cached setuptools_rust-1.8.1-py3-none-any.whl.metadata (9.4 > kB) > >> > > >> > Collecting pycparser (from cffi>=1.12) > >> > > >> > Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) > >> > > >> > Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=1.7.0) > >> > > >> > Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) > >> > > >> > Downloading setuptools-69.0.1-py3-none-any.whl (819 kB) > >> > > >> > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.4/819.4 kB 20.7 > MB/s eta 0:00:00 > >> > > >> > Using cached wheel-0.41.3-py3-none-any.whl (65 kB) > >> > > >> > Using cached cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl (176 kB) > >> > > >> > Using cached setuptools_rust-1.8.1-py3-none-any.whl (26 kB) > >> > > >> > Installing collected packages: wheel, setuptools, semantic-version, > pycparser, setuptools-rust, cffi > >> > > >> > Successfully installed cffi-1.16.0 pycparser-2.21 > semantic-version-2.10.0 setuptools-69.0.1 setuptools-rust-1.8.1 wheel-0.41.3 > >> > > >> > Installing build dependencies ... done > >> > > >> > Running command Getting requirements to build wheel > >> > > >> > running egg_info > >> > > >> > writing src/cryptography.egg-info/PKG-INFO > >> > > >> > writing dependency_links to > src/cryptography.egg-info/dependency_links.txt > >> > > >> > writing requirements to src/cryptography.egg-info/requires.txt > >> > > >> > writing top-level names to src/cryptography.egg-info/top_level.txt > >> > > >> > reading manifest file 'src/cryptography.egg-info/SOURCES.txt' > >> > > >> > reading manifest template 'MANIFEST.in' > >> > > >> > warning: no files found matching '*.c' under directory > 'src/_cffi_src' > >> > > >> > warning: no files found matching '*.h' under directory > 'src/_cffi_src' > >> > > >> > no previously-included directories found matching 'docs/_build' > >> > > >> > warning: no previously-included files found matching 'vectors' > >> > > >> > warning: no previously-included files matching '*' found under > directory 'vectors' > >> > > >> > warning: no previously-included files found matching > 'src/rust/target' > >> > > >> > warning: no previously-included files matching '*' found under > directory '.github' > >> > > >> > warning: no previously-included files found matching 'release.py' > >> > > >> > warning: no previously-included files found matching > '.readthedocs.yml' > >> > > >> > warning: no previously-included files found matching > 'ci-constraints-requirements.txt' > >> > > >> > warning: no previously-included files found matching 'mypy.ini' > >> > > >> > adding license file 'LICENSE' > >> > > >> > adding license file 'LICENSE.APACHE' > >> > > >> > adding license file 'LICENSE.BSD' > >> > > >> > writing manifest file 'src/cryptography.egg-info/SOURCES.txt' > >> > > >> > Getting requirements to build wheel ... done > >> > > >> > Running command Preparing metadata (pyproject.toml) > >> > > >> > running dist_info > >> > > >> > creating > /private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info > >> > > >> > writing > /private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/PKG-INFO > >> > > >> > writing dependency_links to > /private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/dependency_links.txt > >> > > >> > writing requirements to > /private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/requires.txt > >> > > >> > writing top-level names to > /private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/top_level.txt > >> > > >> > writing manifest file > '/private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/SOURCES.txt' > >> > > >> > reading manifest file > '/private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/SOURCES.txt' > >> > > >> > reading manifest template 'MANIFEST.in' > >> > > >> > warning: no files found matching '*.c' under directory > 'src/_cffi_src' > >> > > >> > warning: no files found matching '*.h' under directory > 'src/_cffi_src' > >> > > >> > no previously-included directories found matching 'docs/_build' > >> > > >> > warning: no previously-included files found matching 'vectors' > >> > > >> > warning: no previously-included files matching '*' found under > directory 'vectors' > >> > > >> > warning: no previously-included files found matching > 'src/rust/target' > >> > > >> > warning: no previously-included files matching '*' found under > directory '.github' > >> > > >> > warning: no previously-included files found matching 'release.py' > >> > > >> > warning: no previously-included files found matching > '.readthedocs.yml' > >> > > >> > warning: no previously-included files found matching > 'ci-constraints-requirements.txt' > >> > > >> > warning: no previously-included files found matching 'mypy.ini' > >> > > >> > adding license file 'LICENSE' > >> > > >> > adding license file 'LICENSE.APACHE' > >> > > >> > adding license file 'LICENSE.BSD' > >> > > >> > writing manifest file > '/private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography.egg-info/SOURCES.txt' > >> > > >> > creating > '/private/var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/pip-modern-metadata-sf0wkv9l/cryptography-42.0.0.dev1.dist-info' > >> > > >> > Preparing metadata (pyproject.toml) ... done > >> > > >> > Collecting cffi>=1.12 > >> > > >> > Obtaining dependency information for cffi>=1.12 from > https://files.pythonhosted.org/packages/18/6c/0406611f3d5aadf4c5b08f6c095d874aed8dfc2d3a19892707d72536d5dc/cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl.metadata > >> > > >> > Using cached cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl.metadata > (1.5 kB) > >> > > >> > Collecting pytest>=6.2.0 > >> > > >> > Obtaining dependency information for pytest>=6.2.0 from > https://files.pythonhosted.org/packages/f3/8c/f16efd81ca8e293b2cc78f111190a79ee539d0d5d36ccd49975cb3beac60/pytest-7.4.3-py3-none-any.whl.metadata > >> > > >> > Using cached pytest-7.4.3-py3-none-any.whl.metadata (7.9 kB) > >> > > >> > Collecting pytest-benchmark > >> > > >> > Using cached pytest_benchmark-4.0.0-py3-none-any.whl (43 kB) > >> > > >> > Collecting pytest-cov > >> > > >> > Obtaining dependency information for pytest-cov from > https://files.pythonhosted.org/packages/a7/4b/8b78d126e275efa2379b1c2e09dc52cf70df16fc3b90613ef82531499d73/pytest_cov-4.1.0-py3-none-any.whl.metadata > >> > > >> > Using cached pytest_cov-4.1.0-py3-none-any.whl.metadata (26 kB) > >> > > >> > Collecting pytest-xdist > >> > > >> > Obtaining dependency information for pytest-xdist from > https://files.pythonhosted.org/packages/c4/94/71d5bdffe6efc8f224154323bb3e026c5e961bd56bd2a5a20f23917377d4/pytest_xdist-3.4.0-py3-none-any.whl.metadata > >> > > >> > Using cached pytest_xdist-3.4.0-py3-none-any.whl.metadata (3.1 kB) > >> > > >> > Collecting pretend > >> > > >> > Using cached pretend-1.0.9-py2.py3-none-any.whl (3.8 kB) > >> > > >> > Collecting pycparser (from cffi>=1.12) > >> > > >> > Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) > >> > > >> > Collecting iniconfig (from pytest>=6.2.0) > >> > > >> > Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB) > >> > > >> > Collecting packaging (from pytest>=6.2.0) > >> > > >> > Obtaining dependency information for packaging from > https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata > >> > > >> > Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) > >> > > >> > Collecting pluggy<2.0,>=0.12 (from pytest>=6.2.0) > >> > > >> > Obtaining dependency information for pluggy<2.0,>=0.12 from > https://files.pythonhosted.org/packages/05/b8/42ed91898d4784546c5f06c60506400548db3f7a4b3fb441cba4e5c17952/pluggy-1.3.0-py3-none-any.whl.metadata > >> > > >> > Using cached pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB) > >> > > >> > Collecting py-cpuinfo (from pytest-benchmark) > >> > > >> > Using cached py_cpuinfo-9.0.0-py3-none-any.whl (22 kB) > >> > > >> > Collecting coverage>=5.2.1 (from coverage[toml]>=5.2.1->pytest-cov) > >> > > >> > Obtaining dependency information for coverage>=5.2.1 from > https://files.pythonhosted.org/packages/0b/df/9283cc3e33342995971c30be0e32d05f680f1ad2a25e20eb9e5b978e56a9/coverage-7.3.2-cp311-cp311-macosx_11_0_arm64.whl.metadata > >> > > >> > Using cached > coverage-7.3.2-cp311-cp311-macosx_11_0_arm64.whl.metadata (8.1 kB) > >> > > >> > Collecting execnet>=1.1 (from pytest-xdist) > >> > > >> > Obtaining dependency information for execnet>=1.1 from > https://files.pythonhosted.org/packages/e8/9c/a079946da30fac4924d92dbc617e5367d454954494cf1e71567bcc4e00ee/execnet-2.0.2-py3-none-any.whl.metadata > >> > > >> > Using cached execnet-2.0.2-py3-none-any.whl.metadata (2.9 kB) > >> > > >> > Using cached cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl (176 kB) > >> > > >> > Using cached pytest-7.4.3-py3-none-any.whl (325 kB) > >> > > >> > Using cached pytest_cov-4.1.0-py3-none-any.whl (21 kB) > >> > > >> > Using cached pytest_xdist-3.4.0-py3-none-any.whl (41 kB) > >> > > >> > Using cached coverage-7.3.2-cp311-cp311-macosx_11_0_arm64.whl (200 kB) > >> > > >> > Using cached execnet-2.0.2-py3-none-any.whl (37 kB) > >> > > >> > Using cached pluggy-1.3.0-py3-none-any.whl (18 kB) > >> > > >> > Using cached packaging-23.2-py3-none-any.whl (53 kB) > >> > > >> > Building wheels for collected packages: cryptography > >> > > >> > Running command Building wheel for cryptography (pyproject.toml) > >> > > >> > running bdist_wheel > >> > > >> > running build > >> > > >> > running build_py > >> > > >> > copying src/cryptography/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography > >> > > >> > copying src/cryptography/utils.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography > >> > > >> > copying src/cryptography/__about__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography > >> > > >> > copying src/cryptography/exceptions.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography > >> > > >> > copying src/cryptography/fernet.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography > >> > > >> > copying src/cryptography/hazmat/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat > >> > > >> > copying src/cryptography/hazmat/_oid.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat > >> > > >> > copying src/cryptography/x509/oid.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/verification.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/ocsp.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/general_name.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/extensions.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/name.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/base.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/x509/certificate_transparency.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/x509 > >> > > >> > copying src/cryptography/hazmat/backends/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends > >> > > >> > copying src/cryptography/hazmat/primitives/_serialization.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/cmac.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/_asymmetric.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/poly1305.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/constant_time.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/keywrap.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/hmac.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/hashes.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/primitives/padding.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives > >> > > >> > copying src/cryptography/hazmat/bindings/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings > >> > > >> > copying src/cryptography/hazmat/backends/openssl/backend.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends/openssl > >> > > >> > copying src/cryptography/hazmat/backends/openssl/ciphers.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends/openssl > >> > > >> > copying src/cryptography/hazmat/backends/openssl/aead.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends/openssl > >> > > >> > copying src/cryptography/hazmat/backends/openssl/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends/openssl > >> > > >> > copying src/cryptography/hazmat/backends/openssl/utils.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends/openssl > >> > > >> > copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/backends/openssl > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/kdf > >> > > >> > copying src/cryptography/hazmat/primitives/twofactor/totp.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/twofactor > >> > > >> > copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/twofactor > >> > > >> > copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/twofactor > >> > > >> > copying > src/cryptography/hazmat/primitives/serialization/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/serialization > >> > > >> > copying src/cryptography/hazmat/primitives/serialization/pkcs12.py > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/serialization > >> > > >> > copying src/cryptography/hazmat/primitives/serialization/pkcs7.py > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/serialization > >> > > >> > copying src/cryptography/hazmat/primitives/serialization/ssh.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/serialization > >> > > >> > copying src/cryptography/hazmat/primitives/serialization/base.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/serialization > >> > > >> > copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/ciphers > >> > > >> > copying src/cryptography/hazmat/primitives/ciphers/aead.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/ciphers > >> > > >> > copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/ciphers > >> > > >> > copying src/cryptography/hazmat/primitives/ciphers/modes.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/ciphers > >> > > >> > copying src/cryptography/hazmat/primitives/ciphers/base.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/ciphers > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/__init__.py > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/types.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/primitives/asymmetric > >> > > >> > copying src/cryptography/hazmat/bindings/openssl/__init__.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/openssl/binding.py -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/openssl > >> > > >> > running egg_info > >> > > >> > writing src/cryptography.egg-info/PKG-INFO > >> > > >> > writing dependency_links to > src/cryptography.egg-info/dependency_links.txt > >> > > >> > writing requirements to src/cryptography.egg-info/requires.txt > >> > > >> > writing top-level names to src/cryptography.egg-info/top_level.txt > >> > > >> > reading manifest file 'src/cryptography.egg-info/SOURCES.txt' > >> > > >> > reading manifest template 'MANIFEST.in' > >> > > >> > warning: no files found matching '*.c' under directory > 'src/_cffi_src' > >> > > >> > warning: no files found matching '*.h' under directory > 'src/_cffi_src' > >> > > >> > no previously-included directories found matching 'docs/_build' > >> > > >> > warning: no previously-included files found matching 'vectors' > >> > > >> > warning: no previously-included files matching '*' found under > directory 'vectors' > >> > > >> > warning: no previously-included files found matching > 'src/rust/target' > >> > > >> > warning: no previously-included files matching '*' found under > directory '.github' > >> > > >> > warning: no previously-included files found matching 'release.py' > >> > > >> > warning: no previously-included files found matching > '.readthedocs.yml' > >> > > >> > warning: no previously-included files found matching > 'ci-constraints-requirements.txt' > >> > > >> > warning: no previously-included files found matching 'mypy.ini' > >> > > >> > adding license file 'LICENSE' > >> > > >> > adding license file 'LICENSE.APACHE' > >> > > >> > adding license file 'LICENSE.BSD' > >> > > >> > writing manifest file 'src/cryptography.egg-info/SOURCES.txt' > >> > > >> > copying src/cryptography/py.typed -> > build/lib.macosx-14-arm64-cpython-311/cryptography > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/exceptions.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi > -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> > build/lib.macosx-14-arm64-cpython-311/cryptography/hazmat/bindings/_rust/openssl > >> > > >> > running build_ext > >> > > >> > running build_rust > >> > > >> > cargo rustc --lib --message-format=json-render-diagnostics > --manifest-path src/rust/Cargo.toml --release -v --features > pyo3/extension-module --crate-type cdylib -- -C link-args=-undefined > dynamic_lookup -Wl,-install_name,@rpath/_rust.abi3.so > >> > > >> > Dirty proc-macro2 v1.0.69: the rustflags changed > >> > > >> > Compiling proc-macro2 v1.0.69 > >> > > >> > Dirty libc v0.2.150: the rustflags changed > >> > > >> > Compiling libc v0.2.150 > >> > > >> > Dirty unicode-ident v1.0.12: the rustflags changed > >> > > >> > Compiling unicode-ident v1.0.12 > >> > > >> > Dirty target-lexicon v0.12.12: the rustflags changed > >> > > >> > Compiling target-lexicon v0.12.12 > >> > > >> > Dirty pkg-config v0.3.27: the rustflags changed > >> > > >> > Compiling pkg-config v0.3.27 > >> > > >> > Dirty vcpkg v0.2.15: the rustflags changed > >> > > >> > Compiling vcpkg v0.2.15 > >> > > >> > Dirty autocfg v1.1.0: the rustflags changed > >> > > >> > Compiling autocfg v1.1.0 > >> > > >> > Running `rustc --crate-name build_script_build --edition=2021 > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.69/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' > -C metadata=f7ac9a821baae58d -C extra-filename=-f7ac9a821baae58d --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/proc-macro2-f7ac9a821baae58d > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name build_script_build > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.150/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on -C metadata=a63b8825ed72220a -C > extra-filename=-a63b8825ed72220a --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/libc-a63b8825ed72220a > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name unicode_ident --edition=2018 > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-ident-1.0.12/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=1362b182bc48a165 -C > extra-filename=-1362b182bc48a165 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name build_script_build --edition=2018 > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/target-lexicon-0.12.12/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on --cfg 'feature="default"' -C metadata=1873db1a7ee6c572 > -C extra-filename=-1873db1a7ee6c572 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/target-lexicon-1873db1a7ee6c572 > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name pkg_config > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.27/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=3d2250814dcd1d72 -C > extra-filename=-3d2250814dcd1d72 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name build_script_build > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.150/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=d07bfb6e2e6cb865 -C extra-filename=-d07bfb6e2e6cb865 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/libc-d07bfb6e2e6cb865 > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name autocfg > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=0de283a865cf05de -C > extra-filename=-0de283a865cf05de --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > Running `rustc --crate-name vcpkg > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/vcpkg-0.2.15/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=4128c5710ab69439 -C > extra-filename=-4128c5710ab69439 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` > >> > > >> > error[E0463]: can't find crate for `profiler_builtins` > >> > > >> > | > >> > > >> > = note: the compiler may have been built without the profiler > runtime > >> > > >> > > >> > For more information about this error, try `rustc --explain E0463`. > >> > > >> > error: could not compile `unicode-ident` (lib) due to previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name > unicode_ident --edition=2018 > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-ident-1.0.12/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=1362b182bc48a165 -C > extra-filename=-1362b182bc48a165 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > warning: build failed, waiting for other jobs to finish... > >> > > >> > error: could not compile `proc-macro2` (build script) due to > previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name > build_script_build --edition=2021 > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.69/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' > -C metadata=f7ac9a821baae58d -C extra-filename=-f7ac9a821baae58d --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/proc-macro2-f7ac9a821baae58d > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: could not compile `libc` (build script) due to previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name > build_script_build > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.150/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on -C metadata=a63b8825ed72220a -C > extra-filename=-a63b8825ed72220a --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/libc-a63b8825ed72220a > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: could not compile `libc` (build script) due to previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name > build_script_build > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.150/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=d07bfb6e2e6cb865 -C extra-filename=-d07bfb6e2e6cb865 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/libc-d07bfb6e2e6cb865 > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: could not compile `autocfg` (lib) due to previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name autocfg > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=0de283a865cf05de -C > extra-filename=-0de283a865cf05de --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: could not compile `pkg-config` (lib) due to previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name pkg_config > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.27/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=3d2250814dcd1d72 -C > extra-filename=-3d2250814dcd1d72 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: could not compile `target-lexicon` (build script) due to > previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name > build_script_build --edition=2018 > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/target-lexicon-0.12.12/ > build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C > overflow-checks=on --cfg 'feature="default"' -C metadata=1873db1a7ee6c572 > -C extra-filename=-1873db1a7ee6c572 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/build/target-lexicon-1873db1a7ee6c572 > -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: could not compile `vcpkg` (lib) due to previous error > >> > > >> > > >> > Caused by: > >> > > >> > process didn't exit successfully: `rustc --crate-name vcpkg > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/vcpkg-0.2.15/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=4128c5710ab69439 -C > extra-filename=-4128c5710ab69439 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> > > >> > error: `cargo rustc --lib --message-format=json-render-diagnostics > --manifest-path src/rust/Cargo.toml --release -v --features > pyo3/extension-module --crate-type cdylib -- -C 'link-args=-undefined > dynamic_lookup -Wl,-install_name,@rpath/_rust.abi3.so'` failed with code > 101 > >> > > >> > error: subprocess-exited-with-error > >> > > >> > > >> > > >> > × Building wheel for cryptography (pyproject.toml) did not run > successfully. > >> > > >> > │ exit code: 1 > >> > > >> > ╰─> See above for output. > >> > > >> > > >> > > >> > note: This error originates from a subprocess, and is likely not a > problem with pip. > >> > > >> > full command: > /Users/jules/Documents/cryptography/.nox/tests/bin/python > /Users/jules/Documents/cryptography/.nox/tests/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py > build_wheel /var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/tmpxv55oh3f > >> > > >> > cwd: /Users/jules/Documents/cryptography > >> > > >> > Building wheel for cryptography (pyproject.toml) ... error > >> > > >> > ERROR: Failed building wheel for cryptography > >> > > >> > Failed to build cryptography > >> > > >> > ERROR: Could not build wheels for cryptography, which is required to > install pyproject.toml-based projects > >> > > >> > nox > Command python -m pip install -v -c > ci-constraints-requirements.txt '.[test]' failed with exit code 1 > >> > > >> > nox > Session tests failed. > >> > > >> > > >> > Le mar. 21 nov. 2023 à 13:14, Alex Gaynor <alex.gay...@gmail.com> a > écrit : > >> >> > >> >> Yes, please send the complete output of `nox -e tests`. > >> >> > >> >> Alex > >> >> > >> >> On Tue, Nov 21, 2023 at 5:42 AM Jules Marmier < > jules.marm...@gmail.com> wrote: > >> >> > > >> >> > Hi everyone! > >> >> > > >> >> > > >> >> > I'm trying to contribute to the cryptography project but I have > some trouble setting up the project. I try to follow the Getting started > page but the command nox -e tests -p py310 don’t succeed. > >> >> > > >> >> > > >> >> > Here are all the commands I run (I'm on a Mac M1) : > >> >> > > >> >> > > >> >> > git clone https://github.com/pyca/cryptography.git > >> >> > > >> >> > virtualenv cryptography > >> >> > > >> >> > source cryptography/bin/activate > >> >> > > >> >> > cd cryptography > >> >> > > >> >> > pip install nox > >> >> > > >> >> > nox -e tests -p py310 > >> >> > > >> >> > > >> >> > My first problem is that this last command does not work and gives > me this error message: > >> >> > > >> >> > nox > Python version selection caused no sessions to be selected. > >> >> > > >> >> > But I do have python 3.10 installed. > >> >> > > >> >> > > >> >> > Then I tried to run nox -e tests. This command works at first but > then I have an error message that I don’t understand (it’s at the end of > the message if you need it). I tried to run manually the command python -m > pip install -v -c ci-constraints-requirements.txt '.[test]' and it works. I > don’t understand why it works when I run it manually but not when the > script runs it. > >> >> > > >> >> > > >> >> > Thanks for your help, > >> >> > > >> >> > Jules > >> >> > > >> >> > > >> >> > > >> >> > This is I think the most interesting part of my error message (I > can send you more if needed) : > >> >> > > >> >> > > >> >> > Caused by: > >> >> > > >> >> > process didn't exit successfully: `rustc --crate-name vcpkg > /Users/jules/.cargo/registry/src/index.crates.io-6f17d22bba15001f/vcpkg-0.2.15/src/ > lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > -C overflow-checks=on -C metadata=4128c5710ab69439 -C > extra-filename=-4128c5710ab69439 --out-dir > /Users/jules/Documents/cryptography/src/rust/target/release/deps -L > dependency=/Users/jules/Documents/cryptography/src/rust/target/release/deps > --cap-lints allow -Cinstrument-coverage` (exit status: 1) > >> >> > > >> >> > > >> >> > error: `cargo rustc --lib --message-format=json-render-diagnostics > --manifest-path src/rust/Cargo.toml --release -v --features > pyo3/extension-module --crate-type cdylib -- -C 'link-args=-undefined > dynamic_lookup -Wl,-install_name,@rpath/_rust.abi3.so'` failed with code > 101 > >> >> > > >> >> > error: subprocess-exited-with-error > >> >> > > >> >> > > >> >> > > >> >> > × Building wheel for cryptography (pyproject.toml) did not run > successfully. > >> >> > > >> >> > │ exit code: 1 > >> >> > > >> >> > ╰─> See above for output. > >> >> > > >> >> > > >> >> > > >> >> > note: This error originates from a subprocess, and is likely not > a problem with pip. > >> >> > > >> >> > full command: > /Users/jules/Documents/cryptography/.nox/tests/bin/python > /Users/jules/Documents/cryptography/.nox/tests/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py > build_wheel /var/folders/kp/v9675p5n7tqcvd0472jm5b100000gn/T/tmpi2i1dq_5 > >> >> > > >> >> > cwd: /Users/jules/Documents/cryptography > >> >> > > >> >> > Building wheel for cryptography (pyproject.toml) ... error > >> >> > > >> >> > ERROR: Failed building wheel for cryptography > >> >> > > >> >> > Failed to build cryptography > >> >> > > >> >> > _______________________________________________ > >> >> > Cryptography-dev mailing list > >> >> > Cryptography-dev@python.org > >> >> > https://mail.python.org/mailman/listinfo/cryptography-dev > >> >> > >> >> > >> >> > >> >> -- > >> >> All that is necessary for evil to succeed is for good people to do > nothing. > >> >> _______________________________________________ > >> >> Cryptography-dev mailing list > >> >> Cryptography-dev@python.org > >> >> https://mail.python.org/mailman/listinfo/cryptography-dev > >> > > >> > _______________________________________________ > >> > Cryptography-dev mailing list > >> > Cryptography-dev@python.org > >> > https://mail.python.org/mailman/listinfo/cryptography-dev > >> > >> > >> > >> -- > >> All that is necessary for evil to succeed is for good people to do > nothing. > >> _______________________________________________ > >> Cryptography-dev mailing list > >> Cryptography-dev@python.org > >> https://mail.python.org/mailman/listinfo/cryptography-dev > > > > _______________________________________________ > > Cryptography-dev mailing list > > Cryptography-dev@python.org > > https://mail.python.org/mailman/listinfo/cryptography-dev > > > > -- > All that is necessary for evil to succeed is for good people to do nothing. > _______________________________________________ > Cryptography-dev mailing list > Cryptography-dev@python.org > https://mail.python.org/mailman/listinfo/cryptography-dev >
_______________________________________________ Cryptography-dev mailing list Cryptography-dev@python.org https://mail.python.org/mailman/listinfo/cryptography-dev