Skip to content

Commit 9c82cd9

Browse files
Declare which Python packages we use
Add pip requirements files. We'll have separate requirements files for different target audiences. Each file can use `-r` lines to include other files. This commit adds two requirement files: one with everything that's needed to pass the CI, and one with additional tools that are suggested for Mbed TLS maintainers to install locally. Signed-off-by: Gilles Peskine <[email protected]>
1 parent b78618e commit 9c82cd9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

scripts/ci.requirements.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Python package requirements for Mbed TLS testing.
2+
3+
# Use a known version of Pylint, because new versions tend to add warnings
4+
# that could start rejecting our code.
5+
# 2.4.4 is the version in Ubuntu 20.04. It supports Python >=3.5.
6+
pylint == 2.4.4
7+
8+
# Use the earliest version of mypy that works with our code base.
9+
# See https://github.com/ARMmbed/mbedtls/pull/3953 .
10+
mypy >= 0.780

scripts/maintainer.requirements.txt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Python packages that are only useful to Mbed TLS maintainers.
2+
3+
-r ci.requirements.txt
4+
5+
# For source code analyses
6+
clang

0 commit comments

Comments
 (0)