mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 00:17:49 +00:00
eb2c39ed2b
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
19 lines
724 B
Plaintext
19 lines
724 B
Plaintext
# Python package requirements for Mbed TLS testing.
|
|
|
|
-r driver.requirements.txt
|
|
|
|
# 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.
|
|
# See https://github.com/Mbed-TLS/mbedtls/pull/3953 .
|
|
mypy >= 0.780
|
|
|
|
# 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.
|
|
cryptography >= 35.0.0; sys_platform == 'linux' and python_version >= '3.6'
|
|
cryptography; sys_platform == 'linux' and python_version < '3.6'
|