Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2575

Test failure - PyPy cryptography install fails with: error: Can not find Rust compiler

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      cryptography now requires rust >=1.45 in order to build. Since there are no pypy wheels, pypy installs always build cryptography and thus need a rust compiler.

       [2021/02/09 20:35:21.773] Running command 'shell.exec' in "run tests" (step 2.2 of 2)
       [2021/02/09 20:35:34.087] virtualenv 20.0.33 from /opt/python/pypy3.6/site-packages/virtualenv/__init__.py
       [2021/02/09 20:35:36.857] created virtual environment PyPy3.6.9.final.0-64 in 2475ms
       [2021/02/09 20:35:36.857]   creator PyPy3Posix(dest=/data/mci/adf43787e48de9433f34b7161046d6e2/src/pyopenssltest, clear=False, global=False)
       [2021/02/09 20:35:36.857]   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/admin/.local/share/virtualenv)
       [2021/02/09 20:35:36.857]     added seed packages: pip==20.2.3, setuptools==50.3.0, wheel==0.35.1
       [2021/02/09 20:35:36.857]   activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
       [2021/02/09 20:35:40.751] Collecting pip
       [2021/02/09 20:35:40.751]   Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
       [2021/02/09 20:35:40.751] Installing collected packages: pip
       [2021/02/09 20:35:41.272]   Attempting uninstall: pip
       [2021/02/09 20:35:41.273]     Found existing installation: pip 20.2.3
       [2021/02/09 20:35:41.273]     Uninstalling pip-20.2.3:
       [2021/02/09 20:35:44.975]       Successfully uninstalled pip-20.2.3
       [2021/02/09 20:35:44.975] Successfully installed pip-21.0.1
       [2021/02/09 20:35:44.975] Requirement already satisfied: setuptools in ./pyopenssltest/site-packages (50.3.0)
       [2021/02/09 20:35:46.837] Collecting setuptools
       [2021/02/09 20:35:46.837]   Using cached setuptools-53.0.0-py3-none-any.whl (784 kB)
       [2021/02/09 20:35:47.111] Requirement already satisfied: wheel in ./pyopenssltest/site-packages (0.35.1)
       [2021/02/09 20:35:47.111] Collecting wheel
       [2021/02/09 20:35:47.483]   Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
       [2021/02/09 20:35:47.483] Installing collected packages: wheel, setuptools
       [2021/02/09 20:35:47.522]   Attempting uninstall: wheel
       [2021/02/09 20:35:47.522]     Found existing installation: wheel 0.35.1
       [2021/02/09 20:35:47.522]     Uninstalling wheel-0.35.1:
       [2021/02/09 20:35:47.616]       Successfully uninstalled wheel-0.35.1
       [2021/02/09 20:35:47.644]   Attempting uninstall: setuptools
       [2021/02/09 20:35:47.644]     Found existing installation: setuptools 50.3.0
       [2021/02/09 20:35:47.802]     Uninstalling setuptools-50.3.0:
       [2021/02/09 20:35:47.802]       Successfully uninstalled setuptools-50.3.0
       [2021/02/09 20:35:49.754] Successfully installed setuptools-53.0.0 wheel-0.36.2
       [2021/02/09 20:35:49.754] Collecting pyopenssl
       [2021/02/09 20:35:49.754]   Downloading pyOpenSSL-20.0.1-py2.py3-none-any.whl (54 kB)
       [2021/02/09 20:35:50.186] Collecting requests
       [2021/02/09 20:35:50.186]   Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
       [2021/02/09 20:35:50.186] Collecting service_identity
       [2021/02/09 20:35:51.308]   Downloading service_identity-18.1.0-py2.py3-none-any.whl (11 kB)
       [2021/02/09 20:35:51.308] Collecting cryptography>=3.2
       [2021/02/09 20:35:51.705]   Downloading cryptography-3.4.3.tar.gz (545 kB)
       [2021/02/09 20:35:51.705]   Installing build dependencies: started
       [2021/02/09 20:35:55.720]   Installing build dependencies: finished with status 'done'
       [2021/02/09 20:35:55.720]   Getting requirements to build wheel: started
       [2021/02/09 20:35:56.291]   Getting requirements to build wheel: finished with status 'done'
       [2021/02/09 20:35:56.291]   Installing backend dependencies: started
       [2021/02/09 20:36:00.694]   Installing backend dependencies: finished with status 'done'
       [2021/02/09 20:36:00.694]     Preparing wheel metadata: started
       [2021/02/09 20:36:03.276]     Preparing wheel metadata: finished with status 'done'
       [2021/02/09 20:36:03.276] Collecting six>=1.5.2
       [2021/02/09 20:36:03.276]   Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
       [2021/02/09 20:36:03.391] Requirement already satisfied: cffi>=1.12 in /opt/python/pypy3.6/lib_pypy (from cryptography>=3.2->pyopenssl) (1.14.2)
       [2021/02/09 20:36:03.498] Collecting chardet<5,>=3.0.2
       [2021/02/09 20:36:03.498]   Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
       [2021/02/09 20:36:03.787] Collecting idna<3,>=2.5
       [2021/02/09 20:36:03.787]   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
       [2021/02/09 20:36:03.787] Collecting urllib3<1.27,>=1.21.1
       [2021/02/09 20:36:03.868]   Using cached urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
       [2021/02/09 20:36:03.868] Collecting certifi>=2017.4.17
       [2021/02/09 20:36:04.125]   Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
       [2021/02/09 20:36:04.125] Collecting attrs>=16.0.0
       [2021/02/09 20:36:04.221]   Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
       [2021/02/09 20:36:04.221] Collecting pyasn1-modules
       [2021/02/09 20:36:04.375]   Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
       [2021/02/09 20:36:04.375] Collecting pyasn1
       [2021/02/09 20:36:04.514]   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
       [2021/02/09 20:36:04.514] Building wheels for collected packages: cryptography
       [2021/02/09 20:36:06.428]   Building wheel for cryptography (PEP 517): started
       [2021/02/09 20:36:06.428]   Building wheel for cryptography (PEP 517): finished with status 'error'
       [2021/02/09 20:36:06.429]   ERROR: Command errored out with exit status 1:
       [2021/02/09 20:36:06.429]    command: /data/mci/adf43787e48de9433f34b7161046d6e2/src/pyopenssltest/bin/python /data/mci/adf43787e48de9433f34b7161046d6e2/src/pyopenssltest/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /data/mci/adf43787e48de9433f34b7161046d6e2/drivers-tools/.evergreen/orchestration/db/tmpjz677f_o
       [2021/02/09 20:36:06.429]        cwd: /data/mci/adf43787e48de9433f34b7161046d6e2/drivers-tools/.evergreen/orchestration/db/pip-install-se_ou4mu/cryptography_0588500bacb84c64bb5c1279039f2c05
       [2021/02/09 20:36:06.429]   Complete output (145 lines):
       [2021/02/09 20:36:06.429]   running bdist_wheel
       [2021/02/09 20:36:06.429]   running build
       [2021/02/09 20:36:06.429]   running build_py
       [2021/02/09 20:36:06.429]   creating build
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography
       [2021/02/09 20:36:06.429]   copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.6/cryptography
       [2021/02/09 20:36:06.429]   copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.6/cryptography
       [2021/02/09 20:36:06.429]   copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.6/cryptography
       [2021/02/09 20:36:06.429]   copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.6/cryptography
       [2021/02/09 20:36:06.429]   copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.6/cryptography
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.6/cryptography/x509
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/backends
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
       [2021/02/09 20:36:06.429]   creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
       [2021/02/09 20:36:06.429]   copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
       [2021/02/09 20:36:06.429]   running egg_info
       [2021/02/09 20:36:06.429]   writing src/cryptography.egg-info/PKG-INFO
       [2021/02/09 20:36:06.429]   writing dependency_links to src/cryptography.egg-info/dependency_links.txt
       [2021/02/09 20:36:06.429]   writing requirements to src/cryptography.egg-info/requires.txt
       [2021/02/09 20:36:06.429]   writing top-level names to src/cryptography.egg-info/top_level.txt
       [2021/02/09 20:36:06.429]   reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
       [2021/02/09 20:36:06.429]   reading manifest template 'MANIFEST.in'
       [2021/02/09 20:36:06.429]   no previously-included directories found matching 'docs/_build'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching 'vectors'
       [2021/02/09 20:36:06.429]   warning: no previously-included files matching '*' found under directory 'vectors'
       [2021/02/09 20:36:06.429]   warning: no previously-included files matching '*' found under directory '.github'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching 'release.py'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching '.coveragerc'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching 'codecov.yml'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching '.readthedocs.yml'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching 'dev-requirements.txt'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching 'tox.ini'
       [2021/02/09 20:36:06.429]   warning: no previously-included files found matching 'mypy.ini'
       [2021/02/09 20:36:06.429]   warning: no previously-included files matching '*' found under directory '.zuul.d'
       [2021/02/09 20:36:06.429]   warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
       [2021/02/09 20:36:06.429]   writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
       [2021/02/09 20:36:06.429]   running build_ext
       [2021/02/09 20:36:06.429]   running build_rust
       [2021/02/09 20:36:06.429]   error: Can not find Rust compiler
       [2021/02/09 20:36:06.429]       =============================DEBUG ASSISTANCE=============================
       [2021/02/09 20:36:06.429]       If you are seeing a compilation error please try the following steps to
       [2021/02/09 20:36:06.429]       successfully install cryptography:
       [2021/02/09 20:36:06.429]       1) Upgrade to the latest pip and try again. This will fix errors for most
       [2021/02/09 20:36:06.429]          users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
       [2021/02/09 20:36:06.429]       2) Read https://cryptography.io/en/latest/installation.html for specific
       [2021/02/09 20:36:06.429]          instructions for your platform.
       [2021/02/09 20:36:06.429]       3) Check our frequently asked questions for more information:
       [2021/02/09 20:36:06.429]          https://cryptography.io/en/latest/faq.html
       [2021/02/09 20:36:06.429]       4) Ensure you have a recent Rust toolchain installed:
       [2021/02/09 20:36:06.429]          https://cryptography.io/en/latest/installation.html#rust
       [2021/02/09 20:36:06.429]       5) If you are experiencing issues with Rust for *this release only* you may
       [2021/02/09 20:36:06.429]          set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
       [2021/02/09 20:36:06.429]       =============================DEBUG ASSISTANCE=============================
       [2021/02/09 20:36:06.429]   ----------------------------------------
       [2021/02/09 20:36:06.430]   ERROR: Failed building wheel for cryptography
       [2021/02/09 20:36:06.430] ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
       [2021/02/09 20:36:06.547] Failed to build cryptography
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_pyopenssl_pypy__platform~debian92_auth~auth_ssl~ssl_python_version~pypy3.6_pyopenssl~enabled_test_3.6_replica_set_913860334ecdf0160514b9c2723fac3024391f3e_21_02_04_00_33_36

      Note that so far I believe we onyl test pypy+cryptography on Debian 9.2. We use cryptography for:

      • CSFLE
      • OCSP
      • pyopenssl

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: