Skip to content

Commit

Permalink
requirements: bump gevent to 24.11.2
Browse files Browse the repository at this point in the history
Bump `gevent` version to 24.11.2 to avoid the following issue with
installation in a Python 3.12 environment:

Error compiling Cython file:
------------------------------------------------------------
...
cdef tuple integer_types

if sys.version_info[0] >= 3:
  integer_types = int,
else:
  integer_types = (int, long)
			^
------------------------------------------------------------
src/gevent/libev/corecext.pyx:60:26: undeclared name not builtin: long

Version `24.*` doesn't support Python 3.7 and Python 3.8, so continue
using `22.*` version for these versions.
  • Loading branch information
georgiy-belyanin committed Dec 26, 2024
1 parent 270e24e commit 6b84e14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Pin pyyaml to 5.3.1 until yaml/pyyaml#724 is fixed.
PyYAML==5.3.1
gevent==22.10.2
gevent==22.10.2; python_version <= '3.8'
gevent==24.11.1; python_version > '3.8'

0 comments on commit 6b84e14

Please sign in to comment.