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

commit 3bc110a501b520d4fa7eaba3216f4e837641a4ee
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Sun Jul 12 13:50:07 2026 +0200

    gnu: python-upsetplot: Update to 0.9.0-1.e9603da.
    
    * gnu/packages/python-science.scm (python-upsetplot): Update to 
0.9.0-1.e9603da.
    [source]: Switch to git-fetch and to maintained fork.
    
    Relates-to: guix/guix!9885
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-science.scm | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 423b8284dc..ead611a6ae 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5159,14 +5159,24 @@ NumPy and does not depend on C++ ROOT.")
 (define-public python-upsetplot
   (package
     (name "python-upsetplot")
-    (version "0.9.0")
+    ;; Latest release is incompatible with Pandas 3 and NumPy 2.4.
+    (properties '((commit . "e9603da19d321c047f88d404f687e82be415e52c")
+                  (revision . "1")))
+    (version (git-version "0.9.0"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "UpSetPlot" version))
+       (method git-fetch)
+       (uri (git-reference
+              ;; Using a fork of https://github.com/jnothman/UpSetPlot
+              ;; original source that is updated for Pandas 3 compatibility,
+              ;; see <https://github.com/kevinpetersavage/UpSetPlot/pull/1>.
+              (url "https://github.com/kevinpetersavage/UpSetPlot";)
+              (commit (assoc-ref properties 'commit))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "14l5gcj88cclkj1mf74bcy1pxq1hgsiy27fa3vxrsk32ik1nmdwm"))))
+        (base32 "155g0x4z0zdfri528spws5mad4d24vadsc827iy92f5br7vbf3j3"))))
     (build-system pyproject-build-system)
     (propagated-inputs
      (list python-matplotlib python-pandas))

Reply via email to