guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 068654e0e9428634f6f9cb26b0868543c23e30ad
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 24 15:35:53 2025 +0100

    gnu: python-sparse: Move to python-science.
    
    * gnu/packages/python-xyz.scm (python-sparse): Move from here ...
    * gnu/packages/python-science.scm: ... to here.
    
    Change-Id: I52b814e264aa2fe28adeaec46b868f2e3b8279ec
---
 gnu/packages/python-science.scm | 39 +++++++++++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm     | 38 --------------------------------------
 2 files changed, 39 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 561f4f0936..e0ddeb6e4c 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020 Pierre Langlois <[email protected]>
 ;;; Copyright © 2020-2025 Vinicius Monego <[email protected]>
 ;;; Copyright © 2021 Greg Hogan <[email protected]>
+;;; Copyright © 2021 Mădălin Ionel Patrașcu 
<[email protected]>
 ;;; Copyright © 2021 Roel Janssen <[email protected]>
 ;;; Copyright © 2021 Paul Garlick <[email protected]>
 ;;; Copyright © 2021 Arun Isaac <[email protected]>
@@ -3081,6 +3082,44 @@ its software deployment plugins.")
 Snakemake and its storage plugins.")
     (license license:expat)))
 
+(define-public python-sparse
+  (package
+    (name "python-sparse")
+    (version "0.15.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sparse" version))
+       (sha256
+        (base32
+         "0rp29gp82qwwkq210pzh2qmlqhi2007nb7p7nwqmrkgmjq6cwxjc"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs
+     (list python-numba python-numpy python-scipy))
+    (native-inputs
+     (list python-dask
+           python-pytest
+           python-pytest-cov
+           python-setuptools
+           python-setuptools-scm-next
+           python-wheel))
+    (home-page "https://github.com/pydata/sparse/";)
+    (synopsis "Library for multi-dimensional sparse arrays")
+    (description
+     "This package implements sparse arrays of arbitrary dimension on top of
+@code{numpy} and @code{scipy.sparse}.  Sparse array is a matrix in which most
+of the elements are zero.  @code{python-sparse} generalizes the
+@code{scipy.sparse.coo_matrix} and @code{scipy.sparse.dok_matrix} layouts, but
+extends beyond just rows and columns to an arbitrary number of dimensions.
+Additionally, this project maintains compatibility with the
+@code{numpy.ndarray} interface rather than the @code{numpy.matrix} interface
+used in @code{scipy.sparse}.  These differences make this project useful in
+certain situations where @code{scipy.sparse} matrices are not well suited, but
+it should not be considered a full replacement.  It lacks layouts that are not
+easily generalized like @dfn{compressed sparse row/column}(CSR/CSC) and
+depends on @code{scipy.sparse} for some computations.")
+    (license license:bsd-3)))
+
 (define-public python-tdda
   (package
     (name "python-tdda")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4aa8aa2330..3f5264ebcd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10598,44 +10598,6 @@ objects.")
      "This is a Python library for color math and conversions.")
     (license license:bsd-3)))
 
-(define-public python-sparse
-  (package
-    (name "python-sparse")
-    (version "0.15.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "sparse" version))
-       (sha256
-        (base32
-         "0rp29gp82qwwkq210pzh2qmlqhi2007nb7p7nwqmrkgmjq6cwxjc"))))
-    (build-system pyproject-build-system)
-    (propagated-inputs
-     (list python-numba python-numpy python-scipy))
-    (native-inputs
-     (list python-dask
-           python-pytest
-           python-pytest-cov
-           python-setuptools
-           python-setuptools-scm-next
-           python-wheel))
-    (home-page "https://github.com/pydata/sparse/";)
-    (synopsis "Library for multi-dimensional sparse arrays")
-    (description
-     "This package implements sparse arrays of arbitrary dimension on top of
-@code{numpy} and @code{scipy.sparse}.  Sparse array is a matrix in which most
-of the elements are zero.  @code{python-sparse} generalizes the
-@code{scipy.sparse.coo_matrix} and @code{scipy.sparse.dok_matrix} layouts, but
-extends beyond just rows and columns to an arbitrary number of dimensions.
-Additionally, this project maintains compatibility with the
-@code{numpy.ndarray} interface rather than the @code{numpy.matrix} interface
-used in @code{scipy.sparse}.  These differences make this project useful in
-certain situations where @code{scipy.sparse} matrices are not well suited, but
-it should not be considered a full replacement.  It lacks layouts that are not
-easily generalized like @dfn{compressed sparse row/column}(CSR/CSC) and
-depends on @code{scipy.sparse} for some computations.")
-    (license license:bsd-3)))
-
 (define-public python-spectra
   (package
     (name "python-spectra")

Reply via email to