Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Schlien
11dae0c22b
python3-gevent: upgrade 24.2.1 -> 24.11.1
Changelog:
=========
24.11.1 (2024-11-11)
Bugfixes
- Remove some legacy code that supported Python 2 for compatibility with the
  upcoming releases of Cython 3.1.
- Also, the PeriodicMonitorThreadStartedEvent now properly implements the
  IPeriodicMonitorThreadStartedEvent interface. The EventLoopBlocked event
  includes the hub which was blocked, and it is notified before the report
  is printed so that event listeners can modify the report. See issue #2076.

24.10.3 (2024-10-18)
Bugfixes
- Fix clearing stack frames on Python 3.13. This is invoked when you fork
  after having used the thread pool. See issue #2067.
- Distribute manylinux2014 wheels for x86_64. See issue #2068.
- Stop switching to the hub in the after fork hook in a child process. This
  could lead to strange behaviour, and is different than what all other
  versions of Python do.

24.10.2 (2024-10-11)
Bugfixes
- Workaround a Cython bug compiling on GCC14. See issue #2049.

24.10.1 (2024-10-09)
Features
- Update the bundled c-ares to 1.33.1.
- Add support for Python 3.13.
  - The functions and classes in gevent.subprocess no longer accept
    stdout=STDOUT and raise a ValueError.
  Several additions and changes to the queue module, including:
  -  Queue.shutdown is available on all versions of Python.
  -  LifoQueue is now a joinable queue.
- gevent.monkey changed from a module to a package. The public API remains
  the same.
  For this release, private APIs (undocumented, marked internal, or
  beginning with an underscore) are also preserved. However, these may be
  changed or removed at any time in the future. If you are using one of
  these APIs and cannot replace it, please contact the gevent team.

Bugfixes
- For platforms that don’t have socketpair, upgrade our fallback code to
  avoid a security issue. See issue #2048.

Deprecations and Removals
- Remove support for Python 3.8, which has reached the end of its support
  lifecycle. See issue #remove_py38.

Signed-off-by: Thomas Schlien <ts@ferncast.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-04 10:14:37 -08:00
Ross Burton
6b9167400b
python3-gevent: fix build with Cython 3.0.10
Cython 3.0.10 generates code which causes compiler errors:

src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types]

>From discussion upstream, removing the final decorator works around this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:12:00 -07:00
Wang Mingyu
bd8c858652
python3-gevent: upgrade 23.9.1 -> 24.2.1
0001-_setuputils.py-Do-not-add-sys_inc_dir.patch
refreshed for 24.2.1

Changelog:
===========
-Add support for Python patch releases 3.11.8 and 3.12.2, which changed internal
 details of threading.
-Errors raised from subprocess.Popen may not have a filename set.
-SSLSocket.recv_into and SSLSocket.read no longer require the buffer to
 implement len and now work with buffers whose size is not 1.
-gh-108310: Fix CVE-2023-40217: Check for & avoid the ssl pre-close flaw.
-Drop setuptools to a soft test dependency.
-Drop support for very old versions of CFFI.
-Update bundled c-ares from 1.19.1 to 1.26.0.
-Locks created by gevent, but acquired from multiple different threads (not
 recommended), no longer spin to implement timeouts and interruptible blocking.
 Instead, they use the native functionality of the Python 3 lock.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Khem Raj
8ac152e9e8 python3-gevent: Upgrade to 22.8.0
This has the python 3.11 fix in it so drop the patch
Add a patch to avoid adding native include paths to compiler cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
2022-10-11 17:43:32 -07:00
Alexander Kanavin
8a4a47286d python3-gevent: make compatible with python 3.11
Force regeneration of cython files in particular
(and strip build paths out of them afterwards).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-05 08:24:50 -07:00