Accepting request 1228967 from devel:languages:python:numeric

- Skip scikit-image tests on python313: not available yet

OBS-URL: https://build.opensuse.org/request/show/1228967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plotly?expand=0&rev=44
This commit is contained in:
Ana Guerrero 2024-12-08 10:37:33 +00:00 committed by Git OBS Bridge
commit 4ce746a58c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 6 21:47:19 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Skip scikit-image tests on python313: not available yet
-------------------------------------------------------------------
Wed Nov 27 12:02:14 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -66,7 +66,7 @@ BuildRequires: %{python_module pyshp}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module scikit-image}
BuildRequires: %{python_module scikit-image if %python-base < 3.13}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module statsmodels}
BuildRequires: %{python_module xarray}
@ -154,7 +154,9 @@ donttest="$donttest or test_matplotlylib"
donttest="$donttest or test_masked_constants_example"
# flaky timing error
donttest="$donttest or test_fast_track_finite_arrays"
%pytest plotly/tests/test_optional -k "not ($donttest)"
# no python313-scikit-image yet
python313_donttest=" or TestTernarycontour"
%pytest plotly/tests/test_optional -k "not ($donttest ${$python_donttest})"
%files %{python_files}
%license LICENSE.txt