diff mbox series

[PULL,11/16] python: allow mypy to run as the current python version

Message ID 20260902193551.582660-12-jsnow@redhat.com
State New
Headers show
Series [PULL,01/16] tests: update vm tests to prefer locally-built QEMU | expand

Commit Message

John Snow Sept. 2, 2026, 7:35 p.m. UTC
Currently, we instruct mypy to run assuming a specific version of
python. Lift this restriction so that under tox tests, it will always
run assuming the current running version.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Message-ID: <20260825215851.1780608-12-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
---
 python/setup.cfg | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/python/setup.cfg b/python/setup.cfg
index a22abba6c36..f866f659574 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -64,7 +64,6 @@  exclude = __pycache__,
 
 [mypy]
 strict = True
-python_version = 3.12
 namespace_packages = True
 warn_unused_ignores = False