- update to 2025.03.0:
* spelling fix: possibilites -> possibilities
* Duck array ops for `all` and `any`
* `map_over_datasets`: fix error message for wrong result type
* Use resolution-dependent default units for lazy time encoding
* DOC: Fix 404 on Cubed's documentation
* use mean of min/max years as offset in calculation of
datetime64 mean
* Fix dataarray drop attrs
* Start splitting up `dataset.py`
* Upgrade mypy to 1.15
* implement map_over_datasets kwargs
* run CI on `python=3.13`
* Prune data tree for Isomorphic operations
* Skip failing array api test.
* Pass node path to tokenize in `open_datatree`
* Fix false timedelta decoding `SerializationWarning` and
improve warning message
* Add typos check to pre-commit hooks
* Ensure KeyError raised for zarr datasets missing dim names
* Improve handling of dtype and NaT when encoding/decoding
masked and packaged datetimes and timedeltas
* fix and supress some test warnings
* Update asv badge url in README.md
* Fix broken Zarr test
* Pin pandas stubs
* Use `to_numpy` in time decoding
* explicitly cast the dtype of `where`'s condition parameter to
`bool`
* Better `uv` compatibility
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=111
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-xarray
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,16 +25,14 @@
|
||||
%define psuffix %{nil}
|
||||
%endif
|
||||
|
||||
%define ghversion 2024.11.0
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-xarray%{psuffix}
|
||||
Version: 2024.11.0
|
||||
Version: 2025.03.0
|
||||
Release: 0
|
||||
Summary: N-D labeled arrays and datasets in Python
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/pydata/xarray
|
||||
Source: https://github.com/pydata/xarray/archive/refs/tags/v%{ghversion}.tar.gz#/xarray-%{ghversion}-gh.tar.gz
|
||||
Source: https://github.com/pydata/xarray/archive/refs/tags/v%{version}.tar.gz#/xarray-%{version}-gh.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM local_dataset.patch gh#pydata/xarray#5377 mcepl@suse.com
|
||||
# fix xr.tutorial.open_dataset to work with the preloaded cache.
|
||||
Patch0: local_dataset.patch
|
||||
@@ -79,7 +77,7 @@ Recommends: python-numbagg >= 0.6
|
||||
%description accel
|
||||
The [accel] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
Except flox and numbagg, because they are not packaged yet.
|
||||
Use `pip-%{python_bin_suffix} --user install flox numbagg` to install from PyPI, if needed.
|
||||
Use `pip --user install flox numbagg` to install from PyPI, if needed.
|
||||
|
||||
%package complete
|
||||
Summary: The python xarray[complete] extra
|
||||
@@ -109,7 +107,7 @@ Recommends: python-pre-commit
|
||||
|
||||
%description dev
|
||||
The [dev] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
Except pre-commit, Use `pip-%{python_bin_suffix} --user install pre-commit` to install, if needed.
|
||||
Except pre-commit, Use `pip --user install pre-commit` to install, if needed.
|
||||
|
||||
%package io
|
||||
Summary: The python xarray[io] extra
|
||||
@@ -132,6 +130,9 @@ The [io] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#%%package parallel
|
||||
#Summary: The python xarray[parallel] extra
|
||||
#Requires: python-dask-complete >= 2023.11
|
||||
@@ -139,6 +140,7 @@ The [io] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
#
|
||||
#%description parallel
|
||||
#The [parallel] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
|
||||
%package viz
|
||||
Summary: The python xarray[viz] extra
|
||||
Requires: python-matplotlib
|
||||
@@ -151,10 +153,10 @@ Recommends: python-nc-time-axis
|
||||
The [viz] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
|
||||
Except nc-time-axis, because it's not packaged yet.
|
||||
Use `pip-%{python_bin_suffix} --user install nc-time-axis` to install from PyPI, if needed.
|
||||
Use `pip --user install nc-time-axis` to install from PyPI, if needed.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n xarray-%{ghversion}
|
||||
%autosetup -p1 -n xarray-%{version}
|
||||
chmod -x xarray/util/print_versions.py
|
||||
|
||||
%build
|
||||
@@ -197,7 +199,7 @@ donttest="$donttest or test_h5netcdf_storage_options or test_source_encoding_alw
|
||||
%doc README.md
|
||||
%license LICENSE licenses/
|
||||
%{python_sitelib}/xarray
|
||||
%{python_sitelib}/xarray-%{version}.dist-info
|
||||
%{python_sitelib}/xarray-*.dist-info
|
||||
|
||||
%files %{python_files accel}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user