rekado pushed a commit to branch wip-python-team
in repository guix.

commit 57f265f1eaedd346cb68fe0fd80cb0566e54876f
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu May 2 16:09:40 2024 +0200

    gnu: python-dask: Do not reference pyarrow_hotfix.
    
    * gnu/packages/python-xyz.scm (python-dask)[arguments]: Add 'patch-pyproject
    phase.
    
    Change-Id: Idd173b72b1467540c295224072f3740c7f42b0a8
---
 gnu/packages/python-xyz.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4128a5e0d5..c70e44270f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28109,6 +28109,11 @@ parentdir_prefix = dask-
               ;; This option is not supported by our version of pytest.
               (substitute* "pyproject.toml"
                 (("--cov-config=pyproject.toml") ""))))
+          (add-after 'unpack 'patch-pyproject
+            (lambda _
+              ;; We use pyarrow > 14
+              (substitute* "pyproject.toml"
+                (("\"pyarrow_hotfix\",") ""))))
           (add-before 'check 'pre-check
             (lambda _ (chdir "/tmp"))))))
     (propagated-inputs

Reply via email to