diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 08:48:59 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:35 +0100 |
| commit | 3adaee52d9fe67866bb1bf93b6bbdb907f7459f9 (patch) | |
| tree | ea972347372f892edf93b1eaff02a2f4ddd18993 /gnu | |
| parent | 786819dca16cd560edd04cb0ae16db857a4a4f12 (diff) | |
gnu: python-flox: Update to 0.11.2-0.d2857f3.
* gnu/packages/python-science.scm (python-flox): Update to
d2857f323a3f5b7c737b34e8cfc09492cc9ef2bf commit.
[arguments] <#:test-flags>: Rework ignored and skipped tests.
[propagated-inputs]: Add python-cachey, python-cftime, python-dask,
python-lxml, python-matplotlib, python-numba, python-numbagg,
python-sparse, python-xarray, and python-zarr.
[native-inputs]: Remove python-dask, python-numbagg, python-sparse, and
python-xarray.
[description]: Start from a new line, fix fill column indentation.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-science.scm | 92 |
1 files changed, 63 insertions, 29 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 64140f70984..0a3c0871dbb 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm | |||
| @@ -1512,47 +1512,81 @@ conditional posterior @code{P(y|x,D,M)} in the @code{(x,y)} plane.") | |||
| 1512 | (define-public python-flox | 1512 | (define-public python-flox |
| 1513 | (package | 1513 | (package |
| 1514 | (name "python-flox") | 1514 | (name "python-flox") |
| 1515 | (version "0.11.2") | 1515 | ;; 0.11.2 (2026-02-26); the latest changes provide tests fixtures. |
| 1516 | (properties '((commit . "d2857f323a3f5b7c737b34e8cfc09492cc9ef2bf") | ||
| 1517 | (revision . "0"))) | ||
| 1518 | (version (git-version "0.11.2" | ||
| 1519 | (assoc-ref properties 'revision) | ||
| 1520 | (assoc-ref properties 'commit))) | ||
| 1516 | (source | 1521 | (source |
| 1517 | (origin | 1522 | (origin |
| 1518 | (method git-fetch) | 1523 | (method git-fetch) |
| 1519 | (uri (git-reference | 1524 | (uri (git-reference |
| 1520 | (url "https://github.com/xarray-contrib/flox") | 1525 | (url "https://github.com/xarray-contrib/flox") |
| 1521 | (commit (string-append "v" version)))) | 1526 | (commit (assoc-ref properties 'commit)))) |
| 1522 | (file-name (git-file-name name version)) | 1527 | (file-name (git-file-name name version)) |
| 1523 | (sha256 | 1528 | (sha256 |
| 1524 | (base32 "0jy1kxk9r0az39zmbmf6md55c35ldkk9q6pcfg8jb4chwi4i34iw")))) | 1529 | (base32 "1m0svx2pdrfc8zps1kkzg12i9ncpz1mah9k8q467p6jjl8a5y7yc")))) |
| 1525 | (build-system pyproject-build-system) | 1530 | (build-system pyproject-build-system) |
| 1526 | (arguments | 1531 | (arguments |
| 1527 | (list | 1532 | (list |
| 1533 | ;; tests: 10998 passed, 8264 skipped, 156 xfailed, 3 xpassed, 1376 | ||
| 1534 | ;; warnings | ||
| 1528 | #:test-flags | 1535 | #:test-flags |
| 1529 | #~(list "--ignore" "tests/test_asv.py" ; ignore benchmark test | 1536 | #~(list "--numprocesses" (number->string (parallel-job-count)) |
| 1530 | ;; FIXME: Check why test_cohorts failed. | 1537 | ;; These are benchmark tests. |
| 1531 | "--ignore" "tests/test_cohorts.py"))) | 1538 | "--ignore" "tests/test_asv.py" |
| 1532 | (propagated-inputs (list python-numpy | 1539 | ;; Failed with DeadlineExceeded exeption. |
| 1533 | python-numpy-groupies | 1540 | "--deselect=tests/test_properties.py::test_first_last" |
| 1534 | python-packaging | 1541 | #$@(map (lambda (test) |
| 1535 | python-pandas | 1542 | (string-append "--deselect=tests/test_cohorts.py" |
| 1536 | python-scipy | 1543 | test)) |
| 1537 | python-toolz)) | 1544 | ;; Failed to compare snapshoted arrays. |
| 1538 | (native-inputs (list ;; python-cubed ; TODO: package this | 1545 | (list "::test_snapshot_cohorts[ERA5DayOfYear]" |
| 1539 | python-dask | 1546 | "::test_snapshot_cohorts[ERA5Google]" |
| 1540 | python-netcdf4 | 1547 | "::test_snapshot_cohorts[ERA5MonthHour]" |
| 1541 | python-numbagg | 1548 | "::test_snapshot_cohorts[ERA5MonthHourRechunked]" |
| 1542 | python-pytest | 1549 | "::test_snapshot_cohorts[OISST]" |
| 1543 | python-pytest-snapshot | 1550 | "::test_snapshot_cohorts[PerfectBlockwiseResampling]" |
| 1544 | python-pytest-xdist | 1551 | "::test_snapshot_cohorts[PerfectMonthly]" |
| 1545 | python-setuptools | 1552 | "::test_snapshot_cohorts[RandomBigArray]" |
| 1546 | python-setuptools-scm | 1553 | "::test_snapshot_cohorts[SingleChunk]" |
| 1547 | python-sparse | 1554 | "::test_snapshot_cohorts[NWMMidwest]"))))) |
| 1548 | python-xarray)) | 1555 | (native-inputs |
| 1556 | (list python-netcdf4 | ||
| 1557 | python-pytest | ||
| 1558 | python-pytest-snapshot | ||
| 1559 | python-pytest-xdist | ||
| 1560 | python-setuptools | ||
| 1561 | python-setuptools-scm)) | ||
| 1562 | (propagated-inputs | ||
| 1563 | (list python-numpy | ||
| 1564 | python-numpy-groupies | ||
| 1565 | python-packaging | ||
| 1566 | python-pandas | ||
| 1567 | python-scipy | ||
| 1568 | python-toolz | ||
| 1569 | ;; [optional] | ||
| 1570 | ;; python-asv ;not packaged yet in Guix | ||
| 1571 | python-cachey | ||
| 1572 | python-cftime | ||
| 1573 | ;; python-cubed ;not packaged yet in Guix | ||
| 1574 | python-dask | ||
| 1575 | python-lxml | ||
| 1576 | python-matplotlib | ||
| 1577 | python-numba | ||
| 1578 | python-numbagg | ||
| 1579 | python-sparse | ||
| 1580 | python-xarray | ||
| 1581 | python-zarr)) | ||
| 1549 | (home-page "https://github.com/xarray-contrib/flox") | 1582 | (home-page "https://github.com/xarray-contrib/flox") |
| 1550 | (synopsis "GroupBy operations for @code{dask.array}") | 1583 | (synopsis "GroupBy operations for @code{dask.array}") |
| 1551 | (description "@code{flox} mainly provides strategies for fast GroupBy | 1584 | (description |
| 1552 | reductions with @code{dask.array}. It uses the MapReduce paradigm (or a | 1585 | "@code{flox} mainly provides strategies for fast GroupBy reductions with |
| 1553 | \"tree reduction\") to run the GroupBy operation in a parallel-native way | 1586 | @code{dask.array}. It uses the MapReduce paradigm (or a \"tree reduction\") |
| 1554 | totally avoiding a sort or shuffle operation. @code{flox} can use either | 1587 | to run the GroupBy operation in a parallel-native way totally avoiding a sort |
| 1555 | @code{dask} or @code{cubed} as its backend.") | 1588 | or shuffle operation. @code{flox} can use either @code{dask} or @code{cubed} |
| 1589 | as its backend.") | ||
| 1556 | (license license:asl2.0))) | 1590 | (license license:asl2.0))) |
| 1557 | 1591 | ||
| 1558 | (define-public python-formulaic | 1592 | (define-public python-formulaic |
