]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Bump mypy to 1.19.1 (GH-145956) (#145971)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 15 Mar 2026 10:16:05 +0000 (11:16 +0100)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 10:16:05 +0000 (10:16 +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 2be6a1de8b984e8d03d3723597d8da11a13b6e36..58164d8a7983d59e6316b8c92743f8b555da5512 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