blob: 1ef8abd58a0afc390e2372f40a173d41034de4b4 [file] [log] [blame]
Gilles Peskine9c82cd92021-11-17 19:13:34 +01001# Python package requirements for Mbed TLS testing.
2
Gilles Peskine87485a32021-11-17 19:17:03 +01003-r driver.requirements.txt
4
Gilles Peskine9c82cd92021-11-17 19:13:34 +01005# Use a known version of Pylint, because new versions tend to add warnings
6# that could start rejecting our code.
7# 2.4.4 is the version in Ubuntu 20.04. It supports Python >=3.5.
8pylint == 2.4.4
9
Gilles Peskine1c5a2522024-09-23 18:03:10 +020010# Use the last version of mypy that is compatible with Python 3.6.
11# Newer versions should be ok too.
12mypy >= 0.971
Pengyu Lv13815982023-04-25 14:55:38 +080013
Gilles Peskine7990a322023-08-22 17:27:00 +020014# At the time of writing, only needed for tests/scripts/audit-validity-dates.py.
15# It needs >=35.0.0 for correct operation, and that requires Python >=3.6,
16# but our CI has Python 3.5. So let pip install the newest version that's
17# compatible with the running Python: this way we get something good enough
18# for mypy and pylint under Python 3.5, and we also get something good enough
19# to run audit-validity-dates.py on Python >=3.6.
Gilles Peskinedc232362023-06-16 17:05:22 +020020cryptography # >= 35.0.0
Jerry Yu974be512023-10-24 15:42:30 +080021
David Horstmanndcf18dd2024-06-11 17:44:00 +010022# For building `framework/data_files/server9-bad-saltlen.crt` and check python
Jerry Yu974be512023-10-24 15:42:30 +080023# files.
24asn1crypto