Details
-
Task
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
None
Description
The python binding tests fail on RHEL 6.2:
https://evergreen.mongodb.com/task/libmongocrypt_rhel_62_64_bit_test_python_c8e77c5cfe0bd858bcdddcbc00ffdd39c9acf3a5_20_04_14_18_38_33
The problem is that the latest cryptography release (2.9) dropped support for Python 3.4.
This shouldn’t cause our tests to fail though. Pip should simply install the latest release that does support Python 3.4. I suspect the problem is either that:
- the Python 3.4 toolchain has an outdated version of pip (or setuptools?) which tries to install cryptography 2.9 even though it’s not supported
- We’re relying on `/opt/python/3.4/bin/python3 setup.py test` to install the dependencies which does not use pip.
The fix is to install the test dependencies in a virtualenv or maybe to upgrade pip/setuptools.
Note that cryptography 2.9 also drops support for OpenSSL 1.0.1 and LibreSSL 2.6.x:
BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.0.1 has been removed. Users on older version of OpenSSL will need to upgrade.
|
BACKWARDS INCOMPATIBLE: Support for LibreSSL 2.6.x has been removed.
|
This should also be fine for users because cryptogrpahy bundles its own version of OpenSSL with its release wheels: "Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL 1.1.1f."