guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit f8dab7d2466fa293c98c9b4e2e5fa2d8619b74ed
Author: Sharlatan Hellseher <[email protected]>
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 449145ed3a..048f7d6b48 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30399,25 +30399,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