14
0

Accepting request 1138133 from devel:languages:python

- Add patch openssl-3.2.patch gh#tornadoweb/tornado#3355

OBS-URL: https://build.opensuse.org/request/show/1138133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tornado6?expand=0&rev=16
This commit is contained in:
2024-01-12 22:44:36 +00:00
committed by Git OBS Bridge
3 changed files with 20 additions and 0 deletions

13
openssl-3.2.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: tornado-6.4/tornado/iostream.py
===================================================================
--- tornado-6.4.orig/tornado/iostream.py
+++ tornado-6.4/tornado/iostream.py
@@ -1374,7 +1374,7 @@ class SSLIOStream(IOStream):
return
elif err.args[0] in (ssl.SSL_ERROR_EOF, ssl.SSL_ERROR_ZERO_RETURN):
return self.close(exc_info=err)
- elif err.args[0] == ssl.SSL_ERROR_SSL:
+ elif err.args[0] in (ssl.SSL_ERROR_SSL, ssl.SSL_ERROR_SYSCALL):
try:
peer = self.socket.getpeername()
except Exception:

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 11 13:28:34 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add patch openssl-3.2.patch gh#tornadoweb/tornado#3355
-------------------------------------------------------------------
Wed Jan 3 10:27:22 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -28,6 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado
Source99: python-tornado6-rpmlintrc
# PATCH-FIX-OPENSUSE ignore-resourcewarning-doctests.patch -- ignore resource warnings on OBS
Patch0: ignore-resourcewarning-doctests.patch
# PATCH-FIX-OPENSUSE openssl-3.2.patch gh#tornadoweb/tornado#3355
Patch1: openssl-3.2.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}