Compare commits
23 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e15bc6eb59 | |||
| c288594e5b | |||
| ec731f90ca | |||
| 9ae2d73e9d | |||
| 5f20ab2c07 | |||
| 64eda3387b | |||
| 593e67b14f | |||
| 3c949c1f52 | |||
| ce32e3b235 | |||
| ac6233e7d9 | |||
| 7665d97fa3 | |||
| d0701763ee | |||
| e4cd512851 | |||
| 936977352f | |||
| 97ab06fd88 | |||
| d2a4a19132 | |||
| fdbdf4306b | |||
| 3a9202cca5 | |||
| 682c3bbd77 | |||
| ca87b07efe | |||
| 00f4a5eaaa | |||
| bd53269d4a | |||
| 94c5841f63 |
BIN
mypy-1.16.0.tar.gz
LFS
BIN
mypy-1.16.0.tar.gz
LFS
Binary file not shown.
3
mypy-1.17.0.tar.gz
Normal file
3
mypy-1.17.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03
|
||||||
|
size 3352114
|
||||||
@@ -1,3 +1,59 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 12 12:59:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Fix the libalternatives condition
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 24 10:36:56 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make the libalternatives transition conditional
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Jul 8 08:33:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,14 @@
|
|||||||
%define types_psutil_version 7.0.0.20250401
|
%define types_psutil_version 7.0.0.20250401
|
||||||
%define types_setuptools_version 78.1.0.20250329
|
%define types_setuptools_version 78.1.0.20250329
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-mypy
|
Name: python-mypy
|
||||||
Version: 1.16.0
|
Version: 1.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Optional static typing for Python
|
Summary: Optional static typing for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -42,10 +46,8 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module tomli >= 1.1.0}
|
BuildRequires: %{python_module tomli >= 1.1.0}
|
||||||
BuildRequires: %{python_module typing_extensions >= 4.6.0}
|
BuildRequires: %{python_module typing_extensions >= 4.6.0}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: alts
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: alts
|
|
||||||
Requires: python-mypy_extensions >= 0.4.3
|
Requires: python-mypy_extensions >= 0.4.3
|
||||||
Requires: python-pathspec
|
Requires: python-pathspec
|
||||||
Requires: python-typing_extensions >= 3.10
|
Requires: python-typing_extensions >= 3.10
|
||||||
@@ -56,6 +58,13 @@ BuildArch: noarch
|
|||||||
Provides: mypy = %{version}
|
Provides: mypy = %{version}
|
||||||
Obsoletes: mypy < %{version}
|
Obsoletes: mypy < %{version}
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module attrs >= 18}
|
BuildRequires: %{python_module attrs >= 18}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
@@ -149,6 +158,12 @@ donttest+=" or PEP561Suite"
|
|||||||
%pre
|
%pre
|
||||||
%python_libalternatives_reset_alternative mypy
|
%python_libalternatives_reset_alternative mypy
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative mypy dmypy mypyc stubgen stubtest
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative mypy
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc docs/
|
%doc docs/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user