From: Colin Watson <cjwatson@debian.org>
Date: Sun, 30 Nov 2025 13:01:28 +0000
Subject: Target Python 3.10 when running tests

mypy 1.17.0 dropped support for targeting Python 3.8, causing
https://bugs.debian.org/1114284.  pytest 9.0.0 then began requiring
Python 3.10, causing https://bugs.debian.org/1123434.

Origin: backport, https://github.com/davidfritzsche/pytest-mypy-testing/pull/59
Bug-Debian: https://bugs.debian.org/1114284
Bug-Debian: https://bugs.debian.org/1123434
Last-Update: 2026-01-26
---
 mypy.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mypy.ini b/mypy.ini
index 0ddd5a5..97f10a6 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: CC0-1.0
 [mypy]
 
-python_version = 3.8
+python_version = 3.10
 
 mypy_path = src
 
