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
This commit is contained in:
Sharlatan Hellseher 2025-07-11 13:47:45 +01:00
parent 5b22257732
commit 2d13fbf706
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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