https://github.com/python/cpython/commit/df1669ed20803eb3472823d57622ced7a36c2972
commit: df1669ed20803eb3472823d57622ced7a36c2972
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: sobolevn <m...@sobolevn.me>
date: 2025-05-05T10:54:56Z
summary:

[3.13] Bump mypy to 1.15 (GH-133405) (#133429)

Bump mypy to 1.15 (GH-133405)
(cherry picked from commit 8467026ed66ca3abefe3a13860d2633eae3d7164)

Co-authored-by: sobolevn <m...@sobolevn.me>

files:
M Lib/_pyrepl/commands.py
M Lib/test/libregrtest/setup.py
M Tools/requirements-dev.txt

diff --git a/Lib/_pyrepl/commands.py b/Lib/_pyrepl/commands.py
index cbb6d85f683257..296211a4aadda5 100644
--- a/Lib/_pyrepl/commands.py
+++ b/Lib/_pyrepl/commands.py
@@ -437,7 +437,7 @@ def do(self) -> None:
         import _sitebuiltins
 
         with self.reader.suspend():
-            self.reader.msg = _sitebuiltins._Helper()()  # type: 
ignore[assignment, call-arg]
+            self.reader.msg = _sitebuiltins._Helper()()  # type: 
ignore[assignment]
 
 
 class invalid_key(Command):
diff --git a/Lib/test/libregrtest/setup.py b/Lib/test/libregrtest/setup.py
index ba57f06b4841d4..7277dcbc206276 100644
--- a/Lib/test/libregrtest/setup.py
+++ b/Lib/test/libregrtest/setup.py
@@ -42,7 +42,7 @@ def setup_process() -> None:
         faulthandler.enable(all_threads=True, file=stderr_fd)
 
         # Display the Python traceback on SIGALRM or SIGUSR1 signal
-        signals = []
+        signals: list[signal.Signals] = []
         if hasattr(signal, 'SIGALRM'):
             signals.append(signal.SIGALRM)
         if hasattr(signal, 'SIGUSR1'):
diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt
index b1d0e0235418fe..acbc7b7b71fba8 100644
--- a/Tools/requirements-dev.txt
+++ b/Tools/requirements-dev.txt
@@ -1,6 +1,6 @@
 # Requirements file for external linters and checks we run on
 # Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
-mypy==1.13
+mypy==1.15
 
 # needed for peg_generator:
 types-psutil==5.9.5.20240423

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to