rekado pushed a commit to branch master
in repository guix.

commit 31fe58bb38c3dee37206c4897754e3f16dda4930
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Jan 16 22:06:37 2025 +0100

    gnu: python-more-itertools: Update to 10.6.0.
    
    * gnu/packages/python-xyz.scm (python-more-itertools-next): Rename this
    variable...
    (python-more-itertools): ...to this; update to 10.6.0.
    [propagated-inputs]: Remove python-six.
    * gnu/packages/astronomy.scm (python-yt)[propagated-inputs]: Replace
    python-more-itertools-next with python-more-itertools.
    
    Change-Id: I2fef91f87afde2b2659dd25b831fb13b4c118454
---
 gnu/packages/astronomy.scm  |  2 +-
 gnu/packages/python-xyz.scm | 38 +++++++++-----------------------------
 2 files changed, 10 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 235c4743cd..f2d5bb2fe9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6585,7 +6585,7 @@ using (multivariate) polynomials.")
            python-ewah-bool-utils
            python-ipywidgets
            python-matplotlib
-           python-more-itertools-next
+           python-more-itertools
            python-numpy
            python-packaging
            python-pillow
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e3de9778cf..851e139da6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28353,42 +28353,17 @@ interpreter. bpython's main features are
 file system events on Linux.")
     (license license:expat)))
 
-
 (define-public python-more-itertools
   (package
     (name "python-more-itertools")
-    (version "8.2.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "more-itertools" version))
-       (sha256
-        (base32
-         "01x5nwm1zxmnd06cllbdd095xxc2nd25ing1a726m2kd30rbkpdi"))))
-    (build-system python-build-system)
-    (home-page "https://github.com/erikrose/more-itertools";)
-    (synopsis "More routines for operating on iterables, beyond itertools")
-    (description "Python's built-in @code{itertools} module implements a
-number of iterator building blocks inspired by constructs from APL, Haskell,
-and SML.  @code{more-itertools} includes additional building blocks for
-working with iterables.")
-    (license license:expat)))
-
-;; Needed for python-yt, older version fails with exception: E ImportError:
-;; cannot import name 'mark_ends' from 'more_itertools'
-;; (<...>more_itertools/__init__.py)
-(define-public python-more-itertools-next
-  (package
-    (inherit python-more-itertools)
-    (name "python-more-itertools")
-    (version "10.2.0")
+    (version "10.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "more-itertools" version))
        (sha256
         (base32
-         "1q9rq9g026m4wl6ki2q8pw7xbc02vl34qqw702h9jgixqj0b9k4g"))
+         "0fzfnfga0jdx217kff57lx3pam76162i0dd0nsgwqccw038zmmrc"))
        (snippet
         ;; distutils.errors.DistutilsOptionError: No configuration found for
         ;; dynamic 'description'. Some dynamic fields need to be specified via
@@ -28406,8 +28381,13 @@ working with iterables.")
                 (invoke "python" "-m" "unittest")))))))
     (native-inputs
      (list python-flit-core))
-    (propagated-inputs
-     (list python-six))))
+    (home-page "https://github.com/erikrose/more-itertools";)
+    (synopsis "More routines for operating on iterables, beyond itertools")
+    (description "Python's built-in @code{itertools} module implements a
+number of iterator building blocks inspired by constructs from APL, Haskell,
+and SML.  @code{more-itertools} includes additional building blocks for
+working with iterables.")
+    (license license:expat)))
 
 (define-public python-latexcodec
   (package

Reply via email to