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
|
|
|
|
|
|
|
|
# Use the earliest version of mypy that works with our code base.
|
2022-03-31 13:07:01 +00:00
|
|
|
# See https://github.com/Mbed-TLS/mbedtls/pull/3953 .
|
2021-11-17 18:13:34 +00:00
|
|
|
mypy >= 0.780
|
2023-04-25 06:55:38 +00:00
|
|
|
|
|
|
|
# Install cryptography to avoid import-error reported by pylint.
|
|
|
|
# What we really need is cryptography >= 35.0.0, which is only
|
|
|
|
# available for Python >= 3.6.
|
2023-05-09 02:15:58 +00:00
|
|
|
cryptography >= 35.0.0; sys_platform == 'linux' and python_version >= '3.6'
|
|
|
|
cryptography; sys_platform == 'linux' and python_version < '3.6'
|