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-08-13 16:23:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mypy (Old) and /work/SRC/openSUSE:Factory/.python-mypy.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mypy" Wed Aug 13 16:23:08 2025 rev:17 rq:1299074 version:1.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes 2025-07-30 11:45:43.407583422 +0200 +++ /work/SRC/openSUSE:Factory/.python-mypy.new.1085/python-mypy.changes 2025-08-13 16:25:33.492112799 +0200 @@ -1,0 +2,5 @@ +Tue Aug 12 12:59:14 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Fix the libalternatives condition + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mypy.spec ++++++ --- /var/tmp/diff_new_pack.6s4MYH/_old 2025-08-13 16:25:45.964634178 +0200 +++ /var/tmp/diff_new_pack.6s4MYH/_new 2025-08-13 16:25:45.984635014 +0200 @@ -19,7 +19,11 @@ %define types_psutil_version 7.0.0.20250401 %define types_setuptools_version 78.1.0.20250329 %bcond_without test +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-mypy Version: 1.17.0 @@ -121,9 +125,7 @@ %python_clone -a %{buildroot}%{_bindir}/mypyc %python_clone -a %{buildroot}%{_bindir}/stubgen %python_clone -a %{buildroot}%{_bindir}/stubtest -%if %{with libalternatives} %python_group_libalternatives mypy dmypy mypyc stubgen stubtest -%endif # solve "W: python-doc-in-package" in 3.9, 3.10 and 3.11, but not in 3.8 (thus -f to ignore the error) %python_expand rm -rf %{buildroot}%{$python_sitelib}/mypyc/doc %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -153,17 +155,14 @@ %pytest -n auto -k "not (testallexcept ${donttest})" %endif -%if %{with libalternatives} %pre %python_libalternatives_reset_alternative mypy -%else %post %python_install_alternative mypy dmypy mypyc stubgen stubtest %postun %python_uninstall_alternative mypy -%endif %files %{python_files} %doc docs/