diff --git a/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch b/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch deleted file mode 100644 index 5442c4c..0000000 --- a/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 852286242ee46cc16f0a6efef7eb40a5ab3c57d5 Mon Sep 17 00:00:00 2001 -From: da-woods -Date: Wed, 25 Dec 2024 12:12:11 +0000 -Subject: [PATCH] Backport ufunc Numpy2 fix - ---- - 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 f489a07d5e4..b1895ee7903 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 - """ diff --git a/Cython.spec b/Cython.spec index af0eb78..46a91ad 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.11 +Version: 3.0.12 Release: %autorelease Summary: Language for writing Python extension modules @@ -13,10 +13,6 @@ License: Apache-2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz -# Backport patch for NumPy 2.x -# https://github.com/cython/cython/issues/6581 -Patch: https://github.com/cython/cython/commit/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch - BuildRequires: python3-devel %if %{with tests} diff --git a/sources b/sources index a1c6015..fb14614 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.11.tar.gz) = 8f7982af5be1db1072b1090257a9d487dc341d79522f442f4608303d18b388349a7d586ec74e66fbffd0ce88c00ca622202729907fe7cefef71828cfd3f68fe6 +SHA512 (Cython-3.0.12.tar.gz) = bbf2cc662b846cf5ff9b686046ec210ea9d3893482e2b5a2696d2ad44f12facd15075b168a3eb6d1f4ea799786f676868eab2593451bceb2937aec2cb1aea99e