guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 2b1b170da56172918533684cfa583c2befa0aa12
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Sep 28 23:22:29 2025 +0100

    gnu: python-aplus: Update to 0.11.1-0.1ab8ebe.
    
    * gnu/packages/python-science.scm (python-aplus): Update to 
0.11.1-0.1ab8ebe.
    [source]: Switch to git-fetch and build from the latest commit.
    [build-system]: Switch to pyproject-build-system.
    [arguments] <tests?>: Disable them as depending on Nose test runner.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I34bf72f8d0103122dfcf399e6823eaca2db1d69d
---
 gnu/packages/python-science.scm | 42 ++++++++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 74742b73e9..ad89a3940a 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -335,22 +335,34 @@ reduces the code overhead typically encountered when 
using a mostly
 object-oriented library such as @code{scikit-learn}.")
     (license license:bsd-3)))
 
+;; XXX: See: <https://codeberg.org/guix/guix/issues/3093>.
 (define-public python-aplus
-  (package
-    (name "python-aplus")
-    (version "0.11.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "aplus" version))
-       (sha256
-        (base32 "1rznc26nlp641rn8gpdngfp79a3fji38yavqakxi35mx2da04msg"))))
-    (build-system python-build-system)
-    (home-page "https://github.com/xogeny/aplus";)
-    (synopsis "Promises/A+ for Python")
-    (description "This package is an implementation of the Promises/A+
-specification and test suite in Python.")
-    (license license:expat)))
+  ;; PyPI release lacks the latest version, Git has no tags.
+  (let ((commit "1ab8ebec987fb7213766784aad02cbf4410d9036")
+        (revision "0"))
+    (package
+      (name "python-aplus")
+      (version (git-version "0.11.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/xogeny/aplus";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "02jcfj7dywvs0sd60c85pxwh0mwsj9p1q27445pba6j489x3dffj"))))
+      (build-system pyproject-build-system)
+      (arguments
+       (list #:tests? #f))      ;they depend on Nose test runner
+      (native-inputs
+       (list python-setuptools))
+      (home-page "https://github.com/xogeny/aplus";)
+      (synopsis "Promises/A+ for Python")
+      (description
+       "This package is an implementation of the Promises/A+ specification and
+test suite in Python.")
+      (license license:expat))))
 
 (define-public python-apted
   ;; PyPI release lacks tests and there is no Git tag.

Reply via email to