- 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
This commit is contained in:
Steve Kowalik 2024-04-17 03:42:37 +00:00 committed by Git OBS Bridge
parent c86dfc33b1
commit 453ac1afff
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 17 03:42:24 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Skip a misbehaving test that can cause segfaults.
- Drop back to ffmpeg 5.
-------------------------------------------------------------------
Sun Sep 24 17:38:22 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -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"