Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-resampy for openSUSE:Factory 
checked in at 2024-09-24 17:34:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-resampy (Old)
 and      /work/SRC/openSUSE:Factory/.python-resampy.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-resampy"

Tue Sep 24 17:34:00 2024 rev:10 rq:1202833 version:0.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-resampy/python-resampy.changes    
2024-03-17 22:15:20.782941556 +0100
+++ /work/SRC/openSUSE:Factory/.python-resampy.new.29891/python-resampy.changes 
2024-09-24 17:34:19.727722937 +0200
@@ -1,0 +2,9 @@
+Mon Sep 23 19:48:30 UTC 2024 - Ben Greiner <[email protected]>
+
+- Switch to testing in multibuild: The obs runtime requirement
+  resolver deals with numba/numpy blockage more gracefully than
+  trying to resolve a BuildRequires on them. Numba 0.60 is
+  restricted to Numpy < 2.1 right now.
+* Update requirements
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-resampy.spec ++++++
--- /var/tmp/diff_new_pack.xjBN8Q/_old  2024-09-24 17:34:20.539756931 +0200
+++ /var/tmp/diff_new_pack.xjBN8Q/_new  2024-09-24 17:34:20.539756931 +0200
@@ -16,7 +16,16 @@
 #
 
 
-Name:           python-resampy
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == ""
+%define psuffix %{nil}
+%bcond_with test
+%else
+%bcond_without test
+%define psuffix -%{flavor}
+%endif
+
+Name:           python-resampy%{psuffix}
 Version:        0.4.3
 Release:        0
 Summary:        Signal resampling in Python
@@ -35,13 +44,11 @@
 Suggests:       python-numpydoc
 Suggests:       python-sphinx
 BuildArch:      noarch
-# SECTION test requirements
-BuildRequires:  %{python_module numba >= 0.53}
-BuildRequires:  %{python_module numpy >= 1.17}
-BuildRequires:  %{python_module pytest-cov}
+%if %{with test}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy >= 1.0}
-# /SECTION
+BuildRequires:  %{python_module resampy = %{version}}
+BuildRequires:  %{python_module scipy >= 1.1}
+%endif
 %python_subpackages
 
 %description
@@ -57,20 +64,28 @@
 %setup -q -n resampy-%{version}
 # Remove shebang from files
 sed -i -e '/^#!\//, 1d' */*.py
+# Remove code coverage options
+sed -i '/addopts/d' setup.cfg
 
+%if !%{with test}
 %build
 %pyproject_wheel
 
 %install
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 %pytest
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.md
 %license LICENSE.md
 %{python_sitelib}/resampy
 %{python_sitelib}/resampy-%{version}.dist-info
+%endif
 

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to