15
0
forked from pool/python-mypy

Accepting request 1293793 from devel:languages:python

- Update to 1.17.0:
  - Optionally Check That Match Is Exhaustive
    Mypy can now optionally generate an error if a match
    statement does not match exhaustively, without having to use
    assert_never(...). Enable this by using --enable-error-code
    exhaustive-match.
  - Further Improvements to Attribute Resolution
    This release includes additional improvements to how
    attribute types and kinds are resolved. These fix many bugs
    and overall improve consistency.
  - Fixes to Nondeterministic Type Checking
    Previous mypy versions could infer different types for
    certain expressions across different runs (typically
    depending on which order certain types were processed, and
    this order was nondeterministic). This release includes fixes
    to several such issues.
  - Remove Support for Targeting Python 3.8
    Mypy now requires --python-version 3.9 or greater. Support
    for targeting Python 3.8 is fully removed now. Since 3.8
    is an unsupported version, mypy will default to the oldest
    supported version (currently 3.9) if you still try to target
    3.8.
  - Initial Support for Python 3.14
    Mypy is now tested on 3.14 and mypyc works with 3.14.0b3 and
    later. Binary wheels compiled with mypyc for mypy itself will
    be available for 3.14 some time after 3.14.0rc1 has been
    released.
  - Deprecated Flag: --force-uppercase-builtins
    Mypy only supports Python 3.9+. The
    --force-uppercase-builtins flag is now deprecated as
    unnecessary, and a no-op. It will be removed in a future
    version.
  - Mypyc: Improvements to Generators and Async Functions
    This release includes both performance improvements and bug
    fixes related to generators and async functions (these share
    many implementation details).
  - Mypyc: Partial, Unsafe Support for Free Threading
    Mypyc has minimal, quite memory-unsafe support for the free
    threaded builds of 3.14. It is also only lightly tested. Bug
    reports and experience reports are welcome!
  - Other Mypyc Fixes and Improvements
  - Stubgen Improvements

OBS-URL: https://build.opensuse.org/request/show/1293793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mypy?expand=0&rev=15
This commit is contained in:
2025-07-17 15:17:08 +00:00
committed by Git OBS Bridge
4 changed files with 50 additions and 4 deletions

Binary file not shown.

3
mypy-1.17.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03
size 3352114

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Wed Jul 16 10:11:26 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 1.17.0:
- Optionally Check That Match Is Exhaustive
Mypy can now optionally generate an error if a match
statement does not match exhaustively, without having to use
assert_never(...). Enable this by using --enable-error-code
exhaustive-match.
- Further Improvements to Attribute Resolution
This release includes additional improvements to how
attribute types and kinds are resolved. These fix many bugs
and overall improve consistency.
- Fixes to Nondeterministic Type Checking
Previous mypy versions could infer different types for
certain expressions across different runs (typically
depending on which order certain types were processed, and
this order was nondeterministic). This release includes fixes
to several such issues.
- Remove Support for Targeting Python 3.8
Mypy now requires --python-version 3.9 or greater. Support
for targeting Python 3.8 is fully removed now. Since 3.8
is an unsupported version, mypy will default to the oldest
supported version (currently 3.9) if you still try to target
3.8.
- Initial Support for Python 3.14
Mypy is now tested on 3.14 and mypyc works with 3.14.0b3 and
later. Binary wheels compiled with mypyc for mypy itself will
be available for 3.14 some time after 3.14.0rc1 has been
released.
- Deprecated Flag: --force-uppercase-builtins
Mypy only supports Python 3.9+. The
--force-uppercase-builtins flag is now deprecated as
unnecessary, and a no-op. It will be removed in a future
version.
- Mypyc: Improvements to Generators and Async Functions
This release includes both performance improvements and bug
fixes related to generators and async functions (these share
many implementation details).
- Mypyc: Partial, Unsafe Support for Free Threading
Mypyc has minimal, quite memory-unsafe support for the free
threaded builds of 3.14. It is also only lightly tested. Bug
reports and experience reports are welcome!
- Other Mypyc Fixes and Improvements
- Stubgen Improvements
-------------------------------------------------------------------
Tue Jul 8 08:33:25 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -22,7 +22,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-mypy
Version: 1.16.0
Version: 1.17.0
Release: 0
Summary: Optional static typing for Python
License: MIT