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-09-04 12:36:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mypy (Old) and /work/SRC/openSUSE:Factory/.python-mypy.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mypy" Fri Sep 4 12:36:20 2026 rev:27 rq:1375044 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes 2026-07-26 11:30:06.390072016 +0200 +++ /work/SRC/openSUSE:Factory/.python-mypy.new.1265/python-mypy.changes 2026-09-04 12:36:58.128332553 +0200 @@ -1,0 +2,15 @@ +Fri Aug 28 14:10:03 UTC 2026 - Markéta Machová <[email protected]> + +- Update to 2.3.1 + * We are planning to enable the new native parser (--native-parser) + by default soon + * List operations are now memory-safe on free threaded Python builds + * Mypyc now supports librt.threading.Lock, which is a lock type + optimized for use in compiled code + * Instance attributes of native classes declared as Final are now + read-only at runtime + * More updates, see upstream changelog + * Typeshed updates +- Enable docs build with a switch for potential exclusion + +------------------------------------------------------------------- Old: ---- mypy-2.2.0.tar.gz New: ---- mypy-2.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mypy.spec ++++++ --- /var/tmp/diff_new_pack.fyO4Ke/_old 2026-09-04 12:36:58.862358324 +0200 +++ /var/tmp/diff_new_pack.fyO4Ke/_new 2026-09-04 12:36:58.864358395 +0200 @@ -20,6 +20,13 @@ %define types_setuptools_version 82.0.0.20260508 %define hatchling_version 1.18.0 %bcond_without test +# turn off docs build on Ring 1 +%bcond_with ringdisabled +%if %{with ringdisabled} +%bcond_with docs +%else +%bcond_without docs +%endif %if 0%{?suse_version} > 1500 %bcond_without libalternatives %else @@ -27,7 +34,7 @@ %endif %{?sle15_python_module_pythons} Name: python-mypy -Version: 2.2.0 +Version: 2.3.1 Release: 0 Summary: Optional static typing for Python License: MIT @@ -85,10 +92,15 @@ BuildRequires: %{python_module virtualenv >= 20.6} BuildRequires: gcc-c++ %endif +%if %{with docs} # SECTION docs -BuildRequires: python3-Sphinx >= 1.4.4 -BuildRequires: python3-sphinx_rtd_theme >= 0.1.9 +BuildRequires: python3-Sphinx +BuildRequires: python3-furo +BuildRequires: python3-myst-parser +BuildRequires: python3-sphinx-inline-tabs +BuildRequires: python3-sphinx_rtd_theme # /SECTION +%endif %python_subpackages %description @@ -119,11 +131,12 @@ %build %pyproject_wheel -# building docs fails due to missing theme 'furo' -#pushd docs -#%%make_build html -#rm build/html/.buildinfo -#popd +%if %{with docs} +pushd docs +%make_build html +rm build/html/.buildinfo +popd +%endif %install %pyproject_install ++++++ mypy-2.2.0.tar.gz -> mypy-2.3.1.tar.gz ++++++ ++++ 10704 lines of diff (skipped)
