python: temporarily restrict max mypy version
The newest versions of mypy do not support targeting Python 3.9, which we still support. I want to address that soon, but in the meantime it's nice if the tests pass. Signed-off-by: John Snow <jsnow@redhat.com> Message-ID: <20260611042332.482979-2-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
John Snow committed
Jun 11, 2026 at 00:23 UTC
ad07a976a81d71adcdbcde2559d4f897d479c466
1 file changed
+2
-1
python/setup.cfg
+2
-1
@@ -40,7 +40,8 @@ devel =
40
flake8 >= 5.0.4
41
fusepy >= 2.0.4
42
isort >= 5.6.0
43
- mypy >= 1.4.0
43
+ # Max ver is temporary until we drop 3.9
44
+ mypy >= 1.4.0, <2.0.0
45
pylint >= 2.17.3
46
pylint != 3.2.4; python_version<"3.9"
47
pytest >= 6.0.2