guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit fe974b84dec36d107a1c5e5a2e9573fdff05360f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu May 28 22:20:22 2026 +0100
gnu: python-cython: Update to 3.2.5.
Release notes since 3.1.7 (2025-11-12):
- 3.2.4 (2026-01-04)
<https://github.com/cython/cython/releases/tag/3.2.4>.
- 3.1.8 (2026-01-03)
<https://github.com/cython/cython/releases/tag/3.1.8>.
- 3.2.3 (2025-12-14)
<https://github.com/cython/cython/releases/tag/3.2.3-1>.
- 3.2.2 (2025-11-30)
<https://github.com/cython/cython/releases/tag/3.2.2>.
- 3.2.1 (2025-11-12)
<https://github.com/cython/cython/releases/tag/3.2.1>.
* gnu/packages/python-xyz.scm (python-cython): Update to 3.2.5.
[source]: Switch to git-fetch.
[arguments]: Limit the number of threads for tests up to 8 to improve
stability.
Rework skipped tests.
[native-inputs]: Remove python-wheel.
Change-Id: I4056c605c2d19a75d32c7a31555a746fda26fad0
---
gnu/packages/python-xyz.scm | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 26634ffb88..9cb5b5f79b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11922,13 +11922,16 @@ For some datatypes the overhead can be reduced by
using khash by factor 4-8.")
;; TODO: Move to python-build.
(package
(name "python-cython")
- (version "3.1.7")
+ (version "3.2.5")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "cython" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cython/cython")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0gaslzb3virk4v6yh5a7dp6ka1lm267v994g8r25lck1702vjy3g"))))
+ (base32 "07n0x4z0ifkhl8hi47amqhqfjc6jlh5dra9r54nlsnwnai83psy1"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -11936,17 +11939,16 @@ For some datatypes the overhead can be reduced by
using khash by factor 4-8.")
#:test-flags
#~(list "runtests.py"
"-vv"
- "-j" (number->string (parallel-job-count))
+ ;; Some tests fail when number of cores are 24, keep on save
+ ;; minimal count.
+ "-j" (number->string (min 8 (parallel-job-count)))
"-x" (string-join
(list "annotate_html"
"Debugger"
- ;; It introduces cycle.
- "numpy_test"
;; It fails with AssertionError: Failed doctest test
;; for complex_numbers_cpp.double_abs.
+ ;; See:
<https://github.com/cython/cython/issues/6528>.
"complex_numbers_cpp"
- ;; This test fails when running on 24 cores.
- "cpp_stl_conversion"
#$@(if (target-32bit?)
;; XXX: On 32-bit architectures, running the
;; parallel tests fails on many-core systems.
@@ -11973,8 +11975,7 @@ For some datatypes the overhead can be reduced by using
khash by factor 4-8.")
(setenv "HOME" "/tmp"))))))
(native-inputs
(list libxcrypt
- python-setuptools
- python-wheel))
+ python-setuptools))
;; we need the full python package and not just the python-wrapper
;; because we need libpython3.3m.so
(inputs