- Disable ROS3 tests, because hdf5 library was built without ROS3 support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=88
This commit is contained in:
Sebastian Wagner 2024-01-04 11:17:33 +00:00 committed by Git OBS Bridge
parent cd53fc5976
commit 531768215c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 4 11:16:58 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- Disable ROS3 tests, because hdf5 library was built without ROS3 support.
-------------------------------------------------------------------
Wed Dec 20 20:40:53 UTC 2023 - Sebastian Wagner <sebix@sebix.at>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-xarray
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -115,6 +115,8 @@ if [ $(getconf LONG_BIT) -eq 32 ]; then
# tests for 64bit types
donttest="$donttest or TestZarrDictStore or TestZarrDirectoryStore or TestZarrWriteEmpty"
fi
# h5py was built without ROS3 support, can't use ros3 driver
donttest="$donttest or TestH5NetCDFDataRos3Driver"
%pytest -n auto -rsEf -k "not ($donttest)" xarray
%files %{python_files}