1# Python package requirements for Mbed TLS testing.
2
3-r driver.requirements.txt
4
5# 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
10# Use the earliest version of mypy that works with our code base.
11# See https://github.com/Mbed-TLS/mbedtls/pull/3953 .
12mypy >= 0.780
13
14# 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.
20cryptography # >= 35.0.0
21