2021-11-17 18:13:34 +00:00
|
|
|
# Python package requirements for Mbed TLS testing.
|
|
|
|
|
2021-11-17 18:17:03 +00:00
|
|
|
-r driver.requirements.txt
|
|
|
|
|
2021-11-17 18:13:34 +00:00
|
|
|
# Use a known version of Pylint, because new versions tend to add warnings
|
|
|
|
# that could start rejecting our code.
|
|
|
|
# 2.4.4 is the version in Ubuntu 20.04. It supports Python >=3.5.
|
|
|
|
pylint == 2.4.4
|
|
|
|
|
2024-09-23 17:16:47 +00:00
|
|
|
# Use a version of mypy that is compatible with our code base.
|
|
|
|
# mypy <0.940 is known not to work: see commit
|
|
|
|
# :/Upgrade mypy to the last version supporting Python 3.6
|
|
|
|
# mypy >=0.960 is known not to work:
|
|
|
|
# https://github.com/Mbed-TLS/mbedtls-framework/issues/50
|
|
|
|
# mypy 0.942 is the version in Ubuntu 22.04.
|
|
|
|
mypy == 0.942
|
2023-04-25 06:55:38 +00:00
|
|
|
|
2023-08-22 15:27:00 +00:00
|
|
|
# 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,
|
|
|
|
# but our CI has Python 3.5. So let pip install the newest version that's
|
|
|
|
# compatible with the running Python: this way we get something good enough
|
|
|
|
# for mypy and pylint under Python 3.5, and we also get something good enough
|
|
|
|
# to run audit-validity-dates.py on Python >=3.6.
|
2023-06-16 15:05:22 +00:00
|
|
|
cryptography # >= 35.0.0
|
2023-10-24 07:42:30 +00:00
|
|
|
|
2024-06-11 16:44:00 +00:00
|
|
|
# For building `framework/data_files/server9-bad-saltlen.crt` and check python
|
2023-10-24 07:42:30 +00:00
|
|
|
# files.
|
|
|
|
asn1crypto
|