https://github.com/python/cpython/commit/5207adf228547273b0e8d0253c23c69b95d7fe11
commit: 5207adf228547273b0e8d0253c23c69b95d7fe11
branch: main
author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
committer: AlexWaygood <[email protected]>
date: 2024-08-05T09:03:14Z
summary:

build(deps-dev): bump mypy from 1.10.1 to 1.11.1 in /Tools (#122550)

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

files:
M Tools/clinic/libclinic/converter.py
M Tools/requirements-dev.txt

diff --git a/Tools/clinic/libclinic/converter.py 
b/Tools/clinic/libclinic/converter.py
index 86853bb4fba253..2abf06dc4e89a2 100644
--- a/Tools/clinic/libclinic/converter.py
+++ b/Tools/clinic/libclinic/converter.py
@@ -545,7 +545,9 @@ def closure(f: CConverterClassT) -> CConverterClassT:
         if not kwargs:
             added_f = f
         else:
-            added_f = functools.partial(f, **kwargs)
+            # type ignore due to a mypy regression :(
+            # https://github.com/python/mypy/issues/17646
+            added_f = functools.partial(f, **kwargs)  # type: ignore[misc]
         if format_unit:
             legacy_converters[format_unit] = added_f
         return f
diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt
index de8496a17b85ef..cbf4072b500061 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.10.1
+mypy==1.11.1
 
 # needed for peg_generator:
 types-psutil==6.0.0.20240621

_______________________________________________
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