Skip to content
Snippets Groups Projects
Commit 71244fe5 authored by Colin Watson's avatar Colin Watson
Browse files

Backport ufunc Numpy2 fix

Closes: #1095084
parent 77afdca9
No related branches found
No related tags found
No related merge requests found
cython (3.0.11+dfsg-2) UNRELEASED; urgency=medium
* Backport ufunc Numpy2 fix (closes: #1095084).
-- Colin Watson <cjwatson@debian.org> Sun, 09 Feb 2025 16:47:10 +0000
cython (3.0.11+dfsg-1) unstable; urgency=medium
* Team upload
......
From: da-woods <dw-git@d-woods.co.uk>
Date: Wed, 25 Dec 2024 12:12:11 +0000
Subject: Backport ufunc Numpy2 fix
Origin: upstream, https://github.com/cython/cython/commit/852286242ee46cc16f0a6efef7eb40a5ab3c57d5
Bug-Debian: https://bugs.debian.org/1095084
Last-Update: 2025-02-09
---
tests/run/ufunc.pyx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/run/ufunc.pyx b/tests/run/ufunc.pyx
index f489a07..b1895ee 100644
--- a/tests/run/ufunc.pyx
+++ b/tests/run/ufunc.pyx
@@ -124,8 +124,8 @@ def test_plus_one_twice():
Test a function returning a fused ctuple
>>> plus_one_twice(int_arr_1d) # doctest: +ELLIPSIS
(array([ 1, 5, 9, 13, 17]...), array([ 1, 5, 9, 13, 17]...))
- >>> plus_one_twice(1.j)
- ((1+1j), (1+1j))
+ >>> print(*plus_one_twice(1.j))
+ (1+1j) (1+1j)
2D variant skipped because it's hard to sensible doctest
"""
......@@ -3,3 +3,4 @@ debup_workaround_verify_resolution_GH1533
disable_tests.patch
noexcept-regression.patch
noexcept-regression-tests.patch
numpy-2.0.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment