aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <[email protected]>2025-05-20 13:40:24 +0200
committerChristian Tismer <[email protected]>2025-05-20 14:55:34 +0200
commitb140341b44fe5f8faf2d8dec8c57cef7ef16cc02 (patch)
treefaa848f6b9a6f80e194f165d0f1071721ebfdc85
parent929f7c26053cbe26d620a6032eeb9038c0162453 (diff)
type hints: Bump mypy version and support disable-gil
There has been extra speedup tried using special compilation options. These do not work with disable-gil because at the moment disable-gil prevents compilation of mypy. It is not possible to specify disable-gil in requirements.txt as a condition. Because version 1.15 is reasonably faster, it is better to remove the mypy[faster-cache] option. Change-Id: I4f846d8ce91d6804d0834d9a1ad819278833644c Task-nunber: PYSIDE-2221 Task-number: PYSIDE-2846 Pick-to: 6.9 Reviewed-by: Friedemann Kleint <[email protected]>
-rw-r--r--requirements.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt
index 534c29e03..ad4c91813 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,6 +8,4 @@ patchelf==0.17.2; sys_platform == 'linux'
# 2.0.2 is the last version that supports Python 3.9
numpy<=2.0.2; python_version <= '3.9'
numpy==2.1.3; python_version > '3.9'
-mypy>=1.14.0; platform_machine == 'ARM64' and sys_platform == 'win32'
-mypy[faster-cache]>=1.14.0; platform_machine != 'ARM64' and sys_platform == 'win32'
-mypy[faster-cache]>=1.14.0; sys_platform != 'win32'
+mypy>=1.15.0 # note: 3.13 with disable-gil is not compiled yet