1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-05 19:35:48 +03:00

Don't install cryptography on the FreeBSD CI

Recent versions of cryptography require a Rust toolchain to install on
FreeBSD, which we do not have set up yet.

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti
2025-07-16 13:33:17 +02:00
parent 4561164e7c
commit 9dda0ca195

View File

@@ -17,7 +17,10 @@ mypy == 0.942
# At the time of writing, only needed for tests/scripts/audit-validity-dates.py.
# It needs >=35.0.0 for correct operation, and that requires Python >=3.6.
cryptography >= 35.0.0
# >=35.0.0 also requires Rust to build from source, which we are forced to do on
# FreeBSD, since PyPI doesn't carry binary wheels for the BSDs.
# Disable on FreeBSD until we get a Rust toolchain up and running on the CI.
cryptography >= 35.0.0; platform_system != 'FreeBSD'
# For building `framework/data_files/server9-bad-saltlen.crt` and check python
# files.