Skip to content

Commit d6de2b2

Browse files
committed
updpatch: python-xarray 2025.01.1-2
1 parent 0cbcbbb commit d6de2b2

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

python-xarray/riscv64.patch

+9-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
--- PKGBUILD
22
+++ PKGBUILD
3-
@@ -57,8 +57,17 @@ checkdepends=(
4-
python-seaborn
5-
)
6-
#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
7-
-source=(https://github.com/pydata/xarray/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
8-
-sha256sums=('328ebc41581e8a0d15c9b274dfee7e14b4fb1dfde8d438eb10246a60f27b02a5')
9-
+source=(
10-
+ https://github.com/pydata/xarray/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz
11-
+ no-casting-nan-to-int.patch::https://patch-diff.githubusercontent.com/raw/pydata/xarray/pull/7098.patch
12-
+)
13-
+sha256sums=('328ebc41581e8a0d15c9b274dfee7e14b4fb1dfde8d438eb10246a60f27b02a5'
14-
+ '9734ac3d42ea220c239d710effe09b56a5a19ee8041c23d8000df0b1a27888dd')
15-
+
16-
+prepare() {
17-
+ cd ${_pkg}-${pkgver}
18-
+ patch -Np1 -i ../no-casting-nan-to-int.patch
19-
+}
20-
21-
build() {
22-
cd ${_pkg}-${pkgver}
3+
@@ -83,6 +83,8 @@ check() {
4+
# Fails with:
5+
# E Failed: DID NOT RAISE <class 'ValueError'>
6+
--deselect=xarray/tests/test_groupby.py::test_dask_da_groupby_quantile
7+
+ # https://github.com/pydata/xarray/issues/9815
8+
+ --deselect=xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale
9+
)
10+
pytest "${pytest_args[@]}"
11+
}

0 commit comments

Comments
 (0)