From 531768215c16b1c9593a79229a07d2079ff4c0f4aa7250c70c8900bceff532d1 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 4 Jan 2024 11:17:33 +0000 Subject: [PATCH] - 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 --- python-xarray.changes | 5 +++++ python-xarray.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-xarray.changes b/python-xarray.changes index f11b399..50ba4d9 100644 --- a/python-xarray.changes +++ b/python-xarray.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 4 11:16:58 UTC 2024 - Sebastian Wagner + +- Disable ROS3 tests, because hdf5 library was built without ROS3 support. + ------------------------------------------------------------------- Wed Dec 20 20:40:53 UTC 2023 - Sebastian Wagner diff --git a/python-xarray.spec b/python-xarray.spec index 658d69f..0b3455a 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -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}