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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=73
This commit is contained in:
2024-12-06 22:17:52 +00:00
committed by Git OBS Bridge
parent e59564aebb
commit 4c895473a2
2 changed files with 9 additions and 2 deletions

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