./net/py-gevent, Python-gevent a coroutine-based Python networking library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 24.11.1nb1, Package name: py312-gevent-24.11.1nb1, Maintainer: kamel.derouiche

gevent is a coroutine-based Python networking library that uses greenlet
to provide a high-level synchronous API on top of libevent event loop.


Required to run:
[net/libcares] [devel/py-setuptools] [devel/libev] [devel/py-cython] [devel/py-cffi] [devel/py-greenlet] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 5836.547 KB

Version history: (Expand)


CVS history: (Expand)


   2025-04-15 07:38:04 by Adam Ciarcinski | Files touched by this commit (30) | Package updated
Log message:
Fix PLIST after py-setuptools update; bump depends and revision
   2025-01-08 21:40:12 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-gevent: updated to 24.11.1

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.

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.
- Distribute manylinux2014 wheels for x86_64.
- 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.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-02-22 14:55:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-gevent: updated to 24.2.1

24.2.1 (2024-02-14)

Bugfixes
--------

- Add support for Python patch releases 3.11.8 and 3.12.2, which changed
  internal details of threading.

  As a result of these changes, note that it is no longer possible to
  change the ``__class__`` of a ``gevent.threading._DummyThread``
  object on those versions.

  See :issue:`2020`.

Other
-----

Other updates for compatibility with the standard library include:

  - 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.

In addition:

  - 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. This may improve some scenarios.
    See :issue:`2013`.
   2024-02-11 21:04:25 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-gevent: updated to 23.9.1

23.9.1 (2023-09-12)
Bugfixes
Require greenlet 3.0 on Python 3.11 and Python 3.12; greenlet 3.0 is recommended \ 
for all platforms. This fixes a number of obscure crashes on all versions of \ 
Python, as well as fixing a fairly common problem on Python 3.11+ that could \ 
manifest as either a crash or as a SystemError.

23.9.0.post1 (2023-09-02)
Fix Windows wheel builds.
Fix macOS wheel builds.

23.9.0 (2023-09-01)
Bugfixes
Make gevent.select.select accept arbitrary iterables, not just sequences. That \ 
is, you can now pass in a generator of file descriptors instead of a realized \ 
list. Internally, arbitrary iterables are copied into lists. This better matches \ 
what the standard library does. Thanks to David Salvisberg.
On Python 3.11 and newer, opt out of Cython’s fast exception manipulation, \ 
which may be causing problems in certain circumstances when combined with \ 
greenlets.
On all versions of Python, adjust some error handling in the default C-based \ 
loop. This fixes several assertion failures on debug versions of CPython. \ 
Hopefully it has a positive impact under real conditions.

Make gevent.pywsgi comply more closely with the HTTP specification for chunked \ 
transfer encoding. In particular, we are much stricter about trailers, and \ 
trailers that are invalid (too long or featuring disallowed characters) forcibly \ 
close the connection to the client after the results have been sent.
   2023-07-21 12:00:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-gevent: updated to 23.7.0

23.7.0 (2023-07-11)
===================

Features
--------

- Add preliminary support for Python 3.12, using greenlet 3.0a1. This
  is somewhat tricky to build from source at this time, and there is
  one known issue: On Python 3.12b3, dumping tracebacks of greenlets
  is not available.
  :issue:`1969`.
- Update the bundled c-ares version to 1.19.1.
  See :issue:`1947`.

Bugfixes
--------

- Fix an edge case connecting a non-blocking ``SSLSocket`` that could result
  in an AttributeError. In a change to match the standard library,
  calling ``sock.connect_ex()`` on a subclass of ``socket`` no longer
  calls the subclass's ``connect`` method.

  Initial fix by Priyankar Jain.
  See :issue:`1932`.
- Make gevent's ``FileObjectThread`` (mostly used on Windows) implement
  ``readinto`` cooperatively. PR by Kirill Smelkov.
  See :issue:`1948`.
- Work around an ``AttributeError`` during cyclic garbage collection
  when Python finalizers (``__del__`` and the like) attempt to use
  gevent APIs. This is not a recommended practice, and it is unclear if
  catching this ``AttributeError`` will fix any problems or just shift
  them. (If we could determine the root situation that results in this
  cycle, we might be able to solve it.)
  See :issue:`1961`.

Deprecations and Removals
-------------------------

- Remove support for obsolete Python versions. This is everything prior
  to 3.8.

  Related changes include:

  - Stop using ``pkg_resources`` to find entry points (plugins).
    Instead, use ``importlib.metadata``.
  - Honor ``sys.unraisablehook`` when a callback function produces an
    exception, and handling the exception in the hub *also* produces an
    exception. In older versions, these would be simply printed.
  - ``setup.py`` no longer includes the ``setup_requires`` keyword.
    Installation with a tool that understands ``pyproject.toml`` is
    recommended.
  - The bundled tblib has been updated to version 2.0.
   2023-06-18 07:26:02 by Adam Ciarcinski | Files touched by this commit (7)
Log message:
py-ZopeEvent: moved to py-zope.event
   2022-11-23 06:56:53 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-gevent: not for Python 2.7 anymore