Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-traittypes for 
openSUSE:Factory checked in at 2023-03-19 00:32:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traittypes (Old)
 and      /work/SRC/openSUSE:Factory/.python-traittypes.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-traittypes"

Sun Mar 19 00:32:11 2023 rev:10 rq:1072838 version:0.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traittypes/python-traittypes.changes      
2023-01-08 21:25:33.511253880 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-traittypes.new.31432/python-traittypes.changes
   2023-03-19 00:33:03.140795423 +0100
@@ -1,0 +2,5 @@
+Sat Mar 18 12:24:41 UTC 2023 - Benjamin Greiner <c...@bnavigator.de>
+
+- Skip testing xarray on Python 3.8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-traittypes.spec ++++++
--- /var/tmp/diff_new_pack.OlARGK/_old  2023-03-19 00:33:04.140800166 +0100
+++ /var/tmp/diff_new_pack.OlARGK/_new  2023-03-19 00:33:04.144800185 +0100
@@ -42,7 +42,7 @@
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module traitlets >= 4.2.2}
-BuildRequires:  %{python_module xarray}
+BuildRequires:  %{python_module xarray if %python-base >= 3.9}
 # /SECTION
 %python_subpackages
 
@@ -51,6 +51,7 @@
 
 %prep
 %autosetup -p1 -n traittypes-%{version}
+sed -i '1{/^#!/d}' traittypes/tests/test_validators.py
 
 %build
 %pyproject_wheel
@@ -60,7 +61,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest traittypes
+# no xarray for Python 3.8
+python38_ignore="--ignore traittypes/tests/test_traittypes.py"
+%pytest traittypes ${$python_ignore}
 
 %files %{python_files}
 %doc README.md

Reply via email to