summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-08-05 12:12:26 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:34 +0100
commita528b5f26620c36bc67ad6571ca7350203a2c448 (patch)
treeb1519bf197ed6888df98ed6bb5f09842704e15fb /gnu
parent95a19cf33299cd59fef1099278ccdf5413231a1f (diff)
gnu: python-qnorm: Fix build.
* gnu/packages/python-xyz.scm (python-qnorm)[arguments]{phases}: Add phase 'fix-pandas-3. Fix suggested-by gen-AI Relates-to: guix/guix!10394 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 39e921fce06..367c758d7d9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17032,6 +17032,20 @@ falling into the Python interpreter.")
17032 (sha256 17032 (sha256
17033 (base32 "0bgqxmqq8d3il0gnbvlb5sik50f6z8myx7p652lpv4llj9hrl2w8")))) 17033 (base32 "0bgqxmqq8d3il0gnbvlb5sik50f6z8myx7p652lpv4llj9hrl2w8"))))
17034 (build-system pyproject-build-system) 17034 (build-system pyproject-build-system)
17035 (arguments
17036 (list
17037 #:phases
17038 #~(modify-phases %standard-phases
17039 (add-after 'unpack 'fix-pandas-3
17040 (lambda _
17041 ;; Pandas 3.0 removed the implicit engine fallback that used
17042 ;; to switch to the Python engine whenever sep=None was
17043 ;; passed without an explicit 'engine', which get_delim()
17044 ;; relied on for delimiter auto-detection
17045 ;; Try removing the phase on the next update.
17046 (substitute* "qnorm/util.py"
17047 (("table, sep=None, iterator=True")
17048 "table, sep=None, engine=\"python\", iterator=True")))))))
17035 (propagated-inputs 17049 (propagated-inputs
17036 (list python-numba python-numpy python-pandas 17050 (list python-numba python-numpy python-pandas
17037 ;; XXX: pandas optional dependencies. 17051 ;; XXX: pandas optional dependencies.