forked from pool/python-tornado6
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:
13
openssl-3.2.patch
Normal file
13
openssl-3.2.patch
Normal 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:
|
||||||
@@ -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>
|
Wed Jan 3 10:27:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado
|
|||||||
Source99: python-tornado6-rpmlintrc
|
Source99: python-tornado6-rpmlintrc
|
||||||
# PATCH-FIX-OPENSUSE ignore-resourcewarning-doctests.patch -- ignore resource warnings on OBS
|
# PATCH-FIX-OPENSUSE ignore-resourcewarning-doctests.patch -- ignore resource warnings on OBS
|
||||||
Patch0: ignore-resourcewarning-doctests.patch
|
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 base >= 3.8}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
|||||||
Reference in New Issue
Block a user