Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-librosa for openSUSE:Factory checked in at 2026-01-28 15:14:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-librosa (Old) and /work/SRC/openSUSE:Factory/.python-librosa.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-librosa" Wed Jan 28 15:14:40 2026 rev:19 rq:1329638 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-librosa/python-librosa.changes 2025-01-28 15:00:49.214130034 +0100 +++ /work/SRC/openSUSE:Factory/.python-librosa.new.1928/python-librosa.changes 2026-01-28 15:17:53.268820831 +0100 @@ -1,0 +2,38 @@ +Wed Jan 28 09:32:05 UTC 2026 - Daniel Garcia <[email protected]> + +- Add multibuild for tests + +------------------------------------------------------------------- +Wed Jan 28 08:09:20 UTC 2026 - Daniel Garcia <[email protected]> + +- Update to 0.11.0: + * Bump minimum matplotlib to 3.5.0 by @bmcfee in #1839 + * Fix name collision for norm argument in mfcc by @ssslakter in + #1844 + * Remove .H for conjugate().T by @bmcfee in #1851 + * [documentation][Issue #1855] Update Fast Mellin Transform doc + example by @dhunstack in #1856 + * fix onset documentation specshow samplerate by @BenedictSt in + #1858 + * Updating github issue templates by @bmcfee in #1860 + * Faster abs2 on real inputs by @bmcfee in #1864 + * Revised dtw docstring, fixes #1741 by @bmcfee in #1866 + * Various doc updates 0.11 by @bmcfee in #1878 + * Improved CMND implementation for YIN / pYIN by @dsuedholt in #1882 + * Update effects.py by @scottvr in #1891 + * bump codecov action to v5 by @bmcfee in #1898 + * declare numba requirement before numpy by @dsuedholt in #1897 + * allow skipping linkchecks on ~dpwe by @bmcfee in #1899 + * fixed pooch registry regression from #1829 by @bmcfee in #1900 + * Modernize for 2024/5 by @bmcfee in #1903 + * implemented testing with network isolation by @bmcfee in #1911 + * 0.11.0rc0 release prep by @bmcfee in #1907 + * Deprecate set_fftlib, update fftpack uses by @bmcfee in #1916 + * PR for 0.11.0rc1 by @bmcfee in #1913 + * Get samplerate installing from source on windows for python 3.13 + by @bmcfee in #1919 + * Trying on the new linux-arm64 runners by @bmcfee in #1921 + * 0.11.0 final by @bmcfee in #1922 +- Drop upstreamed patch csr_matrix-attr-H.patch + +------------------------------------------------------------------- Old: ---- csr_matrix-attr-H.patch librosa-0.10.2.post1.tar.gz librosa-static-test-data-0.10.2.post1.tar.gz New: ---- _multibuild librosa-0.11.0.tar.gz librosa-static-test-data-0.11.0.tar.gz ----------(Old B)---------- Old: * 0.11.0 final by @bmcfee in #1922 - Drop upstreamed patch csr_matrix-attr-H.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-librosa.spec ++++++ --- /var/tmp/diff_new_pack.MzF5Ll/_old 2026-01-28 15:17:54.696880271 +0100 +++ /var/tmp/diff_new_pack.MzF5Ll/_new 2026-01-28 15:17:54.700880437 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-librosa # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,18 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "" +%define psuffix %{nil} +%bcond_with test +%else +%bcond_without test +%define psuffix -%{flavor} +%endif + %define static_test_data_commit 72bd79e448829187f6336818b3f6bdc2c2ae8f5a -Name: python-librosa -Version: 0.10.2.post1 +Name: python-librosa%{psuffix} +Version: 0.11.0 Release: 0 Summary: Python module for audio and music processing License: CC-BY-3.0 AND ISC @@ -32,9 +41,6 @@ Source3: https://github.com/librosa/librosa-test-data/archive/%{static_test_data_commit}.tar.gz#/librosa-static-test-data-%{version}.tar.gz # Provide information required by upstream Source20: sysinfo.py -# PATCH-FIX-UPSTREAM csr_matrix-attr-H.patch gh#librosa/librosa#1849 [email protected] -# csr_matrix.H in scipy has been removed -Patch0: csr_matrix-attr-H.patch # PATCH-FIX-UPSTREAM mark-network-tests.patch [email protected] # to skip test which require network access Patch1: mark-network-tests.patch @@ -46,7 +52,7 @@ BuildRequires: %{python_module lazy_loader >= 0.1} BuildRequires: %{python_module msgpack >= 1.0} BuildRequires: %{python_module numba >= 0.51.0} -BuildRequires: %{python_module numpy >= 1.22.3 with %python-numpy < 2} +BuildRequires: %{python_module numpy >= 1.22.3} BuildRequires: %{python_module pip} BuildRequires: %{python_module pooch >= 1.0} BuildRequires: %{python_module scikit-learn >= 0.20.0} @@ -71,8 +77,10 @@ Requires: python-soxr >= 0.3.2 Requires: python-typing_extensions >= 4.1.1 BuildArch: noarch +%if %{with test} # SECTION test requirements BuildRequires: %{python_module matplotlib >= 3.3.0} +BuildRequires: %{python_module librosa = %{version}} BuildRequires: %{python_module packaging >= 20.0} BuildRequires: %{python_module pytest-mpl} BuildRequires: %{python_module pytest-xdist} @@ -81,6 +89,7 @@ BuildRequires: %{python_module samplerate} BuildRequires: ffmpeg-4 # /SECTION +%endif %python_subpackages %description @@ -99,12 +108,17 @@ sed -i '/addopts/ s/--cov-report.*--cov-report=xml//' setup.cfg %build +%if !%{with test} %pyproject_wheel +%endif %install +%if !%{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif +%if %{with test} %check %python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" $python %{SOURCE20} @@ -161,9 +175,13 @@ %pytest -k "not (${donttest} or ${notparallel} or network)" -n auto %pytest -k "not (${donttest} or network) and (${notparallel})" +%endif + +%if !%{with test} %files %{python_files} %doc AUTHORS.md README.md %license LICENSE.md %{python_sitelib}/librosa %{python_sitelib}/librosa-%{version}.dist-info +%endif ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ librosa-0.10.2.post1.tar.gz -> librosa-0.11.0.tar.gz ++++++ ++++ 5467 lines of diff (skipped) ++++++ librosa-static-test-data-0.10.2.post1.tar.gz -> librosa-static-test-data-0.11.0.tar.gz ++++++ ++++++ mark-network-tests.patch ++++++ --- /var/tmp/diff_new_pack.MzF5Ll/_old 2026-01-28 15:17:55.244903081 +0100 +++ /var/tmp/diff_new_pack.MzF5Ll/_new 2026-01-28 15:17:55.252903414 +0100 @@ -4,8 +4,10 @@ tests/test_util.py | 3 +++ 3 files changed, 6 insertions(+) ---- a/setup.cfg -+++ b/setup.cfg +Index: librosa-0.11.0/setup.cfg +=================================================================== +--- librosa-0.11.0.orig/setup.cfg ++++ librosa-0.11.0/setup.cfg @@ -14,6 +14,8 @@ addopts = --mpl --mpl-baseline-path=tes filterwarnings = ignore::DeprecationWarning:audioread.* @@ -13,11 +15,13 @@ +markers = + network: tests requiring network connection + [flake8] - count = True ---- a/tests/test_multichannel.py -+++ b/tests/test_multichannel.py -@@ -914,6 +914,7 @@ def test_click_multi(): +Index: librosa-0.11.0/tests/test_multichannel.py +=================================================================== +--- librosa-0.11.0.orig/tests/test_multichannel.py ++++ librosa-0.11.0/tests/test_multichannel.py +@@ -918,6 +918,7 @@ def test_click_multi(): assert np.allclose(yout[..., 2000:2100], click) @@ -25,16 +29,11 @@ def test_nnls_multi(s_multi): # Verify that a stereo melspectrogram can be reconstructed ---- a/tests/test_util.py -+++ b/tests/test_util.py -@@ -1385,17 +1385,20 @@ def test_phasor(dtype, angles, mag): - assert z2.dtype == librosa.util.dtype_r2c(dtype) - - [email protected] - def test_cite_released(): - version = "0.10.1" - doi = "https://doi.org/10.5281/zenodo.8252662" +Index: librosa-0.11.0/tests/test_util.py +=================================================================== +--- librosa-0.11.0.orig/tests/test_util.py ++++ librosa-0.11.0/tests/test_util.py +@@ -1472,6 +1472,7 @@ def test_cite_released(): assert doi == librosa.cite(version=version) @@ -42,10 +41,4 @@ @pytest.mark.xfail(raises=librosa.ParameterError) def test_cite_badversion(): librosa.cite(version="-1.5") - - [email protected] - @pytest.mark.xfail(raises=librosa.ParameterError) - def test_cite_unreleased(): - librosa.cite("0.10.0.dev0")
