forked from pool/python-eventlet
- Update to 0.40.2
* Fix compatibility issues identified with Python 3.14 on Linux (#1058) * Make database removal safer with IF EXISTS (#1056) * Prepare jobs and CI/CD for python 3.14 (#1055) - from version 0.40.1 * [fix] "Fix" fork() so it "works" on Python 3.13, and "works" better on older Python versions (#1047) * Behavior change: threads created by eventlet.green.threading.Thread and threading.Thead will be visible across both modules if monkey patching was used. Previously each module would only list threads created in that module. * Bug fix: after fork(), greenlet threads are correctly listed in threading.enumerate() if monkey patching was used. You should not use fork()-without-execve(). * [fix] Fix patching of removed URLopener class in Python 3.14 (#1053) * [fix] ReferenceError except while count rlock (#1042) * [fix] Replace deprecated datetime.utcfromtimestamp (#1050) * [fix][env] Remove duplicate steps (#1049) * [fix] Replace deprecated datetime.datetime.utcnow (#1046) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=137
This commit is contained in:
14
fix-test-with-openssl-3.5.0.patch
Normal file
14
fix-test-with-openssl-3.5.0.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: eventlet-0.39.1/tests/ssl_test.py
|
||||
===================================================================
|
||||
--- eventlet-0.39.1.orig/tests/ssl_test.py
|
||||
+++ eventlet-0.39.1/tests/ssl_test.py
|
||||
@@ -80,7 +80,8 @@ class SSLTest(tests.LimitedTestCase):
|
||||
sock.recv(8192)
|
||||
try:
|
||||
self.assertEqual(b'', sock.recv(8192))
|
||||
- except greenio.SSL.ZeroReturnError:
|
||||
+ except (greenio.SSL.ZeroReturnError,
|
||||
+ BrokenPipeError):
|
||||
pass
|
||||
|
||||
sock = listen_ssl_socket()
|
Reference in New Issue
Block a user