https://github.com/python/cpython/commit/e167e06f8c6b24f7b54e8d6b87c1cac1667dd2cf
commit: e167e06f8c6b24f7b54e8d6b87c1cac1667dd2cf
branch: main
author: Brian Schubert <[email protected]>
committer: sobolevn <[email protected]>
date: 2026-03-15T12:48:56+03:00
summary:
Bump mypy to 1.19.1 (#145956)
files:
M Lib/test/libregrtest/utils.py
M Tools/clinic/libclinic/clanguage.py
M Tools/requirements-dev.txt
diff --git a/Lib/test/libregrtest/utils.py b/Lib/test/libregrtest/utils.py
index 3bbc3fa127abb3..7cc9d0bf262af1 100644
--- a/Lib/test/libregrtest/utils.py
+++ b/Lib/test/libregrtest/utils.py
@@ -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:
diff --git a/Tools/clinic/libclinic/clanguage.py
b/Tools/clinic/libclinic/clanguage.py
index 9e7fa7a7f58f95..341667d2f0bff9 100644
--- a/Tools/clinic/libclinic/clanguage.py
+++ b/Tools/clinic/libclinic/clanguage.py
@@ -6,7 +6,7 @@
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
diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt
index 73236767374378..af5cbaa7689f33 100644
--- a/Tools/requirements-dev.txt
+++ b/Tools/requirements-dev.txt
@@ -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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]