]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
build(deps-dev): bump mypy from 1.10.1 to 1.11.1 in /Tools (#122550)
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Mon, 5 Aug 2024 09:03:14 +0000 (09:03 +0000)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2024 09:03:14 +0000 (09:03 +0000)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
Tools/clinic/libclinic/converter.py
Tools/requirements-dev.txt

index 86853bb4fba25327b6783bc7e84cb5a696f09d57..2abf06dc4e89a2e39e2dbff2e6e8ada524f42670 100644 (file)
@@ -545,7 +545,9 @@ def add_legacy_c_converter(
         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
index de8496a17b85efb290c9b6c5d12f63d61b3edd85..cbf4072b5000612367c7ba24a3e6257502731dc9 100644 (file)
@@ -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