Files
python-librosa/mark-network-tests.patch
Daniel Garcia 9a4492d5e7 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=57
2026-01-28 08:44:31 +00:00

44 lines
1.4 KiB
Diff

---
setup.cfg | 2 ++
tests/test_multichannel.py | 1 +
tests/test_util.py | 3 +++
3 files changed, 6 insertions(+)
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.*
ignore::DeprecationWarning:resampy.*
+markers =
+ network: tests requiring network connection
[flake8]
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)
+@pytest.mark.network
def test_nnls_multi(s_multi):
# Verify that a stereo melspectrogram can be reconstructed
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)
+@pytest.mark.network
@pytest.mark.xfail(raises=librosa.ParameterError)
def test_cite_badversion():
librosa.cite(version="-1.5")