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 2024-03-29 13:09:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mypy (Old)
 and      /work/SRC/openSUSE:Factory/.python-mypy.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mypy"

Fri Mar 29 13:09:32 2024 rev:4 rq:1163260 version:1.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes  2024-03-25 
21:09:11.547373377 +0100
+++ /work/SRC/openSUSE:Factory/.python-mypy.new.1905/python-mypy.changes        
2024-03-29 13:10:05.549222286 +0100
@@ -1,0 +2,6 @@
+Wed Mar 27 15:59:56 UTC 2024 - ecsos <ec...@opensuse.org>
+
+- Disable self_check under %check in Leap because it does not work 
+  and prevent package building.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mypy.spec ++++++
--- /var/tmp/diff_new_pack.reu5M8/_old  2024-03-29 13:10:07.325287570 +0100
+++ /var/tmp/diff_new_pack.reu5M8/_new  2024-03-29 13:10:07.329287716 +0100
@@ -51,7 +51,7 @@
 Requires:       (python-tomli >= 1.1.0 if python-base < 3.11)
 Requires:       (python-typed-ast >= 1.4.0 if python-base < 3.8)
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
 Provides:       mypy = %{version}
 Obsoletes:      mypy < %{version}
@@ -126,11 +126,12 @@
 
 %if %{with test}
 %check
-
+%if 0%{?suse_version} > 1600
 %{python_expand # self-check with manually provided stubs for typed_ast
 export PYTHONPATH=%{buildroot}%{$python_sitelib}:./mystubs
 $python -m mypy --config-file mypy_self_check.ini -p mypy
 }
+%endif
 unset PYTHONPATH
 # cannot compile unoptimized with suse headers
 export MYPYC_OPT_LEVEL=2

Reply via email to