Update to 0.29.26

This commit is contained in:
Miro Hrončok 2022-01-07 10:44:03 +01:00
parent d5f7a019c7
commit f52c2ecc11
4 changed files with 6 additions and 28 deletions

1
.gitignore vendored
View File

@ -47,3 +47,4 @@ Cython-0.12.1.tar.gz
/Cython-0.29.21.tar.gz
/Cython-0.29.22.tar.gz
/Cython-0.29.24.tar.gz
/Cython-0.29.26.tar.gz

View File

@ -5,7 +5,7 @@
%bcond_without cython_compile
Name: Cython
Version: 0.29.24
Version: 0.29.26
Release: 1%{?dist}
Summary: Language for writing Python extension modules
@ -13,9 +13,6 @@ License: ASL 2.0
URL: http://www.cython.org
Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz
# Fix test issue
Patch0: https://github.com/cython/cython/commit/bf4979e244.patch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -130,6 +127,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir
%changelog
* Fri Jan 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.26-1
- Update to 0.29.26
* Wed Jul 21 2021 Scott Talbert <swt@techie.net> - 0.29.24-1
- Update to 0.29.24 to fix FTBFS with Python 3.10

View File

@ -1,23 +0,0 @@
From bf4979e2441ffbc9aaeb88f5c67608578040588f Mon Sep 17 00:00:00 2001
From: Stefan Behnel <stefan_ml@behnel.de>
Date: Sat, 3 Apr 2021 08:23:44 +0200
Subject: [PATCH] Make a helper function in a C++ test correctly propagate
exceptions so that it won't have to spit out compiler warnings.
---
tests/run/cpp_stl_conversion.pyx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/run/cpp_stl_conversion.pyx b/tests/run/cpp_stl_conversion.pyx
index 578915a0b7..3ea404d256 100644
--- a/tests/run/cpp_stl_conversion.pyx
+++ b/tests/run/cpp_stl_conversion.pyx
@@ -15,7 +15,7 @@ py_set = set
py_xrange = xrange
py_unicode = unicode
-cdef string add_strings(string a, string b):
+cdef string add_strings(string a, string b) except *:
return a + b
def normalize(bytes b):

View File

@ -1 +1 @@
SHA512 (Cython-0.29.24.tar.gz) = 387a827f3cb7428248019744e3ed606a133d98ac882b83624d24ae0fdf8a8f2334978555d7d84e5cc4adaf715c541fef64e45bcbdda85ca33473c21f99360be8
SHA512 (Cython-0.29.26.tar.gz) = 936449dd0031c2e2baeb4402a448d632324c1b66bf062ae0e632cf63dc27556607efb8446e8f913253b761627d3946283c2a60fdcad8c2434e1601fe4b0fb60e