0db3ce2a8bAccepting request 1217397 from devel:languages:python
factory
Ana Guerrero
2024-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
devel
Matej Cepl2024-10-23 16:57:05 +00:00
bddde4f858Accepting request 1206713 from devel:languages:python
Ana Guerrero
2024-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 patchesDirk Mueller2024-10-10 13:52:37 +00:00
dd4bccac56Accepting request 1177356 from devel:languages:python
Ana Guerrero
2024-05-29 17:35:24 +00:00
4019710d8fAccepting request 1177321 from home:glaubitz:branches:devel:languages:pythonMatej Cepl2024-05-28 13:52:01 +00:00
85e41254ecAccepting request 1169643 from devel:languages:python
Ana Guerrero
2024-04-23 16:55:07 +00:00
fb3cdd58a0Accepting request 1169642 from home:dgarcia:branches:devel:languages:python:FactoryDaniel Garcia2024-04-22 10:14:55 +00:00
27cb814f6fAccepting request 1138212 from devel:languages:python
Ana Guerrero
2024-01-12 22:44:45 +00:00
9117201a09Accepting request 1138131 from home:bnavigator:branches:devel:languages:python
Steve Kowalik
2024-01-12 06:03:36 +00:00
34611702d3Accepting request 1129187 from devel:languages:python
Ana Guerrero
2023-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
929221570dAccepting request 1115549 from devel:languages:python
Ana Guerrero
2023-10-05 18:03:26 +00:00
6d0ccfeae3Accepting request 1114303 from devel:languages:python
Ana Guerrero
2023-10-01 19:21:56 +00:00
d76606760dAccepting request 1112068 from devel:languages:python
Ana Guerrero
2023-09-22 19:46:56 +00:00
ea60906717baserev update by copy to link target
OBS User buildservice-autocommit
2023-09-22 19:46:56 +00:00
61d106a577Updating link to change in openSUSE:Factory/python-gevent revision 45
OBS User buildservice-autocommit
2023-09-22 19:46:56 +00:00
82b0f403d1- update to 23.9.0 (bsc#1215469, CVE-2023-41419):Dirk Mueller2023-09-22 09:41: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 wouldDirk Mueller2023-09-18 19:13:49 +00:00
8c903af814Accepting request 1103820 from devel:languages:python
Dominique Leuenberger
2023-08-15 14:39:14 +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
f04bdcc790Accepting request 1091775 from devel:languages:python
Dominique Leuenberger
2023-06-11 17:52:34 +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
16dee40cc4Accepting request 1084371 from home:dirkmueller:acdc:as_python3_moduleMatej Cepl2023-05-03 14:41:34 +00:00
fb5d0e49f6Accepting request 1081906 from devel:languages:python
Dominique Leuenberger
2023-04-22 20:00:43 +00:00
df3a1c7f2fAccepting request 1081422 from home:dirkmueller:acdc:as_python3_moduleDirk Mueller2023-04-21 14:34:35 +00:00
3149eb1425Accepting request 1072130 from devel:languages:python
Dominique Leuenberger
2023-03-17 16:02:23 +00:00
38c415fde9Accepting request 1072125 from home:dirkmueller:acdcMatej Cepl2023-03-15 14:34:31 +00:00
1e86137035Accepting request 1056128 from devel:languages:pythonDirk Mueller2023-01-05 07:49:30 +00:00
eeca9bf90cAccepting request 1056058 from home:bnavigator:branches:devel:languages:pythonDirk Mueller2023-01-04 21:25:00 +00:00
bd2bd9a3daAccepting request 1011260 from devel:languages:python
Dominique Leuenberger
2022-10-18 10:44:12 +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
3d2a1b2315Accepting request 940551 from devel:languages:python
Dominique Leuenberger
2021-12-16 20:18:54 +00:00
1f4fb9e09eAccepting request 940355 from home:bnavigator:python-rpm-macrosMatej Cepl2021-12-14 18:21:57 +00:00
d41d7bcd2fAccepting request 932425 from devel:languages:python
Dominique Leuenberger
2021-11-21 22:51:47 +00:00
ca59171edf- Skip test__threading_monkey_in_thread as it breaks with Python 3.9.9.
Steve Kowalik
2021-11-19 07:49:42 +00:00
c1acf089e1Accepting request 908926 from devel:languages:python
Dominique Leuenberger
2021-08-02 10:04:51 +00:00
7756af1bd7Accepting request 904662 from home:alarrosa:branches:devel:languages:pythonDirk Mueller2021-07-28 14:43:34 +00:00
583a1f21bcAccepting request 871408 from devel:languages:python
Dominique Leuenberger
2021-02-16 21:33:52 +00:00
626618e40cAccepting request 871401 from home:pmonrealgonzalez:branches:devel:languages:pythonMarké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 orDirk Mueller2021-02-09 21:33:29 +00:00
6290f0a43cAccepting request 855348 from devel:languages:python
Dominique Leuenberger
2020-12-16 09:59:09 +00:00
9580ac7f0fAccepting request 855335 from home:mcepl:branches:devel:tools:scmMatej Cepl2020-12-12 12:12:08 +00:00
31be839ec4Accepting request 840263 from devel:languages:python
Dominique Leuenberger
2020-10-29 08:47:10 +00:00
2c04d9fe6eAccepting request 840235 from home:frispete:pythonMatej Cepl2020-10-08 12:14:50 +00:00
38f5252610- Use bundled libev library to overcome the current incompatibility with libev > 4.25. gh#gevent/gevent#1501Matej 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 inMatej Cepl2020-01-02 16:30:27 +00:00
6d8d9ed409Accepting request 693757 from devel:languages:python
Dominique Leuenberger
2019-04-14 10:21:26 +00:00
509606d6afAccepting request 693299 from home:mcepl:branches:devel:languages:pythonMatej Cepl2019-04-11 15:02:34 +00:00
8948e7e6d3Accepting 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
9ab433936cAccepting request 671955 from devel:languages:python
Stephan Kulow
2019-02-08 12:47:37 +00:00
399e35b696Accepting request 671192 from home:alarrosa:branches:devel:languages:python
Todd R
2019-02-05 18:25:27 +00:00
3a2c789290Accepting 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
4b29d1d445Accepting request 664024 from devel:languages:python
Dominique Leuenberger
2019-01-15 08:10:54 +00:00
e80cbd7b3b- Switch the condition logic to match the previous changelog
Tomáš Chvátal
2019-01-09 08:27:01 +00:00
7b6dc9bf1aAccepting request 663869 from home:jbrownell:branches:devel:languages:python
Tomáš Chvátal
2019-01-09 08:17:54 +00:00
4515174319Accepting request 627917 from devel:languages:python
Dominique Leuenberger
2018-08-10 07:46:59 +00:00
79792536cfAccepting request 627916 from home:TheBlackCat:branches:devel:languages:python
Todd R
2018-08-07 15:23:30 +00:00
7a4b256d66Accepting request 616610 from devel:languages:python
Dominique Leuenberger
2018-06-29 20:22:54 +00:00
289f95f445Accepting request 616609 from home:TheBlackCat:branches:devel:languages:python
Todd R
2018-06-13 18:47:08 +00:00
08e385688cAccepting request 583698 from devel:languages:python
Dominique Leuenberger
2018-03-07 09:39:45 +00:00
1c1a7e040bAccepting request 583457 from home:aplanas:branches:devel:languages:python
Tomáš Chvátal
2018-03-06 20:50:54 +00:00
15d721de6fAccepting request 580803 from devel:languages:python
Dominique Leuenberger
2018-03-05 12:37:14 +00:00
64be46b3deAccepting request 580736 from home:aplanas:branches:devel:languages:pythonDirk Mueller2018-02-27 21:51:45 +00:00
0b37125207Accepting request 568591 from devel:languages:python
Dominique Leuenberger
2018-01-24 14:31:46 +00:00
e7679e01c8Accepting request 568583 from home:dimstar:Factory
Tomáš Chvátal
2018-01-23 14:14:50 +00:00
57c9d3ffc9Accepting request 544433 from devel:languages:python
Dominique Leuenberger
2017-11-24 09:53:54 +00:00
754ac99a55- add greenlet dependency to Python 3 as well (bsc#1055386)
Jan Matejek
2017-11-22 15:29:59 +00:00
fc69bee349Accepting request 541223 from devel:languages:python
Dominique Leuenberger
2017-11-15 15:58:01 +00:00
ebbbc97d9bAccepting request 541091 from home:apersaud:branches:devel:languages:pythonDirk Mueller2017-11-13 09:27:34 +00:00
2287e66f3cAccepting request 501810 from devel:languages:python
Dominique Leuenberger
2017-06-08 13:04:15 +00:00
fd315323d8- adjust buildrequirements for singlespec building on SLE_12Dirk Mueller2017-05-31 19:32:57 +00:00
c2ea7cd8e1Accepting request 489463 from devel:languages:python
Dominique Leuenberger
2017-04-28 13:07:48 +00:00
d7aca0453aAccepting request 489462 from home:TheBlackCat:branches:devel:languages:python
Todd R
2017-04-19 21:11:21 +00:00
7c5a9d625dAccepting request 445609 from devel:languages:python
Dominique Leuenberger
2017-01-25 22:23:24 +00:00
277b9515dd- update to 1.1.2: * Python 2: `sendall on a non-blocking socket could spuriously fail with a timeout. * If sys.stderr has been monkey-patched (not recommended), exceptions that the hub reports aren't lost and can still be caught. Reported in :issue:825 by Jelle Smet. * :class:selectors.SelectSelector is properly monkey-patched regardless of the order of imports. Reported in :issue:835 by Przemysław Węgrzyn. * Python 2: reload(site) no longer fails with a TypeError if gevent has been imported. Reported in :issue:805 by Jake Hilton. * Nested callbacks that set and clear an Event no longer cause wait to return prematurely. Reported in :issue:771 by Sergey Vasilyev. * Fix build on Solaris 10. Reported in :issue:777 by wiggin15. * The ref parameter to :func:gevent.os.fork_and_watch was being ignored. * Python 3: :class:gevent.queue.Channel is now correctly iterable, instead of raising a :exc:TypeError. * Python 3: Add support for :meth:socket.socket.sendmsg, :meth:socket.socket.recvmsg and :meth:socket.socket.recvmsg_into on platforms where they are defined. Initial :pr:773` by Jakub Klama.Dirk Mueller2016-12-13 14:49:24 +00:00
898d9053c6Accepting request 369777 from devel:languages:python
Dominique Leuenberger
2016-03-16 09:35:22 +00:00
f4537060c2Accepting request 369771 from home:TheBlackCat:branches:devel:languages:python
Todd R
2016-03-10 20:25:57 +00:00