]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Bump mypy to 1.19.1 (GH-145956) (#145972)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 15 Mar 2026 10:11:29 +0000 (11:11 +0100)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 10:11:29 +0000 (10:11 +0000)
Bump mypy to 1.19.1 (GH-145956)
(cherry picked from commit e167e06f8c6b24f7b54e8d6b87c1cac1667dd2cf)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Lib/test/libregrtest/utils.py
Tools/clinic/libclinic/clanguage.py
Tools/requirements-dev.txt

index 4d7e2840c3259693f68c9425861d6c448015d5e3..f12cec944fd3bf6d9b13b7485e28feb3975a7d14 100644 (file)
@@ -151,7 +151,7 @@ def setup_unraisable_hook() -> None:
     sys.unraisablehook = regrtest_unraisable_hook
 
 
-orig_threading_excepthook: Callable[..., None] | None = None
+orig_threading_excepthook: Callable[..., object] | None = None
 
 
 def regrtest_threading_excepthook(args) -> None:
index 73d47833d972942b790dac5b673c90c57ffcf6d0..fa52d18289c8becef9ea58502bf5c805789b6670 100644 (file)
@@ -6,7 +6,7 @@ from typing import TYPE_CHECKING, Literal, Final
 from operator import attrgetter
 from collections.abc import Iterable
 
-import libclinic
+import libclinic.cpp
 from libclinic import (
     unspecified, fail, Sentinels, VersionTuple)
 from libclinic.codegen import CRenderData, TemplateDict, CodeGen
index 73236767374378536c0cfee3b32fb04512b0e4ea..af5cbaa7689f33d7aaed423466ca6c7f4ec9b2af 100644 (file)
@@ -1,7 +1,7 @@
 # Requirements file for external linters and checks we run on
 # Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
-mypy==1.17.1
+mypy==1.19.1
 
 # needed for peg_generator:
-types-psutil==7.0.0.20250801
-types-setuptools==80.9.0.20250801
+types-psutil==7.2.2.20260130
+types-setuptools==82.0.0.20260210