summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22de3f0b8..ff7bfd2d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,10 +83,13 @@ python3-checks:
# AFAICT these python packages do not have debian packages.
#
# (`black` does have a debian package, but we need the latest version.)
+ #
+ # (NOTE: We have specific versions of some tools pinned here to avoid
+ # breakage; we should update them periodically.)
- |
python3 -m venv lint
source lint/bin/activate
- pip3 install marko tomli_w types-toml types-PyYAML types-beautifulsoup4 types-requests black flake8 mypy
+ pip3 install marko tomli_w types-toml types-PyYAML types-beautifulsoup4 types-requests black==24.4.2 flake8==6.1.0 mypy==1.14.0
./maint/python-lints
maint-checks: