summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-10 13:10:41 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:10 +0100
commit10f3e5f05a86c006657c2196b31516a5fee232b9 (patch)
treeccac6fdb114686a1ad5d3708c645606b05149cb2 /gnu
parent57c99a59562bbb0e2c366c7495b019d303b55ac5 (diff)
gnu: python-xarray: Update to 2026.04.0.
* gnu/packages/python-science.scm (python-xarray): Update to 2026.04.0. [source]: Switch to git-fetch. [arguments] <test-flags>: Run tests in parallel, skip problematic tests. [propagated-inputs]: Add python-bottleneck, python-numba, and python-scipy-minimal. [native-inputs]: Add python-pytz, python-pytest-xdist, and tzdata-for-tests. Change-Id: Iada5e0b3302ee1d7b7adbcbc4ba974fb602bc1fe
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-science.scm55
1 files changed, 45 insertions, 10 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 37ce132b716..75b5c549beb 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5303,17 +5303,29 @@ two-dimensional renderings such as scatter plots and histograms.
5303(define-public python-xarray 5303(define-public python-xarray
5304 (package 5304 (package
5305 (name "python-xarray") 5305 (name "python-xarray")
5306 (version "2025.12.0") 5306 (version "2026.04.0")
5307 (source (origin 5307 (source
5308 (method url-fetch) 5308 (origin
5309 (uri (pypi-uri "xarray" version)) 5309 (method git-fetch)
5310 (sha256 5310 (uri (git-reference
5311 (base32 5311 (url "https://github.com/pydata/xarray")
5312 "1vczqm5daz79n7w3ycd0m1wf0bf78wd84w6xbgac8sfcvkxadxkk")))) 5312 (commit (string-append "v" version))))
5313 (file-name (git-file-name name version))
5314 (sha256
5315 (base32 "1ma0k5gw5frldms4zrgp5ww0l1m5h5620ks5sdljbjz4wqbsf9di"))))
5313 (build-system pyproject-build-system) 5316 (build-system pyproject-build-system)
5314 (arguments 5317 (arguments
5315 (list 5318 (list
5316 ;; tests: 6677 passed, 9632 skipped, 14 xfailed, 4 xpassed, 53 warnings 5319 ;; tests: 7500 passed, 9135 skipped, 24 xfailed, 6 xpassed, 45 warnings
5320 #:test-flags
5321 #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
5322 ;; Regression in Pandas 3.0.3.
5323 ;; See: <https://github.com/pydata/xarray/issues/11359>.
5324 (string-append "--deselect=properties/test_pandas_roundtrip.py"
5325 "::test_roundtrip_pandas_dataframe_datetime")
5326 ;; See: <https://github.com/pydata/xarray/issues/10548>.
5327 (string-append "--deselect=xarray/tests/test_dataset.py"
5328 "::TestDataset::test_repr"))
5317 #:phases 5329 #:phases
5318 #~(modify-phases %standard-phases 5330 #~(modify-phases %standard-phases
5319 (add-after 'unpack 'fix-pytest-config 5331 (add-after 'unpack 'fix-pytest-config
@@ -5323,12 +5335,35 @@ two-dimensional renderings such as scatter plots and histograms.
5323 (native-inputs 5335 (native-inputs
5324 (list python-pytest 5336 (list python-pytest
5325 python-pytest-asyncio 5337 python-pytest-asyncio
5338 python-pytest-xdist
5339 python-pytz
5326 python-setuptools 5340 python-setuptools
5327 python-setuptools-scm)) 5341 python-setuptools-scm
5342 tzdata-for-tests))
5328 (propagated-inputs 5343 (propagated-inputs
5329 (list python-numpy 5344 (list python-numpy
5330 python-packaging 5345 python-packaging
5331 python-pandas)) 5346 python-pandas
5347 ;; [optional]
5348 python-bottleneck
5349 ;; python-cartopy
5350 ;; python-cftime
5351 ;; python-dask
5352 ;; python-flox
5353 ;; python-fsspec
5354 ;; python-h5netcdf
5355 ;; python-matplotlib
5356 ;; python-nc-time-axis
5357 ;; python-netcdf4
5358 python-numba
5359 ;; python-numbagg ;blocked by guix/guix#9344
5360 ;; python-opt-einsum
5361 ;; python-pooch
5362 ;; python-pydap
5363 python-scipy-minimal ;to slim down closure size
5364 ;; python-seaborn
5365 ;; python-sparse
5366 #;python-zarr))
5332 (home-page "https://github.com/pydata/xarray") 5367 (home-page "https://github.com/pydata/xarray")
5333 (synopsis "N-D labeled arrays and datasets") 5368 (synopsis "N-D labeled arrays and datasets")
5334 (description "Xarray (formerly xray) makes working with labelled 5369 (description "Xarray (formerly xray) makes working with labelled