Fix build with Cython 3.0.10
Resolves: rhbz#2275488
This commit is contained in:
parent
2ddfb8eb10
commit
63ad10bef5
2 changed files with 22 additions and 1 deletions
12
cython-3.0.10-fix.patch
Normal file
12
cython-3.0.10-fix.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/gevent/_gevent_cqueue.pxd b/src/gevent/_gevent_cqueue.pxd
|
||||
index 301fec1..3ebdf40 100644
|
||||
--- a/src/gevent/_gevent_cqueue.pxd
|
||||
+++ b/src/gevent/_gevent_cqueue.pxd
|
||||
@@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter):
|
||||
cdef readonly Queue queue
|
||||
|
||||
|
||||
-@cython.final
|
||||
cdef class UnboundQueue(Queue):
|
||||
pass
|
||||
|
||||
|
|
@ -4,13 +4,18 @@
|
|||
|
||||
Name: python-%{modname}
|
||||
Version: 23.9.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A coroutine-based Python networking library
|
||||
|
||||
License: MIT
|
||||
URL: http://www.gevent.org/
|
||||
Source0: %{pypi_source %{modname} %{version} tar.gz}
|
||||
|
||||
# Fix FTBFS with Cython 3.0.10
|
||||
# Downstream only
|
||||
# Reported upstream: https://github.com/gevent/gevent/issues/2031
|
||||
Patch: cython-3.0.10-fix.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: c-ares-devel
|
||||
BuildRequires: libev-devel
|
||||
|
|
@ -92,6 +97,10 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr
|
|||
%{python3_sitearch}/%{modname}*
|
||||
|
||||
%changelog
|
||||
* Tue May 14 2024 Charalampos Stratakis <cstratak@redhat.com> - 23.9.1-2
|
||||
- Fix build with Cython 3.0.10
|
||||
- Resolves: rhbz#2275488
|
||||
|
||||
* Sat Feb 17 2024 Orion Poplawski <orion@nwra.com> - 23.9.1-1
|
||||
- Update to 23.9.1 CVE-2023-41419 (bz#2242244)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue