1*62c56f98SSadaf Ebrahimi# Python package requirements for Mbed TLS testing. 2*62c56f98SSadaf Ebrahimi 3*62c56f98SSadaf Ebrahimi-r driver.requirements.txt 4*62c56f98SSadaf Ebrahimi 5*62c56f98SSadaf Ebrahimi# Use a known version of Pylint, because new versions tend to add warnings 6*62c56f98SSadaf Ebrahimi# that could start rejecting our code. 7*62c56f98SSadaf Ebrahimi# 2.4.4 is the version in Ubuntu 20.04. It supports Python >=3.5. 8*62c56f98SSadaf Ebrahimipylint == 2.4.4 9*62c56f98SSadaf Ebrahimi 10*62c56f98SSadaf Ebrahimi# Use the earliest version of mypy that works with our code base. 11*62c56f98SSadaf Ebrahimi# See https://github.com/Mbed-TLS/mbedtls/pull/3953 . 12*62c56f98SSadaf Ebrahimimypy >= 0.780 13*62c56f98SSadaf Ebrahimi 14*62c56f98SSadaf Ebrahimi# At the time of writing, only needed for tests/scripts/audit-validity-dates.py. 15*62c56f98SSadaf Ebrahimi# It needs >=35.0.0 for correct operation, and that requires Python >=3.6, 16*62c56f98SSadaf Ebrahimi# but our CI has Python 3.5. So let pip install the newest version that's 17*62c56f98SSadaf Ebrahimi# compatible with the running Python: this way we get something good enough 18*62c56f98SSadaf Ebrahimi# for mypy and pylint under Python 3.5, and we also get something good enough 19*62c56f98SSadaf Ebrahimi# to run audit-validity-dates.py on Python >=3.6. 20*62c56f98SSadaf Ebrahimicryptography # >= 35.0.0 21