Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cython
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
cython
Commits
71244fe5
Commit
71244fe5
authored
4 months ago
by
Colin Watson
Browse files
Options
Downloads
Patches
Plain Diff
Backport ufunc Numpy2 fix
Closes: #1095084
parent
77afdca9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/patches/numpy-2.0.patch
+26
-0
26 additions, 0 deletions
debian/patches/numpy-2.0.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
33 additions
and
0 deletions
debian/changelog
+
6
−
0
View file @
71244fe5
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
...
...
This diff is collapsed.
Click to expand it.
debian/patches/numpy-2.0.patch
0 → 100644
+
26
−
0
View file @
71244fe5
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
"""
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
71244fe5
...
...
@@ -3,3 +3,4 @@ debup_workaround_verify_resolution_GH1533
disable_tests.patch
noexcept-regression.patch
noexcept-regression-tests.patch
numpy-2.0.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment