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 2025-09-14 18:49:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mypy (Old) and /work/SRC/openSUSE:Factory/.python-mypy.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mypy" Sun Sep 14 18:49:29 2025 rev:18 rq:1304339 version:1.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes 2025-08-13 16:25:33.492112799 +0200 +++ /work/SRC/openSUSE:Factory/.python-mypy.new.1977/python-mypy.changes 2025-09-14 18:50:11.370131821 +0200 @@ -1,0 +2,63 @@ +Fri Sep 12 08:57:49 UTC 2025 - Matej Cepl <mc...@cepl.eu> + +- Update to 1.18.1: + (full release notes on + https://mypy-lang.blogspot.com/2025/09/mypy-1181-released.html, + these are just headlines) + - Mypy Performance Improvements + Mypy 1.18.1 includes numerous performance improvements, + resulting in about 40% speedup compared to 1.17 when type + checking mypy itself. In extreme cases, the improvement + can be 10x or higher. The list below is an overview of + the various mypy optimizations. Many mypyc improvements + (discussed in a separate section below) also improve + performance. + - Fixed‑Format Cache (Experimental) + Mypy now supports a new cache format used for faster + incremental builds. It makes incremental builds up to + twice as fast. The feature is experimental and currently + only supported when using a compiled version of mypy. + Use --fixed-format-cache to enable the new format, or + fixed_format_cache = True in a configuration file. + - Flexible Variable Definitions: Update + Mypy 1.16.0 introduced --allow-redefinition-new, which allows + redefining variables with different types, and inferring + union types for variables from multiple assignments. The + feature is now documented in the --help output, but the + feature is still experimental. + - Inferred Type for Bare ClassVar + A ClassVar without an explicit type annotation now causes the + type of the variable to be inferred from the initializer: + from typing import ClassVar + + class Item: + # Type of 'next_id' is now 'int' (it was 'Any') + next_id: ClassVar = 1 + + ... + - Disjoint Base Classes (@disjoint_base, PEP 800) + Mypy now understands disjoint bases (PEP 800): it recognizes + the @disjoint_base decorator, and rejects class definitions + that combine mutually incompatible base classes, and takes + advantage of the fact that such classes cannot exist in + reachability and narrowing logic. + - Miscellaneous improvements + - Experimental Free-threading Support for Mypyc + - Mypyc: Support __new__ + - Mypyc: Faster Generators and Async Functions + - Miscellaneous Mypyc Improvements + - Stubtest Improvements + - Documentation Updates + - Other Fixes and Improvements + - Typeshed Updates + +------------------------------------------------------------------- +Tue Sep 9 07:51:36 UTC 2025 - Dirk Müller <dmuel...@suse.com> + +- update to 1.17.1: + * Prevent a crash when InitVar is redefined with a method in a + subclass + * Fix "ignored exception in hasattr" in dmypy + * Retain None as constraints bottom if no bottoms were provided + +------------------------------------------------------------------- Old: ---- mypy-1.17.0.tar.gz New: ---- mypy-1.18.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mypy.spec ++++++ --- /var/tmp/diff_new_pack.M7SWdi/_old 2025-09-14 18:50:12.010158641 +0200 +++ /var/tmp/diff_new_pack.M7SWdi/_new 2025-09-14 18:50:12.010158641 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-mypy # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-mypy -Version: 1.17.0 +Version: 1.18.1 Release: 0 Summary: Optional static typing for Python License: MIT ++++++ mypy-1.17.0.tar.gz -> mypy-1.18.1.tar.gz ++++++ ++++ 54762 lines of diff (skipped)