From 453ac1afff6cf16cb940bc7160ec3cd2c634183126cdaa429305678d56cd94d3 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 17 Apr 2024 03:42:37 +0000 Subject: [PATCH] - Skip a misbehaving test that can cause segfaults. - Drop back to ffmpeg 5. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=46 --- python-librosa.changes | 6 ++++++ python-librosa.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-librosa.changes b/python-librosa.changes index 9718072..439cdcb 100644 --- a/python-librosa.changes +++ b/python-librosa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 17 03:42:24 UTC 2024 - Steve Kowalik + +- Skip a misbehaving test that can cause segfaults. +- Drop back to ffmpeg 5. + ------------------------------------------------------------------- Sun Sep 24 17:38:22 UTC 2023 - Ben Greiner diff --git a/python-librosa.spec b/python-librosa.spec index a116401..b52a025 100644 --- a/python-librosa.spec +++ b/python-librosa.spec @@ -71,7 +71,7 @@ BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module resampy >= 0.2.2} BuildRequires: %{python_module samplerate} -BuildRequires: ffmpeg +BuildRequires: ffmpeg-5 # /SECTION %python_subpackages @@ -103,6 +103,8 @@ export LIBROSA_DATA_DIR=$PWD/librosa-pooch-cache donttest="test_display" # fails with current Tumbleweed donttest+=" or test_pyin_multi_center" +# causes interpreter SEGVs in some situations +donttest+=" or test_piptrack_errors" # Overflow on 32-bit # can not use "ifarch" when BuildArch is set to noarch %if "%_arch" != "x86_64" && "%_arch" != "aarch64" && "%_arch" != "ppc64le" @@ -111,7 +113,6 @@ donttest+=" or test_istft_reconstruction or test_trim" donttest+=" or test_multichannel" donttest+=" or test_time_stretch_multi" donttest+=" or test_piptrack_properties" -donttest+=" or test_piptrack_errors" donttest+=" or test_pitch_shift_multi" donttest+=" or test_split_multi" donttest+=" or test_hpss_multi"