14
0

Accepting request 1271296 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1271296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-eventlet?expand=0&rev=62
This commit is contained in:
2025-04-22 15:26:00 +00:00
committed by Git OBS Bridge
3 changed files with 22 additions and 0 deletions

View 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()

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 17 13:33:34 UTC 2025 - Lucas Mulling <lucas.mulling@suse.com>
- Fix broken test with openssl 3.5.0:
* Add patch fix-test-with-openssl-3.5.0.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 7 12:41:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Apr 7 12:41:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -25,6 +25,8 @@ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://eventlet.net URL: https://eventlet.net
Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
# PATCH-FIX-OPENSUSE: fix-test-with-openssl-3.5.0.patch bsc#1241037 -- based on PR 1034
Patch1: fix-test-with-openssl-3.5.0.patch
BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}