sharlatan pushed a commit to branch master
in repository guix.

commit 695187c45ad98152de65158996fa83ede3ed91fb
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Apr 23 20:19:35 2025 +0100

    gnu: python-ipyparallel: Update to 9.0.1.
    
    * gnu/packages/python-xyz.scm (python-ipyparallel-bootstrap): Update to 
9.0.1.
    [build-system]: Switch to pyproject.
    [native-inputs]: Add python-hatchling.
    (python-ipyparallel) [arguments] <phases>: Use default 'check.
    [native-inputs]: Inherit from python-ipyparallel-bootstrap; remove
    python-pytest-cov.
    
    Change-Id: I2200d2757f36d566b57ba1ac0368cb5f9751d2ba
---
 gnu/packages/python-xyz.scm | 34 +++++++++++++++-------------------
 1 file changed, 15 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8427d3aed7..ce0ae46ddc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13737,15 +13737,14 @@ away.")
   (hidden-package
    (package
      (name "python-ipyparallel-bootstrap")
-     (version "8.2.1")
+     (version "9.0.1")
      (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "ipyparallel" version))
         (sha256
-         (base32
-          "0wiwfd7870zbmczzn96jqxxjf2zcbcaxnsl1ddn8hspwa8y4frzj"))))
-     (build-system python-build-system)
+         (base32 "177jk2g8srsddgyb4djbyci93v766vzrnqzzpd7ski804anjqn9f"))))
+     (build-system pyproject-build-system)
      (arguments
       (list
        #:tests? #f
@@ -13753,6 +13752,8 @@ away.")
                     ;; The python-ipykernel is normally propagated but is
                     ;; removed from this package to break the cycle.
                     (delete 'sanity-check))))
+     (native-inputs
+      (list python-hatchling))
      (propagated-inputs
       (list python-dateutil
             python-decorator
@@ -13768,9 +13769,9 @@ away.")
      (home-page "https://ipython.org/";)
      (synopsis "Interactive Parallel Computing with IPython")
      (description
-      "@code{ipyparallel} is a Python package and collection of CLI scripts for
-controlling clusters for Jupyter.  @code{ipyparallel} contains the following
-CLI scripts:
+      "@code{ipyparallel} is a Python package and collection of CLI scripts
+for controlling clusters for Jupyter.  @code{ipyparallel} contains the
+following CLI scripts:
 @enumerate
 @item ipcluster - start/stop a cluster
 @item ipcontroller - start a scheduler
@@ -13783,19 +13784,14 @@ CLI scripts:
     (inherit python-ipyparallel-bootstrap)
     (name "python-ipyparallel")
     (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda _
-              (invoke "pytest" "-vv"))))))
+     (list #:test-flags #~(list "--pyargs" "ipyparallel")))
     (native-inputs
-     (list python-ipython
-           python-pytest
-           python-pytest-asyncio
-           python-pytest-cov
-           python-pytest-tornado
-           python-testpath))
+     (modify-inputs (package-native-inputs python-ipyparallel-bootstrap)
+       (append python-ipython
+               python-pytest
+               python-pytest-asyncio
+               python-pytest-tornado
+               python-testpath)))
     (propagated-inputs
      (modify-inputs (package-propagated-inputs python-ipyparallel-bootstrap)
        (replace "python-jupyter-client-bootstrap" python-jupyter-client)

Reply via email to