From 5a48c2cb09fe9365ef48df8f47f353375c38c9c4 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Fri, 28 Aug 2026 11:02:42 +0200 Subject: python-xyz: python-xrft: Update to 1.0.2. * guix-science/packages/python-xyz.scm (python-xrft) [source]: Update to 1.0.2. [arguments]<#:test-flags>: Ignore failing tests. <#:phases>: Remove, fixed upstream. [propagated-inputs]: Remove python-numpy-groupies. [native-inputs]: Add python-numpy-groupies. --- guix-science/packages/python-xyz.scm | 38 ++++++++++++------------------------ 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/guix-science/packages/python-xyz.scm b/guix-science/packages/python-xyz.scm index 802ec88..df80067 100644 --- a/guix-science/packages/python-xyz.scm +++ b/guix-science/packages/python-xyz.scm @@ -1743,11 +1743,10 @@ that more closely follows the features found in Bash.") "This package provides a Python library for generating word clouds.") (license license:expat))) - (define-public python-xrft (package (name "python-xrft") - (version "1.0.1") + (version "1.0.2") (source (origin (method git-fetch) @@ -1756,32 +1755,21 @@ that more closely follows the features found in Bash.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "065szfz022km6lv0vhfv4r4wnm4hxdp6d62lzd527fj3fgn612gj")))) + (base32 "185g9irymnp3ngczly8z25i8n43fasy63i408radi53kckq0fy43")))) (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-numpy-compatibility - (lambda _ - (substitute* "xrft/tests/test_xrft.py" - (("np\\.float") - "np.float64") - (("np\\.complex") - "np.complex128")))) - (add-after 'unpack 'fix-pandas-compatibility - (lambda _ - (substitute* "xrft/tests/test_xrft.py" - (("closed=\"left\"") - "inclusive=\"left\""))))))) - (propagated-inputs (list python-dask - python-numpy - python-numpy-groupies - python-pandas - python-scipy - python-xarray)) - (native-inputs (list python-cftime python-pytest python-setuptools - python-setuptools-scm)) + #:test-flags + #~(list + ;; Raise "ValueError: assignment destination is read-only". + (string-append "--deselect=xrft/tests/test_padding.py" + "::test_pad_coordinates_invalid") + (string-append "--deselect=xrft/tests/test_utils.py" + "::test_get_spacing_unvenly_spaced")))) + (propagated-inputs (list python-dask python-numpy python-pandas + python-scipy python-xarray)) + (native-inputs (list python-cftime python-numpy-groupies python-pytest + python-setuptools python-setuptools-scm)) (home-page "https://github.com/xgcm/xrft") (synopsis "Discrete Fourier Transform with xarray") (description "Discrete Fourier Transform with xarray.") -- cgit v1.2.3