1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Michael R. Crusoe <crusoe@debian.org>
Description: Debian uses Python 3.13+ including a newer pytest version
Forwarded: not-needed
So bump this version to avoid:
/usr/lib/python3/dist-packages/_pytest/terminal.py:1729: error: Pattern matching is only supported in Python 3.10 and greater [syntax]
self._tr.write_raw(sequence, flush=True)
^
--- mypy.orig/mypy_self_check.ini
+++ mypy/mypy_self_check.ini
@@ -7,7 +7,7 @@
pretty = True
always_false = MYPYC
plugins = mypy.plugins.proper_plugin
-python_version = 3.9
+python_version = 3.10
exclude = mypy/typeshed/|mypyc/test-data/
enable_error_code = ignore-without-code,redundant-expr
enable_incomplete_feature = PreciseTupleTypes
|