https://github.com/python/cpython/commit/348cf6e0078eae156c503e8f61ef5e27ae28e57b
commit: 348cf6e0078eae156c503e8f61ef5e27ae28e57b
branch: main
author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
committer: AlexWaygood <[email protected]>
date: 2024-04-01T11:14:37Z
summary:

Bump mypy from 1.8.0 to 1.9.0 in /Tools (#117418)

Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <[email protected]>

files:
M Lib/test/libregrtest/main.py
M Tools/requirements-dev.txt

diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
index 70f723a92eb44a..3c9d9620053355 100644
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -349,9 +349,7 @@ def run_test(
             namespace = dict(locals())
             tracer.runctx(cmd, globals=globals(), locals=namespace)
             result = namespace['result']
-            # Mypy doesn't know about this attribute yet,
-            # but it will do soon: 
https://github.com/python/typeshed/pull/11091
-            result.covered_lines = list(tracer.counts)  # type: 
ignore[attr-defined]
+            result.covered_lines = list(tracer.counts)
         else:
             result = run_single_test(test_name, runtests)
 
diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt
index fffd2246021547..61e75cf396ccb4 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.8.0
+mypy==1.9.0
 
 # needed for peg_generator:
 types-psutil==5.9.5.20240316

_______________________________________________
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]

Reply via email to