bac43fa793
- Rework requirements: * Add missing setuptools for building * Remove obsolete requirements * Don't hard require optional requirements. See comments in setup.py - testrunner.py is no longer directly executable by default
Markéta Machová2026-01-05 08:47:00 +00:00
f5ddd47dea
- Update to 25.9.1 * gevent is now tested on PyPy 3.11 v7.3.20. Previously it was tested with the now end-of-life PyPy 3.10 v7.3.17. * Fix a `TypeError in the C extensions when attempting to put items into a full SimpleQueue. It is believed this problem started in version 25.4.1. On older versions, using the environment variable PURE_PYTHON or GEVENT_PURE_PYTHON works around See :issue:2139. - from version 25.8.2 * Make the queue attribute of gevent.queue.Queue objects writable from Python when the C extension is in use. When monkey-patched, this lets subclasses assign to it from their _init method. (Prior to 25.8.1 the _init method simply wasn't called.) See :issue:2136. - from version 25.8.1 * gevent is now tested on the latest available versions of Python: 3.14rc1, 3.13.5, 3.12.11, 3.11.13, and 3.10.18. We expect to remove support for Python 3.9 soon. * Prevent an AssertionError (from AbstractLinkable, such as locks, events, etc) from being printed after os.fork under certain conditions. See also :issue:2058. See :issue:1895. * Avoid a rare AttributeError that could occur during circular garbage collection. See :issue:1961. * Update c-ares from 1.33.1 to 1.34.5. This contains a bug fix <https://github.com/c-ares/c-ares/pull/974>`_ resolving excess CPU usage for certain platforms.
Matej Cepl2025-10-06 19:53:50 +00:00
3ca5cf6de4
Accepting request 1288091 from devel:languages:python
Ana Guerrero2025-06-24 18:45:09 +00:00
92c1c08295
- Tolerating failing test suite (gh#gevent/gevent#2118, bsc#1245168).
Matej Cepl2025-06-23 22:29:11 +00:00
256073e8e6
- Update to 25.5.1 * Update the bundled libuv to 1.51 from 1.44.2. * Note that this changes the minimum supported versions of various operating systems. Linux now requires kernel 3.10 and glibc 2.17, up from 2.6.32 and glibc 2.12; macOS now requires version 11, up from version 10.15; Windows now requires Windows 10 and Visual Studio 2017, up from Windows 8 and VS 2015; finally, FreeBSD now requires version 12, up from version 10. * The musl Linux wheels are now built with muslinux_1_2 instead of musllinux_1_1. See issue #2108. * Add support for Cython 3.1 on Windows. * Add support for Python 3.14b1 and significantly expand the set of standard library tests we run with monkey-patching. - Update BuildRequires and Requires from pyproject.toml
Dirk Mueller2025-06-13 10:55:34 +00:00
8e98e6e02a
- Update to 25.4.2: * Make gevent's queue classes subscriptable to match the standard library. See issue #2102. * Make the c-ares resolver build on Windows. * The gevent testsuite runs a copy of the test_ssl from cpython but the follwoing change has not been ported yet: - gh-126500: test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler [gh#python/cpython/pull/126503] - Rebase gevent-openssl35-test-fix.patch
Matej Cepl2025-04-25 15:10:19 +00:00
6bc85bcc79
- Update to 25.4.2: [bsc#1241067, bsc#1241037] * Make gevent's queue classes subscriptable to match the standard library. See issue #2102. * Make the c-ares resolver build on Windows. * The gevent testsuite runs a copy of the test_ssl from cpython but the follwoing change has not been ported yet: - gh-126500: test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler [gh#python/cpython/pull/126503] - Rebase gevent-openssl35-test-fix.patch - Upstream PR: [gh#gevent/gevent/pull/2103]
Markéta Machová2025-04-25 11:43:43 +00:00
16c36a2e56
Accepting request 1271903 from devel:languages:python
Ana Guerrero2025-04-23 13:18:20 +00:00
0db3ce2a8b
Accepting request 1217397 from devel:languages:python
Ana Guerrero2024-10-25 17:18:30 +00:00
a056c9851d
- Update to 24.10.3 * 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. - from version 24.10.2 * Workaround a Cython bug compiling on GCC14. - Drop gh-2031-cython-workaround.patch, merged upstream
Matej Cepl2024-10-23 16:57:05 +00:00
bddde4f858
Accepting request 1206713 from devel:languages:python
Ana Guerrero2024-10-11 15:01:03 +00:00
91b148b5aa
- Update to 24.10.1 * 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. * For platforms that don't have socketpair, upgrade our fallback code to avoid a security issue. See :issue:2048. * Remove support for Python 3.8, which has reached the end of its support lifecycle. See :issue:remove_py38`. - Drop gh-113964-fix-tests-3.12.3.patch, fixed upstream - Renumber patches
Dirk Mueller2024-10-10 13:52:37 +00:00
dd4bccac56
Accepting request 1177356 from devel:languages:python
Ana Guerrero2024-05-29 17:35:24 +00:00
4019710d8f
Accepting request 1177321 from home:glaubitz:branches:devel:languages:python
Matej Cepl2024-05-28 13:52:01 +00:00
85e41254ec
Accepting request 1169643 from devel:languages:python
Ana Guerrero2024-04-23 16:55:07 +00:00
fb3cdd58a0
Accepting request 1169642 from home:dgarcia:branches:devel:languages:python:Factory
Daniel Garcia2024-04-22 10:14:55 +00:00
27cb814f6f
Accepting request 1138212 from devel:languages:python
Ana Guerrero2024-01-12 22:44:45 +00:00
9117201a09
Accepting request 1138131 from home:bnavigator:branches:devel:languages:python
Steve Kowalik2024-01-12 06:03:36 +00:00
34611702d3
Accepting request 1129187 from devel:languages:python
Ana Guerrero2023-11-28 21:18:38 +00:00
97fc0bdfdf
- update to 23.9.1: * Require greenlet 3.0 on Python 3.11 and Python 3.12; greenlet 3.0 is recommended for all platforms.
Dirk Mueller2023-11-27 15:54:35 +00:00
929221570d
Accepting request 1115549 from devel:languages:python
Ana Guerrero2023-10-05 18:03:26 +00:00
bb5978fa91
- Add link to bug in changelog bsc#1211861
Daniel Garcia2023-10-04 09:21:28 +00:00
6d0ccfeae3
Accepting request 1114303 from devel:languages:python
Ana Guerrero2023-10-01 19:21:56 +00:00
d76606760d
Accepting request 1112068 from devel:languages:python
Ana Guerrero2023-09-22 19:46:56 +00:00
ea60906717
baserev update by copy to link target
OBS User buildservice-autocommit
2023-09-22 19:46:56 +00:00
61d106a577
Updating link to change in openSUSE:Factory/python-gevent revision 45
OBS User buildservice-autocommit
2023-09-22 19:46:56 +00:00
a45b231550
- update to 23.9.0 (CVE-2023-41419): * 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. * 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 * -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. * Trailers otherwise continue to be ignored and are not available to the WSGI application. Previously, carefully crafted invalid trailers in chunked requests on keep-alive connections might appear as two requests to gevent.pywsgi`. Because this was handled exactly as a normal keep-alive connection with two requests, the WSGI application should handle it normally. However, if you were counting on some upstream server to filter incoming requests based on paths or header fields, and the upstream server simply passed trailers through without validating them, then this embedded second request would
Dirk Mueller2023-09-18 19:13:49 +00:00
129b1935f7
- update to 23.7.0: * Add preliminary support for Python 3.12, using greenlet 3.0a1. * Update the bundled c-ares version to 1.19.1. * 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. * Make gevent's FileObjectThread (mostly used on Windows) implement readinto cooperatively. * 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. * Remove support for obsolete Python versions. This is everything prior to 3.8. * 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. - drop skip-tests-in-leap.patch handle-python-ssl-changes.patch (obsolete)
Dirk Mueller2023-08-14 09:24:19 +00:00
ea475380c5
- handle-python-ssl-changes.patch: refresh to handle ssl.shared_ciphers() behavior change in python 3.11 as well
Dirk Mueller2023-06-01 07:05:48 +00:00
00ba438c4a
- update to 22.10.2: * Update to greenlet 2.0. This fixes a deallocation issue that required a change in greenlet's ABI. The design of greenlet 2.0 is intended to prevent future fixes and enhancements from requiring an ABI change, making it easier to update gevent and greenlet independently.
Dirk Mueller2023-05-04 20:36:18 +00:00
16dee40cc4
Accepting request 1084371 from home:dirkmueller:acdc:as_python3_module
Matej Cepl2023-05-03 14:41:34 +00:00
5a3b543597
- update to 22.10.0: * Update bundled libuv to 1.44.2. See :issue:1913. * Upgrade embedded c-ares to 1.18.1. * Upgrade bundled libuv to 1.42.0 from 1.40.0. * Added preliminary support for Python 3.11 (rc2 and later). Some platforms may or may not have binary wheels at this time. .. important:: Support for legacy versions of Python, including 2.7 and 3.6, will be ending soon. The maintenance burden has become too great and the maintainer's time is too limited.
Dirk Mueller2022-10-16 17:42:58 +00:00
626618e40c
Accepting request 871401 from home:pmonrealgonzalez:branches:devel:languages:python
Markéta Machová2021-02-12 10:58:33 +00:00
d377fbe3b5
- update to 20.12.0: * Make worker threads created by :class:gevent.threadpool.ThreadPool install the :func:threading.setprofile and :func:threading.settrace hooks while tasks are running. This provides visibility to profiling and tracing tools like yappi. * Incorrectly passing an exception *instance* instead of an exception *type* to gevent.Greenlet.kill or gevent.killall no longer prints an exception to stderr. * Make destroying a hub try harder to more forcibly stop loop processing when there are outstanding callbacks or IO operations scheduled. * Improve the ability to use monkey-patched locks, and gevent.lock.BoundedSemaphore, across threads, especially when the various threads might not have a gevent hub or any other active greenlets. In particular, this handles some cases that previously raised `LoopExit or would hang. Note that this may not be reliable on PyPy on Windows; such an environment is not currently recommended. * Make error reporting when a greenlet suffers a RecursionError more reliable. * gevent.pywsgi: Avoid printing an extra traceback ("TypeError: not enough arguments for format string") to standard error on certain invalid client requests. * Add support for PyPy2 7.3.3. * Python 2: Make gevent.subprocess.Popen.stdin objects have a write method that guarantees to write the entire argument in binary, unbuffered mode. This may require multiple trips around the event loop, but more closely matches the behaviour of the Python 2 standard library (and gevent prior to 1.5). The number of bytes written is still returned (instead of None). See :issue:1711. * Make gevent.pywsgi` stop trying to enforce the rules for reading chunked input or
Dirk Mueller2021-02-09 21:33:29 +00:00
38f5252610
- Use bundled libev library to overcome the current incompatibility with libev > 4.25. gh#gevent/gevent#1501
Matej Cepl2020-01-03 14:37:00 +00:00
2827e68802
- Upgrade to 1.5a3: - The file objects (FileObjectPosix, FileObjectThread) now consistently text and binary modes. If neither 'b' nor 't' is given in the mode, they will read and write native strings. If 't' is given, they will always work with unicode strings, and 'b' will always work with byte strings. (FileObjectPosix already worked this way.) See :issue:1441. - The file objects accept encoding, errors and newline arguments. On Python 2, these are only used if 't' is in the mode. - The default mode for FileObjectPosix changed from rb to simply r, for consistency with the other file objects and the standard open and io.open functions. - Fix FileObjectPosix improperly being used from multiple greenlets. Previously this was hidden by forcing buffering, which raised RuntimeError. - Fix using monkey-patched threading.Lock and threading.RLock objects as spin locks by making them call sleep(0) if they failed to acquire the lock in a non-blocking call. This lets other callbacks run to release the lock, simulating preemptive threading. Using spin locks is not recommended, but may have been done in code written for threads, especially on Python 3. See :issue:1464. - Fix Semaphore (and monkey-patched threading locks) to be fair. This eliminates the rare potential for starvation of greenlets. As part of this change, the low-level method rawlink of Semaphore, Event, and AsyncResult now always remove the link object when calling it, so unlink can sometimes be optimized out. See :issue:1487. - Make gevent.pywsgi support Connection: keep-alive in
Matej Cepl2020-01-02 16:30:27 +00:00
509606d6af
Accepting request 693299 from home:mcepl:branches:devel:languages:python
Matej Cepl2019-04-11 15:02:34 +00:00
8948e7e6d3
Accepting request 677113 from devel:languages:python
Stephan Kulow
2019-02-24 16:02:41 +00:00
ced620888a
- Skip the SSL tests as they just only triggers false positives with hope upstream sorts it out someday
Tomáš Chvátal
2019-02-18 12:10:30 +00:00
937a67526f
- Switch to pkgconfig requirements as c-ares was renamed between SLE12 and SLE15
Tomáš Chvátal
2019-02-11 11:02:59 +00:00
9ab433936c
Accepting request 671955 from devel:languages:python
Stephan Kulow
2019-02-08 12:47:37 +00:00
399e35b696
Accepting request 671192 from home:alarrosa:branches:devel:languages:python
Todd R
2019-02-05 18:25:27 +00:00
3a2c789290
Accepting request 670298 from devel:languages:python
Stephan Kulow
2019-02-02 20:45:46 +00:00
fb0d68427e
- Version update to 1.4.0: * generate with cython 0.29 * Refactored the gevent test runner and test suite to make them more reusable. In particular, the tests are now run with python -m gevent.tests. See issue #1293. * Formatting run info no longer includes gevent.local.local objects that have no value in the greenlet. See issue #1275. * Fixed negative length in pywsgi’s Input read functions for non chunked body. Reported in issue #1274 by tzickel. * Fix opening files in text mode in CPython 2 on Windows by patching libuv. See issue #1282 reported by wiggin15. * gevent now depends on greenlet 0.4.14 or above. * gevent.local.local subclasses correctly supports @staticmethod functions. Reported by Brendan Powers in issue #1266. - Do NOT bundle c-ares and libev
Tomáš Chvátal
2019-01-31 10:12:19 +00:00