Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mypy for openSUSE:Factory checked in at 2026-07-10 17:33:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mypy (Old) and /work/SRC/openSUSE:Factory/.python-mypy.new.1991 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mypy" Fri Jul 10 17:33:03 2026 rev:25 rq:1364645 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes 2026-05-27 16:12:15.005290605 +0200 +++ /work/SRC/openSUSE:Factory/.python-mypy.new.1991/python-mypy.changes 2026-07-10 17:33:25.120943020 +0200 @@ -1,0 +2,30 @@ +Thu Jul 9 05:11:25 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 2.2.0: + * Mypy now supports closed TypedDicts as specified in PEP 728. + * Mypy now has complete support for type variable defaults as specified in + PEP 696. + * Mypy now respects explicitly annotated return types in __new__() methods. + * Support for TypeForm is no longer experimental. + * Support --shadow-file with --native-parser + * Add function definition notes for too many positional arguments errors + * Fix the exportjson tool (.ff cache to .json conversion) + * Support floats in JSON in fixed-format cache + * Update TypedDictType.__init__ signature to preserve backward compat + * Fix constructor calls for union-bounded TypeVars + * Fix TypedDict indexing with literal keys in comprehensions + * Correctly handle empty tuple index when unpacked + * Support protocol checks for self-types in tuple types + * Fix edge cases in variadic tuple subclasses + * Special-case constructor for tuple types + * Fix false positive "Expected TypedDict key to be string literal" for + Union[TypedDict, dict[K, V]] + * Use explicit Never for type inference + * Narrow membership in statically known containers + * Improve negative narrowing for membership checks on tuples + * Analyze TypedDict decorators + * Start testing Python 3.15 + * Improved handling of NamedTuple, TypedDict, Enum, and regular classes + nested in functions + +------------------------------------------------------------------- Old: ---- mypy-2.1.0.tar.gz types_psutil-7.0.0.20251001.tar.gz types_setuptools-80.9.0.20250822.tar.gz New: ---- mypy-2.2.0.tar.gz types_psutil-7.2.2.20260508.tar.gz types_setuptools-82.0.0.20260508.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mypy.spec ++++++ --- /var/tmp/diff_new_pack.jncjdP/_old 2026-07-10 17:33:31.057145587 +0200 +++ /var/tmp/diff_new_pack.jncjdP/_new 2026-07-10 17:33:31.061145723 +0200 @@ -16,8 +16,8 @@ # -%define types_psutil_version 7.0.0.20251001 -%define types_setuptools_version 80.9.0.20250822 +%define types_psutil_version 7.2.2.20260508 +%define types_setuptools_version 82.0.0.20260508 %define hatchling_version 1.18.0 %bcond_without test %if 0%{?suse_version} > 1500 @@ -27,7 +27,7 @@ %endif %{?sle15_python_module_pythons} Name: python-mypy -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Optional static typing for Python License: MIT @@ -161,6 +161,8 @@ # compilation errors ignore="--ignore mypyc/test/test_run.py" donttest+=" or test_lib_rt_c_files_compile_individually" +# https://github.com/python/mypy/issues/12634 +donttest+=" or (TestExternal and test_c_unit_test)" %pytest -n auto $ignore -k "not (testallexcept ${donttest})" %endif ++++++ mypy-2.1.0.tar.gz -> mypy-2.2.0.tar.gz ++++++ ++++ 41488 lines of diff (skipped) ++++++ types_psutil-7.0.0.20251001.tar.gz -> types_psutil-7.2.2.20260508.tar.gz ++++++ ++++ 4525 lines of diff (skipped) ++++++ types_setuptools-80.9.0.20250822.tar.gz -> types_setuptools-82.0.0.20260508.tar.gz ++++++ ++++ 2063 lines of diff (skipped)
