Update to 3.0.6
This commit is contained in:
parent
704bbe1117
commit
4f6fdd4aa8
1
.gitignore
vendored
1
.gitignore
vendored
@ -65,3 +65,4 @@ Cython-0.12.1.tar.gz
|
||||
/Cython-3.0.3.tar.gz
|
||||
/Cython-3.0.4.tar.gz
|
||||
/Cython-3.0.5.tar.gz
|
||||
/Cython-3.0.6.tar.gz
|
||||
|
||||
35
5791.patch
35
5791.patch
@ -1,35 +0,0 @@
|
||||
From add379d9df149149e3718bd8f71945b7d02fcf4e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||
Date: Wed, 1 Nov 2023 21:32:40 +0100
|
||||
Subject: [PATCH] Fix C++17 error: standard attributes in middle of
|
||||
decl-specifiers (CYTHON_UNUSED)
|
||||
|
||||
This is only relevant on Python 3.13+
|
||||
|
||||
Fixes https://github.com/cython/cython/issues/5790
|
||||
---
|
||||
Cython/Utility/FunctionArguments.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Cython/Utility/FunctionArguments.c b/Cython/Utility/FunctionArguments.c
|
||||
index 5050a094a88..0dc89c638ab 100644
|
||||
--- a/Cython/Utility/FunctionArguments.c
|
||||
+++ b/Cython/Utility/FunctionArguments.c
|
||||
@@ -505,7 +505,7 @@ static int __Pyx_MergeKeywords(PyObject *kwdict, PyObject *source_mapping) {
|
||||
#define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
|
||||
static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
|
||||
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
||||
- static CYTHON_UNUSED PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);/*proto*/
|
||||
+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);/*proto*/
|
||||
#else
|
||||
#define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
|
||||
#endif
|
||||
@@ -563,7 +563,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO
|
||||
}
|
||||
|
||||
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
|
||||
-static CYTHON_UNUSED PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
||||
+CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
|
||||
Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames);
|
||||
PyObject *dict;
|
||||
|
||||
10
Cython.spec
10
Cython.spec
@ -5,7 +5,7 @@
|
||||
%bcond cython_compile 1
|
||||
|
||||
Name: Cython
|
||||
Version: 3.0.5
|
||||
Version: 3.0.6
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
|
||||
# Fix C++17 error: standard attributes in middle of decl-specifiers (CYTHON_UNUSED)
|
||||
# This is only relevant on Python 3.13+
|
||||
Patch: https://github.com/cython/cython/pull/5791.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%if %{with tests}
|
||||
@ -122,6 +118,10 @@ Provides: bundled(python3dist(tempita))
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 30 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.6-1
|
||||
- Update to 3.0.6
|
||||
- Fixes: rhbz#2251973
|
||||
|
||||
* Tue Oct 31 2023 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-1
|
||||
- Update to 3.0.5
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (Cython-3.0.5.tar.gz) = 585d3fe810ace55278fcc6ea4508b3b5259320f92998cd688da787cd5f88ac5fc2467025f20da6d968969eb3296ae9c517136d24a4dbb475441271227968f6be
|
||||
SHA512 (Cython-3.0.6.tar.gz) = f1d33775166d0b6541ea98bee5d4186fc6128aad788323224397c1f3ba0a058141ac84a8b3baa4885204dcbf0979141bc4b5316342003e96208952f040f31753
|
||||
|
||||
Loading…
Reference in New Issue
Block a user