]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bump mypy to 1.19.1 (#145956)
authorBrian Schubert <brianm.schubert@gmail.com>
Sun, 15 Mar 2026 09:48:56 +0000 (05:48 -0400)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 09:48:56 +0000 (12:48 +0300)
Lib/test/libregrtest/utils.py
Tools/clinic/libclinic/clanguage.py
Tools/requirements-dev.txt

index 3bbc3fa127abb3340199b68bd618a3de1c89b0da..7cc9d0bf262af1c4e71f8613436fc54ec769564d 100644 (file)
@@ -150,7 +150,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 9e7fa7a7f58f956709e2653cad69f089828b9ae6..341667d2f0bff9e4f98a806f3cce6da06a3be97b 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