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>
---
python/setup.cfg | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/python/setup.cfg b/python/setup.cfg
index 80975933971..ad4121a58d8 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -40,7 +40,8 @@ devel =
flake8 >= 5.0.4
fusepy >= 2.0.4
isort >= 5.6.0
- mypy >= 1.4.0
+ # Max ver is temporary until we drop 3.9
+ mypy >= 1.4.0, <2.0.0
pylint >= 2.17.3
pylint != 3.2.4; python_version<"3.9"
pytest >= 6.0.2
--
2.54.0