diff --git a/mypy-1.16.0.tar.gz b/mypy-1.16.0.tar.gz deleted file mode 100644 index 92f7075..0000000 --- a/mypy-1.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84b94283f817e2aa6350a14b4a8fb2a35a53c286f97c9d30f53b63620e7af8ab -size 3323139 diff --git a/mypy-1.17.0.tar.gz b/mypy-1.17.0.tar.gz new file mode 100644 index 0000000..985e03d --- /dev/null +++ b/mypy-1.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03 +size 3352114 diff --git a/python-mypy.changes b/python-mypy.changes index 04fd6ea..92556b7 100644 --- a/python-mypy.changes +++ b/python-mypy.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Jul 16 10:11:26 UTC 2025 - Matej Cepl + +- 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á diff --git a/python-mypy.spec b/python-mypy.spec index 7a2c535..bb7494a 100644 --- a/python-mypy.spec +++ b/python-mypy.spec @@ -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