Sebastian Wagner 2024-11-24 14:36:27 +00:00 committed by Git OBS Bridge
parent 6297a9ddc6
commit abf60408f1
2 changed files with 13 additions and 9 deletions

View File

@ -210,6 +210,7 @@ Sun Nov 24 13:08:38 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- disable the 'parallel' subpackage because dask is unavailable 3.12, which is because numba is unavailable on 3.13 - disable the 'parallel' subpackage because dask is unavailable 3.12, which is because numba is unavailable on 3.13
https://build.opensuse.org/request/show/1225144 https://build.opensuse.org/request/show/1225144
https://github.com/numba/numba/issues/9760 https://github.com/numba/numba/issues/9760
- disabled tests requiring dask
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 4 09:11:37 UTC 2024 - Ben Greiner <code@bnavigator.de> Wed Sep 4 09:11:37 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -45,9 +45,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.23 Requires: python-numpy >= 1.24
Requires: python-packaging >= 23.1 Requires: python-packaging >= 23.1
Requires: python-pandas >= 2 Requires: python-pandas >= 2.1
Obsoletes: python-xray <= 0.7 Obsoletes: python-xray <= 0.7
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
@ -70,11 +70,11 @@ The dataset is an in-memory representation of a netCDF file.
Summary: The python xarray[accel] extra Summary: The python xarray[accel] extra
Requires: python-Bottleneck Requires: python-Bottleneck
Requires: python-opt-einsum Requires: python-opt-einsum
Requires: python-scipy Requires: python-scipy >= 1.11
Requires: python-xarray = %{version} Requires: python-xarray = %{version}
# not available yet # not available yet
Recommends: python-flox Recommends: python-flox
Recommends: python-numbagg Recommends: python-numbagg >= 0.6
%description accel %description accel
The [accel] extra for xarray, N-D labeled arrays and datasets in Python The [accel] extra for xarray, N-D labeled arrays and datasets in Python
@ -115,12 +115,12 @@ Except pre-commit, Use `pip-%{python_bin_suffix} --user install pre-commit` to i
Summary: The python xarray[io] extra Summary: The python xarray[io] extra
Requires: python-cftime Requires: python-cftime
Requires: python-fsspec Requires: python-fsspec
Requires: python-h5netcdf Requires: python-h5netcdf >= 1.3
Requires: python-netCDF4 Requires: python-netCDF4
Requires: python-pooch Requires: python-pooch
Requires: python-scipy Requires: python-scipy >= 1.11
Requires: python-xarray = %{version} Requires: python-xarray = %{version}
Requires: python-zarr Requires: python-zarr >= 2.16
%description io %description io
The [io] extra for xarray, N-D labeled arrays and datasets in Python The [io] extra for xarray, N-D labeled arrays and datasets in Python
@ -129,14 +129,15 @@ The [io] extra for xarray, N-D labeled arrays and datasets in Python
#%%package parallel #%%package parallel
#Summary: The python xarray[parallel] extra #Summary: The python xarray[parallel] extra
#Requires: python-dask-complete #Requires: python-dask-complete >= 2023.11
#Requires: python-xarray = %%{version} #Requires: python-xarray = %%{version}
# #
#%description parallel #%description parallel
#The [parallel] extra for xarray, N-D labeled arrays and datasets in Python #The [parallel] extra for xarray, N-D labeled arrays and datasets in Python
%package viz %package viz
Summary: The python xarray[viz] extra Summary: The python xarray[viz] extra
Requires: python-matplotlib Requires: python-matplotlib
@ -183,6 +184,8 @@ fi
donttest="$donttest or TestH5NetCDFDataRos3Driver" donttest="$donttest or TestH5NetCDFDataRos3Driver"
# NetCDF4 fails with these unsupported drivers # NetCDF4 fails with these unsupported drivers
donttest="$donttest or (TestNetCDF4 and test_compression_encoding and (szip or zstd or blosc_lz or blosc_zlib))" donttest="$donttest or (TestNetCDF4 and test_compression_encoding and (szip or zstd or blosc_lz or blosc_zlib))"
# skip parallelcompat as the 'parallel' subpackage is not built (see changes file)
donttest="$donttest or test_h5netcdf_storage_options or test_source_encoding_always_present_with_fsspec"
%pytest -n auto -rsEf -k "not ($donttest)" xarray %pytest -n auto -rsEf -k "not ($donttest)" xarray
%endif %endif