2021-11-17 19:13:34 +01:00
|
|
|
# Python package requirements for Mbed TLS testing.
|
|
|
|
|
|
2021-11-17 19:17:03 +01:00
|
|
|
-r driver.requirements.txt
|
2026-02-26 19:35:56 +01:00
|
|
|
-r ../framework/scripts/ci.requirements.txt
|
2021-11-17 19:17:03 +01:00
|
|
|
|
2025-07-16 14:18:12 +02:00
|
|
|
# The dependencies below are only used in scripts that we run on the Linux CI.
|
|
|
|
|
|
2021-11-17 19:13:34 +01: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.
|
2025-07-16 14:18:12 +02:00
|
|
|
pylint == 2.4.4; platform_system == 'Linux'
|
2021-11-17 19:13:34 +01:00
|
|
|
|
2024-09-23 19:16:47 +02:00
|
|
|
# Use a version of mypy that is compatible with our code base.
|
|
|
|
|
# mypy <0.940 is known not to work: see commit
|
|
|
|
|
# :/Upgrade mypy to the last version supporting Python 3.6
|
|
|
|
|
# mypy >=0.960 is known not to work:
|
|
|
|
|
# https://github.com/Mbed-TLS/mbedtls-framework/issues/50
|
|
|
|
|
# mypy 0.942 is the version in Ubuntu 22.04.
|
2025-07-16 14:18:12 +02:00
|
|
|
mypy == 0.942; platform_system == 'Linux'
|