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

commit 334f6c0e20937eb637142bc74e2a66bde54271d4
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Fri Jul 11 13:47:45 2025 +0100

    gnu: python-cytoolz: Update to 1.0.1.
    
    * gnu/packages/python-xyz.scm (python-cytoolz): Update to 1.0.1.
      [build-system]: Use pyproject.
      [arguments] <tests?>: Enable them.
      <test-flags>: Add option to run tests against installed module.
      [native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
    
    Change-Id: Ifb9817cee571fb99666fc01f0c0196706fae7179
---
 gnu/packages/python-xyz.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ff2708bba..4fa4ebc053 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30459,25 +30459,26 @@ functions, and dictionaries.")
 (define-public python-cytoolz
   (package
     (name "python-cytoolz")
-    (version "0.11.2")
+    (version "1.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cytoolz" version))
        (sha256
-        (base32
-         "1d12mgaippxxhn24w2hj0my3aqkx80fks5g4wzfdsvl0acqnc8za"))
+        (base32 "1mn7n916w8dfij3zq139a4szv12rwp94xxrnfvnv66wyp1hk3k49"))
        (modules '((guix build utils)))
        (snippet
         '(for-each delete-file (find-files "cytoolz" "\\.c$")))))
-    (build-system python-build-system)
-    ;; FIXME: tests fail with "module 'cytoolz.curried' has no attribute
-    ;; 'exceptions'"
-    (arguments '(#:tests? #f))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags #~(list "--pyargs" "cytoolz")))
+    (native-inputs
+     (list python-cython
+           python-pytest
+           python-setuptools
+           python-wheel))
     (propagated-inputs
      (list python-toolz))
-    (native-inputs
-     (list python-cython))
     (home-page "https://github.com/pytoolz/cytoolz";)
     (synopsis "High performance functional utilities")
     (description

Reply via email to