From 48ef35a69d01bbd8ab9afb6cdaf246061c1ee5e8 Mon Sep 17 00:00:00 2001 From: StevenK <> Date: Tue, 22 Mar 2022 19:21:00 +0000 Subject: [PATCH] Delete python-tornado5 via SR 962303 https://build.opensuse.org/request/show/962303 by user StevenK + dimstar_suse no users, does not support python 3.10 --- packages/p/python-tornado5/.files | Bin 682 -> 0 bytes packages/p/python-tornado5/.meta | 7 - packages/p/python-tornado5/.rev | 54 - .../p/python-tornado5/openssl-cert-size.patch | 95 -- .../py2-dont-log-cryptographywarning.patch | 26 - ...001-test-silence-deprecation-warning.patch | 28 - .../py38-0002-dont-log-CancelledError.patch | 67 - .../python-tornado5/python-tornado5-rpmlintrc | 2 - .../p/python-tornado5/python-tornado5.changes | 1091 ----------------- .../p/python-tornado5/python-tornado5.spec | 149 --- .../python-tornado5/skip-failing-tests.patch | 48 - .../p/python-tornado5/tornado-5.1.1.tar.gz | 1 - .../tornado-testsuite_timeout.patch | 20 - 13 files changed, 1588 deletions(-) delete mode 100644 packages/p/python-tornado5/.files delete mode 100644 packages/p/python-tornado5/.meta delete mode 100644 packages/p/python-tornado5/.rev delete mode 100644 packages/p/python-tornado5/openssl-cert-size.patch delete mode 100644 packages/p/python-tornado5/py2-dont-log-cryptographywarning.patch delete mode 100644 packages/p/python-tornado5/py38-0001-test-silence-deprecation-warning.patch delete mode 100644 packages/p/python-tornado5/py38-0002-dont-log-CancelledError.patch delete mode 100644 packages/p/python-tornado5/python-tornado5-rpmlintrc delete mode 100644 packages/p/python-tornado5/python-tornado5.changes delete mode 100644 packages/p/python-tornado5/python-tornado5.spec delete mode 100644 packages/p/python-tornado5/skip-failing-tests.patch delete mode 120000 packages/p/python-tornado5/tornado-5.1.1.tar.gz delete mode 100644 packages/p/python-tornado5/tornado-testsuite_timeout.patch diff --git a/packages/p/python-tornado5/.files b/packages/p/python-tornado5/.files deleted file mode 100644 index 0bf77ad1610a533736a7735a8d0ab5f135012933..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 682 zcmZ9KORp0#423HpHnT%RirGUe8( zD3=Mj5CX)kqKh#_r;B$~1^%{OZ5owQW-RN{$ICj6-(exXT)6ybZEdFwI-Q53C3b~F zO(FY)srUp=u1XM`FFD_wtQ#-;ei?~dANTo%|G}UjJLQZIM%=4nmCq^_RVeGiMqu@D zqQ}nr4ZpDX7z=NW3HmH8{)V>9%k)sK2DJ{TQ?Q{{EeWylHA!cwgb;51efgWpU2}h) zJOAwS6R*$xA!4&fQo#iqeXN)W5Rr8@3Q$KIMda&t{VyJB*R8KpgYA5MV~AbKCEMU# zGGwIVn01oC98$5x1=0HOc3S(!G#o)2RV!MnO9ic2WkyiwA(x23XdyqpA;-2oUFM~? zJ1*0yHX8}HR>eqYyw_fplrfom;YSkwq~&yIr|Cs@griQJWUrFV#M;T2&^Q3+gRc&y T@TdLPyp0uRsW!a^`5N9I - Open source version of the scalable, non-blocking web server and tools that power FriendFeed - Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. The FriendFeed application is written using a web framework that looks a bit like web.py or Google's webapp, but with additional tools and optimizations to take advantage of the underlying non-blocking infrastructure. - -The framework is distinct from most mainstream web server frameworks (and certainly most Python frameworks) because it is non-blocking and reasonably fast. Because it is non-blocking and uses epoll, it can handle thousands of simultaneous standing connections, which means it is ideal for real-time web services. We built the web server specifically to handle FriendFeed's real-time features — every active user of FriendFeed maintains an open connection to the FriendFeed servers. (For more information on scaling servers to support thousands of clients, see The C10K problem.) - - diff --git a/packages/p/python-tornado5/.rev b/packages/p/python-tornado5/.rev deleted file mode 100644 index d50b8a98bbb..00000000000 --- a/packages/p/python-tornado5/.rev +++ /dev/null @@ -1,54 +0,0 @@ - - - 7dd06ebad086c1a68c909ebc398b3280 - 5.1.1 - - dimstar_suse - Add py-tornado5 - -Fixes build failure in previous submission #737142 - 745544 - - - 6b0f358cb23f16137be894f00865ce69 - 5.1.1 - - dimstar_suse - - 746639 - - - 32ec0ec5e979d75981ca730c2dcaaf44 - 5.1.1 - - dimstar_suse - - Add patches to build with python 3.8: - * py38-0001-test-silence-deprecation-warning.patch - * py38-0002-dont-log-CancelledError.patch - 761564 - - - e92e4bf68b9c09b66c94f9140b9e2405 - 5.1.1 - - dimstar_suse - - 853439 - - - f6f51c8096ed46aa729430e62d625b61 - 5.1.1 - - dimstar_suse - - 910350 - - - 47a710d0625b085a92e391696ba3d5e2 - 5.1.1 - - dimstar_suse - - 940874 - - diff --git a/packages/p/python-tornado5/openssl-cert-size.patch b/packages/p/python-tornado5/openssl-cert-size.patch deleted file mode 100644 index 189d5298bec..00000000000 --- a/packages/p/python-tornado5/openssl-cert-size.patch +++ /dev/null @@ -1,95 +0,0 @@ -From: =?utf-8?b?T25kxZllaiBOb3bDvQ==?= -Date: Thu, 27 Dec 2018 01:18:41 +0000 -Subject: Regenerate test crt - -Forwarded: https://github.com/tornadoweb/tornado/pull/2509 ---- - tornado/test/test.crt | 31 ++++++++++++++++++------------- - tornado/test/test.key | 40 ++++++++++++++++++++++++++-------------- - 2 files changed, 44 insertions(+), 27 deletions(-) - -diff --git a/tornado/test/test.crt b/tornado/test/test.crt -index 25538c8..ffc49b0 100644 ---- a/tornado/test/test.crt -+++ b/tornado/test/test.crt -@@ -1,15 +1,20 @@ - -----BEGIN CERTIFICATE----- --MIICSDCCAbGgAwIBAgIJAN1oTowzMbkzMA0GCSqGSIb3DQEBBQUAMD0xCzAJBgNV --BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRkwFwYDVQQKDBBUb3JuYWRvIFdl --YiBUZXN0MB4XDTEwMDgyNTE4MjQ0NFoXDTIwMDgyMjE4MjQ0NFowPTELMAkGA1UE --BhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExGTAXBgNVBAoMEFRvcm5hZG8gV2Vi --IFRlc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALirW3mX4jbdFse2aZwW --zszCJ1IsRDrzALpbvMYLLbIZqo+Z8v5aERKTRQpXFqGaZyY+tdwYy7X7YXcLtKqv --jnw/MSeIaqkw5pROKz5aR0nkPLvcTmhJVLVPCLc8dFnIlu8aC9TrDhr90P+PzU39 --UG7zLweA9zXKBuW3Tjo5dMP3AgMBAAGjUDBOMB0GA1UdDgQWBBRhJjMBYrzddCFr --/0vvPyHMeqgo0TAfBgNVHSMEGDAWgBRhJjMBYrzddCFr/0vvPyHMeqgo0TAMBgNV --HRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAGP6GaxSfb21bikcqaK3ZKCC1sRJ --tiCuvJZbBUFUCAzl05dYUfJZim/oWK+GqyUkUB8ciYivUNnn9OtS7DnlTgT2ws2e --lNgn5cuFXoAGcHXzVlHG3yoywYBf3y0Dn20uzrlLXUWJAzoSLOt2LTaXvwlgm7hF --W1q8SQ6UBshRw2X0 -+MIIDWzCCAkOgAwIBAgIUV4spou0CenmvKqa7Hml/MC+JKiAwDQYJKoZIhvcNAQEL -+BQAwPTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExGTAXBgNVBAoM -+EFRvcm5hZG8gV2ViIFRlc3QwHhcNMTgwOTI5MTM1NjQ1WhcNMjgwOTI2MTM1NjQ1 -+WjA9MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEZMBcGA1UECgwQ -+VG9ybmFkbyBXZWIgVGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -+AKT0LdyI8tW5uwP3ahE8BFSz+j3SsKBDv/0cKvqxVVE6sLEST2s3HjArZvIIG5sb -+iBkWDrqnZ6UKDvB4jlobLGAkepxDbrxHWxK53n0C28XXGLqJQ01TlTZ5rpjttMeg -+5SKNjHbxpOvpUwwQS4br4WjZKKyTGiXpFkFUty+tYVU35/U2yyvreWHmzpHx/25t -+H7O2RBARVwJYKOGPtlH62lQjpIWfVfklY4Ip8Hjl3B6rBxPyBULmVQw0qgoZn648 -+oa4oLjs0wnYBz01gVjNMDHej52SsB/ieH7W1TxFMzqOlcvHh41uFbQJPgcXsruSS -+9Z4twzSWkUp2vk/C//4Sz38CAwEAAaNTMFEwHQYDVR0OBBYEFLf8fQ5+u8sDWAd3 -+r5ZjZ5MmDWJeMB8GA1UdIwQYMBaAFLf8fQ5+u8sDWAd3r5ZjZ5MmDWJeMA8GA1Ud -+EwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADkkm3pIb9IeqVNmQ2uhQOgw -+UwyToTYUHNTb/Nm5lzBTBqC8gbXAS24RQ30AB/7G115Uxeo+YMKfITxm/CgR+vhF -+F59/YrzwXj+G8bdbuVl/UbB6f9RSp+Zo93rUZAtPWr77gxLUrcwSRzzDwxFjC2nC -+6eigbkvt1OQY775RwnFAt7HKPclE0Out+cGJIboJuO1f3r57ZdyFH0GzbZEff/7K -+atGXohijWJjYvU4mk0KFHORZrcBpsv9cfkFbmgVmiRwxRJ1tLauHM3Ne+VfqYE5M -+4rTStSyz3ASqVKJ2iFMQueNR/tUOuDlfRt+0nhJMuYSSkW+KTgnwyOGU9cv+mxA= - -----END CERTIFICATE----- -diff --git a/tornado/test/test.key b/tornado/test/test.key -index 577d518..7cb7d8d 100644 ---- a/tornado/test/test.key -+++ b/tornado/test/test.key -@@ -1,16 +1,28 @@ - -----BEGIN PRIVATE KEY----- --MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBALirW3mX4jbdFse2 --aZwWzszCJ1IsRDrzALpbvMYLLbIZqo+Z8v5aERKTRQpXFqGaZyY+tdwYy7X7YXcL --tKqvjnw/MSeIaqkw5pROKz5aR0nkPLvcTmhJVLVPCLc8dFnIlu8aC9TrDhr90P+P --zU39UG7zLweA9zXKBuW3Tjo5dMP3AgMBAAECgYEAiygNaWYrf95AcUQi9w00zpUr --nj9fNvCwxr2kVbRMvd2balS/CC4EmXPCXdVcZ3B7dBVjYzSIJV0Fh/iZLtnVysD9 --fcNMZ+Cz71b/T0ItsNYOsJk0qUVyP52uqsqkNppIPJsD19C+ZeMLZj6iEiylZyl8 --2U16c/kVIjER63mUEGkCQQDayQOTGPJrKHqPAkUqzeJkfvHH2yCf+cySU+w6ezyr --j9yxcq8aZoLusCebDVT+kz7RqnD5JePFvB38cMuepYBLAkEA2BTFdZx30f4moPNv --JlXlPNJMUTUzsXG7n4vNc+18O5ous0NGQII8jZWrIcTrP8wiP9fF3JwUsKrJhcBn --xRs3hQJBAIDUgz1YIE+HW3vgi1gkOh6RPdBAsVpiXtr/fggFz3j60qrO7FswaAMj --SX8c/6KUlBYkNjgP3qruFf4zcUNvEzcCQQCaioCPFVE9ByBpjLG6IUTKsz2R9xL5 --nfYqrbpLZ1aq6iLsYvkjugHE4X57sHLwNfdo4dHJbnf9wqhO2MVe25BhAkBdKYpY --7OKc/2mmMbJDhVBgoixz/muN/5VjdfbvVY48naZkJF1p1tmogqPC5F1jPCS4rM+S --FfPJIHRNEn2oktw5 -+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCk9C3ciPLVubsD -+92oRPARUs/o90rCgQ7/9HCr6sVVROrCxEk9rNx4wK2byCBubG4gZFg66p2elCg7w -+eI5aGyxgJHqcQ268R1sSud59AtvF1xi6iUNNU5U2ea6Y7bTHoOUijYx28aTr6VMM -+EEuG6+Fo2Siskxol6RZBVLcvrWFVN+f1Nssr63lh5s6R8f9ubR+ztkQQEVcCWCjh -+j7ZR+tpUI6SFn1X5JWOCKfB45dweqwcT8gVC5lUMNKoKGZ+uPKGuKC47NMJ2Ac9N -+YFYzTAx3o+dkrAf4nh+1tU8RTM6jpXLx4eNbhW0CT4HF7K7kkvWeLcM0lpFKdr5P -+wv/+Es9/AgMBAAECggEABi6AaXtYXloPgB6NgwfUwbfc8OQsalUfpMShd7OdluW0 -+KW6eO05de0ClIvzay/1EJGyHMMeFQtIVrT1XWFkcWJ4FWkXMqJGkABenFtg8lDVz -+X8o1E3jGZrw4ptKBq9mDvL/BO9PiclTUH+ecbPn6AIvi0lTQ7grGIryiAM9mjmLy -+jpCwoutF2LD4RPNg8vqWe/Z1rQw5lp8FOHhRwPooHHeoq1bSrp8dqvVAwAam7Mmf -+uFgI8jrNycPgr2cwEEtbq2TQ625MhVnCpwT+kErmAStfbXXuqv1X1ZZgiNxf+61C -+OL0bhPRVIHmmjiK/5qHRuN4Q5u9/Yp2SJ4W5xadSQQKBgQDR7dnOlYYQiaoPJeD/ -+7jcLVJbWwbr7bE19O/QpYAtkA/FtGlKr+hQxPhK6OYp+in8eHf+ga/NSAjCWRBoh -+MNAVCJtiirHo2tFsLFOmlJpGL9n3sX8UnkJN90oHfWrzJ8BZnXaSw2eOuyw8LLj+ -+Q+ISl6Go8/xfsuy3EDv4AP1wCwKBgQDJJ4vEV3Kr+bc6N/xeu+G0oHvRAWwuQpcx -+9D+XpnqbJbFDnWKNE7oGsDCs8Qjr0CdFUN1pm1ppITDZ5N1cWuDg/47ZAXqEK6D1 -+z13S7O0oQPlnsPL7mHs2Vl73muAaBPAojFvceHHfccr7Z94BXqKsiyfaWz6kclT/ -+Nl4JTdsC3QKBgQCeYgozL2J/da2lUhnIXcyPstk+29kbueFYu/QBh2HwqnzqqLJ4 -+5+t2H3P3plQUFp/DdDSZrvhcBiTsKiNgqThEtkKtfSCvIvBf4a2W/4TJsW6MzxCm -+2KQDuK/UqM4Y+APKWN/N6Lln2VWNbNyBkWuuRVKFatccyJyJnSjxeqW7cwKBgGyN -+idCYPIrwROAHLItXKvOWE5t0ABRq3TsZC2RkdA/b5HCPs4pclexcEriRjvXrK/Yt -+MH94Ve8b+UftSUQ4ytjBMS6MrLg87y0YDhLwxv8NKUq65DXAUOW+8JsAmmWQOqY3 -+MK+m1BT4TMklgVoN3w3sPsKIsSJ/jLz5cv/kYweFAoGAG4iWU1378tI2Ts/Fngsv -+7eoWhoda77Y9D0Yoy20aN9VdMHzIYCBOubtRPEuwgaReNwbUBWap01J63yY/fF3K -+8PTz6covjoOJqxQJOvM7nM0CsJawG9ccw3YXyd9KgRIdSt6ooEhb7N8W2EXYoKl3 -+g1i2t41Q/SC3HUGC5mJjpO8= - -----END PRIVATE KEY----- diff --git a/packages/p/python-tornado5/py2-dont-log-cryptographywarning.patch b/packages/p/python-tornado5/py2-dont-log-cryptographywarning.patch deleted file mode 100644 index 8afb94488cd..00000000000 --- a/packages/p/python-tornado5/py2-dont-log-cryptographywarning.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: tornado-5.1.1/tornado/test/runtests.py -=================================================================== ---- tornado-5.1.1.orig/tornado/test/runtests.py -+++ tornado-5.1.1/tornado/test/runtests.py -@@ -8,6 +8,8 @@ import operator - import textwrap - import sys - -+from cryptography.utils import CryptographyDeprecationWarning -+ - from tornado.httpclient import AsyncHTTPClient - from tornado.httpserver import HTTPServer - from tornado.ioloop import IOLoop -@@ -159,6 +161,12 @@ def main(): - category=DeprecationWarning, - message="PY_SSIZE_T_CLEAN will be required", - ) -+ # This deprecation warning prevents Leap python2 from building now -+ warnings.filterwarnings( -+ "ignore", -+ category=CryptographyDeprecationWarning, -+ message="Python 2 is no longer supported", -+ ) - - logging.getLogger("tornado.access").setLevel(logging.CRITICAL) - diff --git a/packages/p/python-tornado5/py38-0001-test-silence-deprecation-warning.patch b/packages/p/python-tornado5/py38-0001-test-silence-deprecation-warning.patch deleted file mode 100644 index 2f9b035227b..00000000000 --- a/packages/p/python-tornado5/py38-0001-test-silence-deprecation-warning.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 64308fbad38715afddc4f6b3c77e47f8606624b3 Mon Sep 17 00:00:00 2001 -From: Ben Darnell -Date: Sun, 28 Apr 2019 19:31:52 -0400 -Subject: [PATCH] test: Silence a deprecation warning in py38+pycurl - ---- - tornado/test/runtests.py | 10 ++++++++++ - 1 file changed, 10 insertions(+) - ---- a/tornado/test/runtests.py -+++ b/tornado/test/runtests.py -@@ -150,6 +150,16 @@ - # would generate a warning. - warnings.filterwarnings("ignore", category=ResourceWarning, # noqa: F821 - module=r"asyncio\..*") -+ # This deprecation warning is introduced in Python 3.8 and is -+ # triggered by pycurl. Unforunately, because it is raised in the C -+ # layer it can't be filtered by module and we must match the -+ # message text instead (Tornado's C module uses PY_SSIZE_T_CLEAN -+ # so it's not at risk of running into this issue). -+ warnings.filterwarnings( -+ "ignore", -+ category=DeprecationWarning, -+ message="PY_SSIZE_T_CLEAN will be required", -+ ) - - logging.getLogger("tornado.access").setLevel(logging.CRITICAL) - diff --git a/packages/p/python-tornado5/py38-0002-dont-log-CancelledError.patch b/packages/p/python-tornado5/py38-0002-dont-log-CancelledError.patch deleted file mode 100644 index 8ef356be59a..00000000000 --- a/packages/p/python-tornado5/py38-0002-dont-log-CancelledError.patch +++ /dev/null @@ -1,67 +0,0 @@ -Description: gen.with_timeout: Don't log CancelledError after timeout - This patch originated with upstream commit 0684b61c1d4feaaf5ac3. The - patch has been modified to handle Python 2 as version 5.1 still - supports Python 2. Upstream dropped Python 2 support prior to when - this patch landed. -Author: Petr Viktorin (original author) - Corey Bryant (modified original) - -See also: commit a237a995a1d54ad6e07c1ecdf5103ff8f45073b5 ---- - tornado/gen.py | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - ---- a/tornado/gen.py -+++ b/tornado/gen.py -@@ -933,8 +933,9 @@ - an absolute time relative to `.IOLoop.time`) - - If the wrapped `.Future` fails after it has timed out, the exception -- will be logged unless it is of a type contained in ``quiet_exceptions`` -- (which may be an exception type or a sequence of types). -+ will be logged unless it is either of a type contained in -+ ``quiet_exceptions`` (which may be an exception type or a sequence of -+ types), or a `CancelledError`. - - Does not support `YieldPoint` subclasses. - -@@ -951,6 +952,9 @@ - .. versionchanged:: 4.4 - Added support for yieldable objects other than `.Future`. - -+ .. versionchanged:: 5.1 -+ Do not log CancelledError after timeout. -+ - """ - # TODO: allow YieldPoints in addition to other yieldables? - # Tricky to do with stack_context semantics. -@@ -966,12 +970,23 @@ - io_loop = IOLoop.current() - - def error_callback(future): -- try: -- future.result() -- except Exception as e: -- if not isinstance(e, quiet_exceptions): -- app_log.error("Exception in Future %r after timeout", -- future, exc_info=True) -+ if PY3: -+ import asyncio -+ try: -+ future.result() -+ except asyncio.CancelledError: -+ pass -+ except Exception as e: -+ if not isinstance(e, quiet_exceptions): -+ app_log.error("Exception in Future %r after timeout", -+ future, exc_info=True) -+ else: -+ try: -+ future.result() -+ except Exception as e: -+ if not isinstance(e, quiet_exceptions): -+ app_log.error("Exception in Future %r after timeout", -+ future, exc_info=True) - - def timeout_callback(): - if not result.done(): diff --git a/packages/p/python-tornado5/python-tornado5-rpmlintrc b/packages/p/python-tornado5/python-tornado5-rpmlintrc deleted file mode 100644 index c29e97defdb..00000000000 --- a/packages/p/python-tornado5/python-tornado5-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -# keep the empty javascript resource for the demo -addFilter("zero-length .*demos/facebook/static/facebook.js") diff --git a/packages/p/python-tornado5/python-tornado5.changes b/packages/p/python-tornado5/python-tornado5.changes deleted file mode 100644 index bda3853754e..00000000000 --- a/packages/p/python-tornado5/python-tornado5.changes +++ /dev/null @@ -1,1091 +0,0 @@ -------------------------------------------------------------------- -Tue Dec 14 12:41:58 UTC 2021 - Ben Greiner - -- Skip python310 build: Not supported. Use tornado >= 6! - -------------------------------------------------------------------- -Thu Aug 5 12:45:46 UTC 2021 - Ben Greiner - -- Dedup and remove exec bits from demos: fix boo#1189066 -- Add python-tornado5-rpmlintrc for empty JS resource in demo - -------------------------------------------------------------------- -Sun Dec 6 18:04:33 UTC 2020 - Benjamin Greiner - -- Fix Python 2 tests for Leap - * Don't log another deprecation warning - py2-dont-log-cryptographywarning.patch - * BuildRequire python2 service_identity -- Fix test failures, which surfaced while preparing support for - multiple python3 flavors gh#openSUSE/python-rpm-macros#66 - * BuildRequire python-pycares for all python3 flavors - * explicitely BuildRequire python-curses - * clean creation of test environment - -------------------------------------------------------------------- -Tue Jan 7 12:04:12 UTC 2020 - Tomáš Chvátal - -- Add patches to build with python 3.8: - * py38-0001-test-silence-deprecation-warning.patch - * py38-0002-dont-log-CancelledError.patch - -------------------------------------------------------------------- -Fri Nov 8 13:28:37 UTC 2019 - Andreas Schwab - -- Define TRAVIS to disable unreliable tests - -------------------------------------------------------------------- -Tue Nov 5 15:06:32 UTC 2019 - Todd R - -- Fix tests. - -------------------------------------------------------------------- -Mon Oct 14 14:45:49 UTC 2019 - Matej Cepl - -- Replace %fdupes -s with plain %fdupes; hardlinks are better. - -------------------------------------------------------------------- -Thu Oct 10 14:11:15 UTC 2019 - Dominique Leuenberger - -- Provide versioned python-tornado symbol, making this package a - full option in case the meta package is not applicable. - -------------------------------------------------------------------- -Tue Oct 1 13:21:22 UTC 2019 - Tomáš Chvátal - -- Per discussion with RM switch back to python-tornado - system with python-tornado standing in as a metapkg - -------------------------------------------------------------------- -Thu Sep 19 07:56:21 UTC 2019 - Tomáš Chvátal - -- Provide and obsolete python-toro that was integrated in tornado - -------------------------------------------------------------------- -Wed Sep 18 12:46:42 UTC 2019 - Tomáš Chvátal - -- Provide also python-tornado symbol not just py2/py3-tornado - -------------------------------------------------------------------- -Wed Sep 18 08:08:55 UTC 2019 - Tomáš Chvátal - -- Switch to pytest like approach for tornado -- Do not install tests - -------------------------------------------------------------------- -Tue Sep 17 11:03:20 UTC 2019 - Tomáš Chvátal - -- Reduce the conflicts even more - -------------------------------------------------------------------- -Thu Sep 12 09:32:43 UTC 2019 - Tomáš Chvátal - -- Match up to the changes done in tornado6 - -------------------------------------------------------------------- -Thu Sep 12 09:18:08 UTC 2019 - Tomáš Chvátal - -- We actually require the futures not just recommend them - -------------------------------------------------------------------- -Fri Aug 9 17:26:02 UTC 2019 - Todd R - -- Conflicts fixes - -------------------------------------------------------------------- -Fri Aug 9 15:59:16 UTC 2019 - Todd R - -- Use a different conflicts with other tornado versions. - -------------------------------------------------------------------- -Mon Jul 29 16:04:26 UTC 2019 - Todd R - -- Rename to python-tornado5 to handle version incompatibilities -- Update to 5.1.1 - + Bug fixes - * Fixed an case in which the `.Future` returned by - `.RequestHandler.finish` could fail to resolve. - * The `.TwitterMixin.authenticate_redirect` method works again. - * Improved error handling in the `tornado.auth` module, fixing hanging - requests when a network or other error occurs. -- Update to 5.1.0 - + Deprecation notice - * Tornado 6.0 will drop support for Python 2.7 and 3.4. The minimum - supported Python version will be 3.5.2. - * The ``tornado.stack_context`` module is deprecated and will be removed - in Tornado 6.0. The reason for this is that it is not feasible to - provide this module's semantics in the presence of ``async def`` - native coroutines. ``ExceptionStackContext`` is mainly obsolete - thanks to coroutines. ``StackContext`` lacks a direct replacement - although the new ``contextvars`` package (in the Python standard - library beginning in Python 3.7) may be an alternative. - * Callback-oriented code often relies on ``ExceptionStackContext`` to - handle errors and prevent leaked connections. In order to avoid the - risk of silently introducing subtle leaks (and to consolidate all of - Tornado's interfaces behind the coroutine pattern), ``callback`` - arguments throughout the package are deprecated and will be removed - in version 6.0. All functions that had a ``callback`` argument - removed now return a `.Future` which should be used instead. - * Where possible, deprecation warnings are emitted when any of these - deprecated interfaces is used. However, Python does not display - deprecation warnings by default. To prepare your application for - Tornado 6.0, run Python with the ``-Wd`` argument or set the - environment variable ``PYTHONWARNINGS`` to ``d``. If your - application runs on Python 3 without deprecation warnings, it should - be able to move to Tornado 6.0 without disruption. - + tornado.auth - * `.OAuthMixin._oauth_get_user_future` may now be a native coroutine. - * All ``callback`` arguments in this package are deprecated and will - be removed in 6.0. Use the coroutine interfaces instead. - * The ``OAuthMixin._oauth_get_user`` method is deprecated and will be removed in - 6.0. Override `~.OAuthMixin._oauth_get_user_future` instead. - + tornado.autoreload - * The command-line autoreload wrapper is now preserved if an internal - autoreload fires. - * The command-line wrapper no longer starts duplicated processes on windows - when combined with internal autoreload. - + tornado.concurrent - * `.run_on_executor` now returns `.Future` objects that are compatible - with ``await``. - * The ``callback`` argument to `.run_on_executor` is deprecated and will - be removed in 6.0. - * ``return_future`` is deprecated and will be removed in 6.0. - + tornado.gen - * Some older portions of this module are deprecated and will be removed - in 6.0. This includes ``engine``, ``YieldPoint``, ``Callback``, - ``Wait``, ``WaitAll``, ``MultiYieldPoint``, and ``Task``. - * Functions decorated with ``@gen.coroutine`` will no longer accept - ``callback`` arguments in 6.0. - + tornado.httpclient - * The behavior of ``raise_error=False`` is changing in 6.0. Currently - it suppresses all errors; in 6.0 it will only suppress the errors - raised due to completed responses with non-200 status codes. - * The ``callback`` argument to `.AsyncHTTPClient.fetch` is deprecated - and will be removed in 6.0. - * `tornado.httpclient.HTTPError` has been renamed to - `.HTTPClientError` to avoid ambiguity in code that also has to deal - with `tornado.web.HTTPError`. The old name remains as an alias. - * ``tornado.curl_httpclient`` now supports non-ASCII characters in - username and password arguments. - * ``.HTTPResponse.request_time`` now behaves consistently across - ``simple_httpclient`` and ``curl_httpclient``, excluding time spent - in the ``max_clients`` queue in both cases (previously this time was - included in ``simple_httpclient`` but excluded in - ``curl_httpclient``). In both cases the time is now computed using - a monotonic clock where available. - * `.HTTPResponse` now has a ``start_time`` attribute recording a - wall-clock (`time.time`) timestamp at which the request started - (after leaving the ``max_clients`` queue if applicable). - + tornado.httputil - * `.parse_multipart_form_data` now recognizes non-ASCII filenames in - RFC 2231/5987 (``filename*=``) format. - * ``HTTPServerRequest.write`` is deprecated and will be removed in 6.0. Use - the methods of ``request.connection`` instead. - * Malformed HTTP headers are now logged less noisily. - + tornado.ioloop - * `.PeriodicCallback` now supports a ``jitter`` argument to randomly - vary the timeout. - * ``IOLoop.set_blocking_signal_threshold``, - ``IOLoop.set_blocking_log_threshold``, ``IOLoop.log_stack``, - and ``IOLoop.handle_callback_exception`` are deprecated and will - be removed in 6.0. - * Fixed a `KeyError` in `.IOLoop.close` when `.IOLoop` objects are - being opened and closed in multiple threads. - + tornado.iostream - * All ``callback`` arguments in this module are deprecated except for - `.BaseIOStream.set_close_callback`. They will be removed in 6.0. - * ``streaming_callback`` arguments to `.BaseIOStream.read_bytes` and - `.BaseIOStream.read_until_close` are deprecated and will be removed - in 6.0. - + tornado.netutil - * Improved compatibility with GNU Hurd. - + tornado.options - * `tornado.options.parse_config_file` now allows setting options to - strings (which will be parsed the same way as - `tornado.options.parse_command_line`) in addition to the specified - type for the option. - + tornado.platform.twisted - * ``TornadoReactor`` and ``TwistedIOLoop`` are deprecated and will be - removed in 6.0. Instead, Tornado will always use the asyncio event loop - and twisted can be configured to do so as well. -``tornado.stack_context`` - * The ``tornado.stack_context`` module is deprecated and will be removed - in 6.0. - + tornado.testing - * `.AsyncHTTPTestCase.fetch` now takes a ``raise_error`` argument. - This argument has the same semantics as `.AsyncHTTPClient.fetch`, - but defaults to false because tests often need to deal with non-200 - responses (and for backwards-compatibility). - * The `.AsyncTestCase.stop` and `.AsyncTestCase.wait` methods are - deprecated. - + tornado.web - * New method `.RequestHandler.detach` can be used from methods - that are not decorated with ``@asynchronous`` (the decorator - was required to use ``self.request.connection.detach()``. - * `.RequestHandler.finish` and `.RequestHandler.render` now return - ``Futures`` that can be used to wait for the last part of the - response to be sent to the client. - * `.FallbackHandler` now calls ``on_finish`` for the benefit of - subclasses that may have overridden it. - * The ``asynchronous`` decorator is deprecated and will be removed in 6.0. - * The ``callback`` argument to `.RequestHandler.flush` is deprecated - and will be removed in 6.0. - + tornado.websocket - * When compression is enabled, memory limits now apply to the - post-decompression size of the data, protecting against DoS attacks. - * `.websocket_connect` now supports subprotocols. - * `.WebSocketHandler` and `.WebSocketClientConnection` now have - ``selected_subprotocol`` attributes to see the subprotocol in use. - * The `.WebSocketHandler.select_subprotocol` method is now called with - an empty list instead of a list containing an empty string if no - subprotocols were requested by the client. - * `.WebSocketHandler.open` may now be a coroutine. - * The ``data`` argument to `.WebSocketHandler.ping` is now optional. - * Client-side websocket connections no longer buffer more than one - message in memory at a time. - * Exception logging now uses `.RequestHandler.log_exception`. - + tornado.wsgi - * ``WSGIApplication`` and ``WSGIAdapter`` are deprecated and will be removed - in Tornado 6.0. -- Update to 5.0.2 - + Bug fixes - * Fixed a memory leak when `.IOLoop` objects are created and destroyed. - * If `.AsyncTestCase.get_new_ioloop` returns a reference to a - preexisting event loop (typically when it has been overridden to - return `.IOLoop.current()`), the test's ``tearDown`` method will not - close this loop. - * Fixed a confusing error message when the synchronous `.HTTPClient` - fails to initialize because an event loop is already running. - * `.PeriodicCallback` no longer executes twice in a row due to - backwards clock adjustments. -- Update to 5.0.1 - + Bug fix - * This release restores support for versions of Python 3.4 prior to - 3.4.4. This is important for compatibility with Debian Jessie which - has 3.4.2 as its version of Python 3. - + Highlights - * The focus of this release is improving integration with `asyncio`. - On Python 3, the `.IOLoop` is always a wrapper around the `asyncio` - event loop, and `asyncio.Future` and `asyncio.Task` are used instead - of their Tornado counterparts. This means that libraries based on - `asyncio` can be mixed relatively seamlessly with those using - Tornado. While care has been taken to minimize the disruption from - this change, code changes may be required for compatibility with - Tornado 5.0, as detailed in the following section. - * Tornado 5.0 supports Python 2.7.9+ and 3.4+. Python 2.7 and 3.4 are - deprecated and support for them will be removed in Tornado 6.0, - which will require Python 3.5+. -+ Backwards-compatibility notes - * Python 3.3 is no longer supported. - * Versions of Python 2.7 that predate the `ssl` module update are no - longer supported. (The `ssl` module was updated in version 2.7.9, - although in some distributions the updates are present in builds - with a lower version number. Tornado requires `ssl.SSLContext`, - `ssl.create_default_context`, and `ssl.match_hostname`) - * Versions of Python 3.5 prior to 3.5.2 are no longer supported due to - a change in the async iterator protocol in that version. - * The ``trollius`` project (`asyncio` backported to Python 2) is no - longer supported. - * `tornado.concurrent.Future` is now an alias for `asyncio.Future` - when running on Python 3. This results in a number of minor - behavioral changes: - > `.Future` objects can only be created while there is a current - `.IOLoop` - > The timing of callbacks scheduled with - ``Future.add_done_callback`` has changed. - `tornado.concurrent.future_add_done_callback` can be used to - make the behavior more like older versions of Tornado (but not - identical). Some of these changes are also present in the Python - 2 version of `tornado.concurrent.Future` to minimize the - difference between Python 2 and 3. - > Cancellation is now partially supported, via - `asyncio.Future.cancel`. A canceled `.Future` can no longer have - its result set. Applications that handle `~asyncio.Future` - objects directly may want to use - `tornado.concurrent.future_set_result_unless_cancelled`. In - native coroutines, cancellation will cause an exception to be - raised in the coroutine. - > The ``exc_info`` and ``set_exc_info`` methods are no longer - present. Use `tornado.concurrent.future_set_exc_info` to replace - the latter, and raise the exception with - `~asyncio.Future.result` to replace the former. - * ``io_loop`` arguments to many Tornado functions have been removed. - Use `.IOLoop.current()` instead of passing `.IOLoop` objects - explicitly. - * On Python 3, `.IOLoop` is always a wrapper around the `asyncio` - event loop. ``IOLoop.configure`` is effectively removed on Python 3 - (for compatibility, it may be called to redundantly specify the - `asyncio`-backed `.IOLoop`) - * `.IOLoop.instance` is now a deprecated alias for `.IOLoop.current`. - Applications that need the cross-thread communication behavior - facilitated by `.IOLoop.instance` should use their own global variable - instead. - + Other notes - * The ``futures`` (`concurrent.futures` backport) package is now required - on Python 2.7. - * The ``certifi`` and ``backports.ssl-match-hostname`` packages are no - longer required on Python 2.7. - * Python 3.6 or higher is recommended, because it features more - efficient garbage collection of `asyncio.Future` objects. - + tornado.auth - * `.GoogleOAuth2Mixin` now uses a newer set of URLs. - + tornado.autoreload - * On Python 3, uses ``__main__.__spec`` to more reliably reconstruct - the original command line and avoid modifying ``PYTHONPATH``. - * The ``io_loop`` argument to `tornado.autoreload.start` has been removed. - + tornado.concurrent - * `tornado.concurrent.Future` is now an alias for `asyncio.Future` - when running on Python 3. See "Backwards-compatibility notes" for - more. - * Setting the result of a ``Future`` no longer blocks while callbacks - are being run. Instead, the callbacks are scheduled on the next - `.IOLoop` iteration. - * The deprecated alias ``tornado.concurrent.TracebackFuture`` has been - removed. - * `tornado.concurrent.chain_future` now works with all three kinds of - ``Futures`` (Tornado, `asyncio`, and `concurrent.futures`) - * The ``io_loop`` argument to `tornado.concurrent.run_on_executor` has - been removed. - * New functions `.future_set_result_unless_cancelled`, - `.future_set_exc_info`, and `.future_add_done_callback` help mask - the difference between `asyncio.Future` and Tornado's previous - ``Future`` implementation. - + tornado.curl_httpclient - * Improved debug logging on Python 3. - * The ``time_info`` response attribute now includes ``appconnect`` in - addition to other measurements. - * Closing a `.CurlAsyncHTTPClient` now breaks circular references that - could delay garbage collection. - * The ``io_loop`` argument to the `.CurlAsyncHTTPClient` constructor - has been removed. - + tornado.gen - * ``tornado.gen.TimeoutError`` is now an alias for - `tornado.util.TimeoutError`. - * Leak detection for ``Futures`` created by this module now attributes - them to their proper caller instead of the coroutine machinery. - * Several circular references that could delay garbage collection have - been broken up. - * On Python 3, `asyncio.Task` is used instead of the Tornado coroutine - runner. This improves compatibility with some `asyncio` libraries - and adds support for cancellation. - * The ``io_loop`` arguments to ``YieldFuture`` and `.with_timeout` have - been removed. - + tornado.httpclient - * The ``io_loop`` argument to all `.AsyncHTTPClient` constructors has - been removed. - + tornado.httpserver - * It is now possible for a client to reuse a connection after sending - a chunked request. - * If a client sends a malformed request, the server now responds with - a 400 error instead of simply closing the connection. - * ``Content-Length`` and ``Transfer-Encoding`` headers are no longer - sent with 1xx or 204 responses (this was already true of 304 - responses). - * When closing a connection to a HTTP/1.1 client, the ``Connection: - close`` header is sent with the response. - * The ``io_loop`` argument to the `.HTTPServer` constructor has been - removed. - * If more than one ``X-Scheme`` or ``X-Forwarded-Proto`` header is - present, only the last is used. - + tornado.httputil - * The string representation of `.HTTPServerRequest` objects (which are - sometimes used in log messages) no longer includes the request - headers. - * New function `.qs_to_qsl` converts the result of - `urllib.parse.parse_qs` to name-value pairs. - + tornado.ioloop - * ``tornado.ioloop.TimeoutError`` is now an alias for - `tornado.util.TimeoutError`. - * `.IOLoop.instance` is now a deprecated alias for `.IOLoop.current`. - * `.IOLoop.install` and `.IOLoop.clear_instance` are deprecated. - * The ``IOLoop.initialized`` method has been removed. - * On Python 3, the `asyncio`-backed `.IOLoop` is always used and - alternative `.IOLoop` implementations cannot be configured. - `.IOLoop.current` and related methods pass through to - `asyncio.get_event_loop`. - * `~.IOLoop.run_sync` cancels its argument on a timeout. This - results in better stack traces (and avoids log messages about leaks) - in native coroutines. - * New methods `.IOLoop.run_in_executor` and - `.IOLoop.set_default_executor` make it easier to run functions in - other threads from native coroutines (since - `concurrent.futures.Future` does not support ``await``). - * ``PollIOLoop`` (the default on Python 2) attempts to detect misuse - of `.IOLoop` instances across `os.fork`. - * The ``io_loop`` argument to `.PeriodicCallback` has been removed. - * It is now possible to create a `.PeriodicCallback` in one thread - and start it in another without passing an explicit event loop. - * The ``IOLoop.set_blocking_signal_threshold`` and - ``IOLoop.set_blocking_log_threshold`` methods are deprecated because - they are not implemented for the `asyncio` event loop`. Use the - ``PYTHONASYNCIODEBUG=1`` environment variable instead. - * `.IOLoop.clear_current` now works if it is called before any - current loop is established. - + tornado.iostream - * The ``io_loop`` argument to the `.IOStream` constructor has been removed. - * New method `.BaseIOStream.read_into` provides a minimal-copy alternative to - `.BaseIOStream.read_bytes`. - * `.BaseIOStream.write` is now much more efficient for very large amounts of data. - * Fixed some cases in which ``IOStream.error`` could be inaccurate. - * Writing a `memoryview` can no longer result in "BufferError: - Existing exports of data: object cannot be re-sized". - + tornado.locks - * As a side effect of the ``Future`` changes, waiters are always - notified asynchronously with respect to `.Condition.notify`. - + tornado.netutil - * The default `.Resolver` now uses `.IOLoop.run_in_executor`. - `.ExecutorResolver`, `.BlockingResolver`, and `.ThreadedResolver` are - deprecated. - * The ``io_loop`` arguments to `.add_accept_handler`, - `.ExecutorResolver`, and `.ThreadedResolver` have been removed. - * `.add_accept_handler` returns a callable which can be used to remove - all handlers that were added. - * `.OverrideResolver` now accepts per-family overrides. - + tornado.options - * Duplicate option names are now detected properly whether they use - hyphens or underscores. - + tornado.platform.asyncio - * `.AsyncIOLoop` and `.AsyncIOMainLoop` are now used automatically - when appropriate; referencing them explicitly is no longer - recommended. - * Starting an `.IOLoop` or making it current now also sets the - `asyncio` event loop for the current thread. Closing an `.IOLoop` - closes the corresponding `asyncio` event loop. - * `.to_tornado_future` and `.to_asyncio_future` are deprecated since - they are now no-ops. - * `~.AnyThreadEventLoopPolicy` can now be used to easily allow the creation - of event loops on any thread (similar to Tornado's prior policy). - + tornado.platform.caresresolver - * The ``io_loop`` argument to `.CaresResolver` has been removed. - + tornado.platform.twisted - * The ``io_loop`` arguments to ``TornadoReactor``, `.TwistedResolver`, - and ``tornado.platform.twisted.install`` have been removed. - + tornado.process - * The ``io_loop`` argument to the `.Subprocess` constructor and - `.Subprocess.initialize` has been removed. - + tornado.routing - * A default 404 response is now generated if no delegate is found for - a request. - + tornado.simple_httpclient - * The ``io_loop`` argument to `.SimpleAsyncHTTPClient` has been removed. - * TLS is now configured according to `ssl.create_default_context` by - default. - + tornado.tcpclient - * The ``io_loop`` argument to the `.TCPClient` constructor has been - removed. - * `.TCPClient.connect` has a new ``timeout`` argument. - + tornado.tcpserver - * The ``io_loop`` argument to the `.TCPServer` constructor has been - removed. - * `.TCPServer` no longer logs ``EBADF`` errors during shutdown. - + tornado.testing - * The deprecated ``tornado.testing.get_unused_port`` and - ``tornado.testing.LogTrapTestCase`` have been removed. - * `.AsyncHTTPTestCase.fetch` now supports absolute URLs. - * `.AsyncHTTPTestCase.fetch` now connects to ``127.0.0.1`` - instead of ``localhost`` to be more robust against faulty - ipv6 configurations. - + tornado.util - * `tornado.util.TimeoutError` replaces ``tornado.gen.TimeoutError`` - and ``tornado.ioloop.TimeoutError``. - * `.Configurable` now supports configuration at multiple levels of an - inheritance hierarchy. - + tornado.web - * `.RequestHandler.set_status` no longer requires that the given - status code appear in `http.client.responses`. - * It is no longer allowed to send a body with 1xx or 204 responses. - * Exception handling now breaks up reference cycles that could delay - garbage collection. - * `.RedirectHandler` now copies any query arguments from the request - to the redirect location. - * If both ``If-None-Match`` and ``If-Modified-Since`` headers are present - in a request to `.StaticFileHandler`, the latter is now ignored. - + tornado.websocket - * The C accelerator now operates on multiple bytes at a time to - improve performance. - * Requests with invalid websocket headers now get a response with - status code 400 instead of a closed connection. - * `.WebSocketHandler.write_message` now raises `.WebSocketClosedError` if - the connection closes while the write is in progress. - * The ``io_loop`` argument to `.websocket_connect` has been removed. -- Rebase patches: - * tornado-testsuite_timeout.patch - * skip-failing-tests.patch -- Remove upstream-included asyncio.patch - -------------------------------------------------------------------- -Thu Mar 7 11:27:44 UTC 2019 - Tomáš Chvátal - -- Fix fdupes macro expansion - -------------------------------------------------------------------- -Wed Jan 30 11:13:17 UTC 2019 - Tomáš Chvátal - -- Add patch to skip tests failing with openss-1.1.1; this happens - only when using TLS 1.3 so if user wants to use tornado they - can hand disable the TLS and continue: - * skip-failing-tests.patch - -------------------------------------------------------------------- -Mon Jan 28 18:28:14 UTC 2019 - Jonathan Brownell - -- Import necessary dependencies on Red Hat platforms - -------------------------------------------------------------------- -Thu Jan 10 14:50:55 UTC 2019 - Tomáš Chvátal - -- Add patch really fixing the tests/tool to work on py3.7: - * asyncio.patch -- Add patch to enlarge key size for openssl 1.1.1: - * openssl-cert-size.patch - -------------------------------------------------------------------- -Thu Jan 10 14:47:39 UTC 2019 - Tomáš Chvátal - -- Drop patch tornado-async-deprecations.patch that does not fix - stuff on py3.7 - -------------------------------------------------------------------- -Thu May 10 16:35:09 UTC 2018 - toddrme2178@gmail.com - -- Fix building on SLE - -------------------------------------------------------------------- -Wed Apr 18 17:10:06 UTC 2018 - toddrme2178@gmail.com - -- Don't require backport_abc for python >= 3.5 - -------------------------------------------------------------------- -Fri Mar 16 14:46:55 CET 2018 - ro@suse.de - -- add tornado-testsuite_timeout.patch (bsc#1085661) - extend timeouts in testsuite to allow successful build on ppc64le - -------------------------------------------------------------------- -Wed Mar 7 15:38:39 UTC 2018 - aplanas@suse.com - -- Allows Recommends and Suggest in Fedora - -------------------------------------------------------------------- -Tue Feb 27 18:38:27 UTC 2018 - aplanas@suse.com - -- Recommends only for SUSE - -------------------------------------------------------------------- -Tue Feb 13 19:19:32 UTC 2018 - toddrme2178@gmail.com - -- Update to version 4.5.3 - + tornado.curl_httpclient - * Improved debug logging on Python 3. - + tornado.httpserver - * ``Content-Length`` and ``Transfer-Encoding`` headers are no longer - sent with 1xx or 204 responses (this was already true of 304 - responses). - * Reading chunked requests no longer leaves the connection in a broken - state. - + tornado.iostream - * Writing a `memoryview` can no longer result in "BufferError: - Existing exports of data: object cannot be re-sized". - + tornado.options - * Duplicate option names are now detected properly whether they use - hyphens or underscores. - + tornado.testing - * `.AsyncHTTPTestCase.fetch` now uses ``127.0.0.1`` instead of - ``localhost``, improving compatibility with systems that have - partially-working ipv6 stacks. - + tornado.web - * It is no longer allowed to send a body with 1xx or 204 responses. - + tornado.websocket - * Requests with invalid websocket headers now get a response with - status code 400 instead of a closed connection. - -------------------------------------------------------------------- -Thu Jan 4 15:56:26 UTC 2018 - jmatejek@suse.com - -- only buildrequire futures / singledispatch if python2 is present - (fixes build in environments that don't have python2 at all) - -------------------------------------------------------------------- -Wed Dec 6 13:59:31 UTC 2017 - tchvatal@suse.com - -- Distribute license file - -------------------------------------------------------------------- -Wed Nov 22 22:55:01 UTC 2017 - arun@gmx.de - -- specfile: - * removed tornado-configtest.patch: fixed upstream - * update tornado-async-deprecation.patch (partly integrated) - -- update to version 4.5.2: - * Tornado now sets the FD_CLOEXEC flag on all file descriptors it - creates. This prevents hanging client connections and resource - leaks when the tornado.autoreload module (or - Application(debug=True)) is used. - -- changes from version 4.5.1: - * tornado.log - + Improved detection of libraries for colorized logging. - * tornado.httputil - + url_concat once again treats None as equivalent to an empty - sequence. - -- changes from version 4.5.0: - * long changelog, see http://www.tornadoweb.org/en/stable/releases/v4.5.0.html - for details - -------------------------------------------------------------------- -Tue Oct 17 10:03:04 UTC 2017 - opensuse_buildservice@ojkastl.de - -- added %{python_module backports.ssl_match_hostname} - on SLES12 GA aka SP0, to avoid build errors -- explicit BuildRequires for certifi on SLES12 GA aka SP0 only - -------------------------------------------------------------------- -Tue Oct 17 09:24:48 UTC 2017 - opensuse_buildservice@ojkastl.de - -- added certifi to BuildRequires, to fix 'ImportError: No module named certifi' - -------------------------------------------------------------------- -Wed Aug 9 19:03:51 UTC 2017 - toddrme2178@gmail.com - -- Fix tests - -------------------------------------------------------------------- -Fri Jun 23 17:41:45 UTC 2017 - jmatejek@suse.com - -- in %pre, remove egg-info file if installed, because it's being - replaced by a directory (bsc#1035604) - -------------------------------------------------------------------- -Tue Jun 13 14:57:15 UTC 2017 - jmatejek@suse.com - -- replace the complicated condition for requiring backports.ssl_match_hostname - with unconditional requirement for Python >= 2.7.9 - -------------------------------------------------------------------- -Wed May 31 19:25:46 UTC 2017 - dmueller@suse.com - -- require python-backports.ssl_hostname only on python 2.x - -------------------------------------------------------------------- -Fri Apr 7 19:59:28 UTC 2017 - toddrme2178@gmail.com - -- update to 4.4.3 - * The `tornado.auth` module has been updated for compatibility with `a - change to Facebook's access_token endpoint. - -------------------------------------------------------------------- -Thu Apr 6 15:30:33 UTC 2017 - jmatejek@suse.com - -- tornado-configtest.patch: fix test failure when __file__ is not absolute -- tornado-async-deprecations.patch: filter test failures due to async - deprecation warnings, to fix build on python 3.6 -- update for multipython build -- enable test suite - -------------------------------------------------------------------- -Mon Nov 14 14:39:26 UTC 2016 - dmueller@suse.com - -- update to 4.4.2: - * Tornado now requires Python 2.7 or 3.3+; versions 2.6 and 3.2 are no - longer supported. Pypy3 is still supported even though its latest - release is mainly based on Python 3.2. - * The `monotonic `_ package is - now supported as an alternative to `Monotime - `_ for monotonic clock support - on Python 2. - -------------------------------------------------------------------- -Wed Dec 23 12:48:58 UTC 2015 - jmassaguerpla@suse.com - -- add singledispatch and backports_abc dependencies - -as stated in docs/releases/v4.3.0.rst - - -* Tornado has several new dependencies: (...) - ``singledispatch`` on all Python versions prior to 3.4 (This was an - optional dependency in prior versions of Tornado, and is now - mandatory), and ``backports_abc>=0.4`` on all versions prior to - 3.5 - -Since this python module works with python version >= 2.7.9 (otherwise it would be called python3-tornado, afaiu) - -------------------------------------------------------------------- -Wed Dec 9 11:26:45 UTC 2015 - toddrme2178@gmail.com - -- Switch to pypi tarball. It uses "4.3" instead of "4.3.0" - -------------------------------------------------------------------- -Tue Dec 8 10:51:12 UTC 2015 - kkaempf@suse.com - -- Update to 4.3.0 - - The new async/await keywords in Python 3.5 are supported. - - Deprecation notice - - This will be the last release of Tornado to support Python 2.6 - or 3.2. - - See http://www.tornadoweb.org/en/stable/releases/v4.3.0.html - -------------------------------------------------------------------- -Sat Oct 17 11:45:08 UTC 2015 - mc@suse.com - -- fix macro -- use package name python-backports-ssl_match_hostname on rhel7 -- define py_ver where it does not exist - -------------------------------------------------------------------- -Wed Sep 30 09:11:37 UTC 2015 - fcastelli@suse.com - -- python-certifi is an optional depedency when python 2.7.9 is available. - -------------------------------------------------------------------- -Sat Sep 26 10:21:28 UTC 2015 - toddrme2178@gmail.com - -- python-certifi is a hard dependency, not an optional one. - -------------------------------------------------------------------- -Wed Sep 23 10:39:53 UTC 2015 - tampakrap@opensuse.org - -- Remove python-Twisted BuildRequires. It causes a python-cryptography build - dependency, which is currently broken on SLE11SP4 due to old OpenSSL version - -------------------------------------------------------------------- -Thu Sep 10 19:39:18 UTC 2015 - aboe76@gmail.com - -- Update to 4.2.1: - Security fix: - * This release fixes a path traversal vulnerability in StaticFileHandler, - in which files whose names started with the static_path directory - but were not actually in that directory could be accessed. -- Update to 4.2: - Backwards-compatibility: - * SSLIOStream.connect and IOStream.start_tls now - validate certificates by default. - * Certificate validation will now use the system CA root certificates - instead of certifi when possible (i.e. Python 2.7.9+ or 3.4+). - This includes IOStream and simple_httpclient, but not curl_httpclient - * The default SSL configuration has become stricter, - using ssl.create_default_context where available on the client side. - (On the server side, applications are encouraged to migrate from - the ssl_options dict-based API to pass an ssl.SSLContext instead). - * The deprecated classes in the tornado.auth module, GoogleMixin, - FacebookMixin, and FriendFeedMixin have been removed. - * see more details: - http://www.tornadoweb.org/en/stable/releases/v4.2.0.html - -------------------------------------------------------------------- -Wed Aug 12 14:29:56 UTC 2015 - seife+obs@b1-systems.com - -- fix build with non-SUSE distributions - -------------------------------------------------------------------- -Wed Apr 22 13:21:19 UTC 2015 - mcihar@suse.cz - -- Update to 4.1: - * If a `.Future` contains an exception but that exception is never - examined or re-raised (e.g. by yielding the `.Future`), a stack - trace will be logged when the `.Future` is garbage-collected. - * New class `tornado.gen.WaitIterator` provides a way to iterate - over ``Futures`` in the order they resolve. - * The `tornado.websocket` module now supports compression via the - "permessage-deflate" extension. Override - `.WebSocketHandler.get_compression_options` to enable on the server - side, and use the ``compression_options`` keyword argument to - `.websocket_connect` on the client side. - * When the appropriate packages are installed, it is possible to yield - `asyncio.Future` or Twisted ``Defered`` objects in Tornado coroutines. - -------------------------------------------------------------------- -Thu Oct 2 16:05:54 UTC 2014 - toddrme2178@gmail.com - -- Remove python-pycares BuildRequires since it is optional and - not in openSUSE:Factory - -------------------------------------------------------------------- -Wed Oct 1 15:23:31 UTC 2014 - toddrme2178@gmail.com - -- Update to version 4.0.2 - + Bug fixes - * Fixed a bug that could sometimes cause a timeout to fire after being - cancelled. - * `.AsyncTestCase` once again passes along arguments to test methods, - making it compatible with extensions such as Nose's test generators. - * `.StaticFileHandler` can again compress its responses when gzip is enabled. - * ``simple_httpclient`` passes its ``max_buffer_size`` argument to the - underlying stream. - * Fixed a reference cycle that can lead to increased memory consumption. - * `.add_accept_handler` will now limit the number of times it will call - `~socket.socket.accept` per `.IOLoop` iteration, addressing a potential - starvation issue. - * Improved error handling in `.IOStream.connect` (primarily for FreeBSD - systems) -- Update to version 4.0.1 - + Bug fixes - * The build will now fall back to pure-python mode if the C extension - fails to build for any reason (previously it would fall back for some - errors but not others). - * `.IOLoop.call_at` and `.IOLoop.call_later` now always return - a timeout handle for use with `.IOLoop.remove_timeout`. - * If any callback of a `.PeriodicCallback` or `.IOStream` returns a - `.Future`, any error raised in that future will now be logged - (similar to the behavior of `.IOLoop.add_callback`). - * Fixed an exception in client-side websocket connections when the - connection is closed. - * ``simple_httpclient`` once again correctly handles 204 status - codes with no content-length header. - * Fixed a regression in ``simple_httpclient`` that would result in - timeouts for certain kinds of errors. -- Update to version 4.0.0 - + Highlights - * The `tornado.web.stream_request_body` decorator allows large files to be - uploaded with limited memory usage. - * Coroutines are now faster and are used extensively throughout Tornado itself. - More methods now return `Futures <.Future>`, including most `.IOStream` - methods and `.RequestHandler.flush`. - * Many user-overridden methods are now allowed to return a `.Future` - for flow control. - * HTTP-related code is now shared between the `tornado.httpserver`, - ``tornado.simple_httpclient`` and `tornado.wsgi` modules, making support - for features such as chunked and gzip encoding more consistent. - `.HTTPServer` now uses new delegate interfaces defined in `tornado.httputil` - in addition to its old single-callback interface. - * New module `tornado.tcpclient` creates TCP connections with non-blocking - DNS, SSL handshaking, and support for IPv6. - + See more release details at - http://www.tornadoweb.org/en/stable/releases/v4.0.0.html -- Update to version 3.2.2 - + Security fixes - * The XSRF token is now encoded with a random mask on each request. - This makes it safe to include in compressed pages without being - vulnerable to the `BREACH attack `_. - This applies to most applications that use both the ``xsrf_cookies`` - and ``gzip`` options (or have gzip applied by a proxy). - + Backwards-compatibility notes - * If Tornado 3.2.2 is run at the same time as older versions on the same - domain, there is some potential for issues with the differing cookie - versions. The `.Application` setting ``xsrf_cookie_version=1`` can - be used for a transitional period to generate the older cookie format - on newer servers. - + Other changes - * ``tornado.platform.asyncio`` is now compatible with ``trollius`` version 0.3. - -------------------------------------------------------------------- -Tue May 20 13:05:18 UTC 2014 - toddrme2178@gmail.com - -- Update dependencies - -------------------------------------------------------------------- -Sun May 11 14:00:00 UTC 2014 - andrea@opensuse.org - -- new upstream version 3.2.1 - - several new modules and bugfixes check website for details - http://www.tornadoweb.org/en/stable/releases.html - -------------------------------------------------------------------- -Sun Nov 17 16:07:37 UTC 2013 - p.drouand@gmail.com - -- Update to version 3.1.1 - + StaticFileHandler no longer fails if the client requests a Range that - is larger than the entire file (Facebook has a crawler that does this). - + RequestHandler.on_connection_close now works correctly on subsequent - requests of a keep-alive connection. - -------------------------------------------------------------------- -Thu Aug 15 11:03:17 UTC 2013 - speilicke@suse.com - -- Update to version 3.1: - + See http://www.tornadoweb.org/en/stable/releases/v3.1.0.html -- Fix rpmlint issues properly -- Use upstream URL - -------------------------------------------------------------------- -Thu Apr 11 16:47:30 UTC 2013 - alexandre@exatati.com.br - -- Update to 3.0.1: - - The interface of tornado.auth.FacebookGraphMixin is now - consistent with its documentation and the rest of the module. - The get_authenticated_user and facebook_request methods return - a Future and the callback argument is optional. - - The tornado.testing.gen_test decorator will no longer be - recognized as a (broken) test by nose. - - Work around a bug in Ubuntu 13.04 betas involving an - incomplete backport of the ssl.match_hostname function. - - tornado.websocket.websocket_connect now fails cleanly when it - attempts to connect to a non-websocket url. - - tornado.testing.LogTrapTestCase once again works with byte - strings on Python 2. - - The request attribute of tornado.httpclient.HTTPResponse is - now always an HTTPRequest, never a _RequestProxy. - - Exceptions raised by the tornado.gen module now have better - messages when tuples are used as callback keys. - -------------------------------------------------------------------- -Sat Mar 30 17:46:48 UTC 2013 - alexandre@exatati.com.br - -- Update to 3.0: - - Please read full changelog at - http://www.tornadoweb.org/en/stable/releases/v3.0.0.html - -------------------------------------------------------------------- -Sun Nov 25 11:41:29 UTC 2012 - alexandre@exatati.com.br - -- Update to 2.4.1: - - Fixed a memory leak in tornado.stack_context that was especially - likely with long-running @gen.engine functions. - - tornado.auth.TwitterMixin now works on Python 3. - - Fixed a bug in which IOStream.read_until_close with a streaming - callback would sometimes pass the last chunk of data to the - final callback instead of the streaming callback. - -------------------------------------------------------------------- -Wed Sep 5 03:54:59 UTC 2012 - alexandre@exatati.com.br - -- Update to 2.4: - - Please check changelog at - http://www.tornadoweb.org/documentation/releases/v2.4.0.html - -------------------------------------------------------------------- -Fri Jun 1 11:59:36 UTC 2012 - alexandre@exatati.com.br - -- Update to 2.3: - - Please check changelog at - http://www.tornadoweb.org/documentation/releases/v2.3.0.html - -------------------------------------------------------------------- -Fri May 18 15:27:08 UTC 2012 - toddrme2178@gmail.com - -- Fix rpmlint warnings -- Improve openSUSE 11.4 build fix -- Clean up spec file - -------------------------------------------------------------------- -Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com - -- Fix building python 3 package on openSUSE 11.4 x86_64 - -------------------------------------------------------------------- -Sat Apr 28 05:42:29 UTC 2012 - highwaystar.ru@gmail.com - -- added python3 package - -------------------------------------------------------------------- -Tue Apr 24 11:01:28 UTC 2012 - alexandre@exatati.com.br - -- Update to 2.2.1: - - tornado.web.RequestHandler.set_header now properly sanitizes - input values to protect against header injection, response - splitting, etc. (it has always attempted to do this, but the - check was incorrect). Note that redirects, the most likely - source of such bugs, are protected by a separate check in - RequestHandler.redirect. - - Colored logging configuration in tornado.options is compatible - with Python 3.2.3 (and 3.3). - -------------------------------------------------------------------- -Wed Mar 21 18:51:00 UTC 2012 - saschpe@gmx.de - -- Update requires on python-curl to python-pycurl - -------------------------------------------------------------------- -Mon Mar 12 21:38:08 UTC 2012 - saschpe@gmx.de - -- Simplified macro usage -- Use upstream tarball - -------------------------------------------------------------------- -Mon Jan 30 23:17:07 UTC 2012 - alexandre@exatati.com.br - -- Update to 2.2: - - Please read http://www.tornadoweb.org/documentation/releases/v2.2.0.html - for all changes in this release. - -------------------------------------------------------------------- -Tue Oct 4 23:57:09 UTC 2011 - alexandre@exatati.com.br - -- Update to 2.1.1 - Bug fixes: - - Fixed handling of closed connections with the epoll - (i.e. Linux) IOLoop. Previously, closed connections could be - shut down too early, which most often manifested as “Stream - is closed” exceptions in SimpleAsyncHTTPClient. - - Fixed a case in which chunked responses could be closed - prematurely, leading to truncated output. - - IOStream.connect now reports errors more consistently via - logging and the close callback (this affects e.g. connections - to localhost on FreeBSD). - - IOStream.read_bytes again accepts both int and long arguments. - - PeriodicCallback no longer runs repeatedly when IOLoop - iterations complete faster than the resolution of time.time() - (mainly a problem on Windows). - Backwards-compatibility note - - Listening for IOLoop.ERROR alone is no longer sufficient for - detecting closed connections on an otherwise unused socket. - IOLoop.ERROR must always be used in combination with READ or - WRITE. - -------------------------------------------------------------------- -Wed Sep 21 11:27:02 UTC 2011 - alexandre@exatati.com.br - -- Update to 2.1: - - There are security fixes, backwards-incompatible changes, - new modules, and bug fixes. - For full changes please read - http://www.tornadoweb.org/documentation/releases/v2.1.0.html - -------------------------------------------------------------------- -Thu Jul 7 20:19:08 UTC 2011 - saschpe@gmx.de - -- Added README and examples to documentation -- Fixed license string to "Apache-2.0" - -------------------------------------------------------------------- -Wed Jun 22 11:47:26 UTC 2011 - alexandre@exatati.com.br - -- Update to 2.0: - Major changes: - * Template output is automatically escaped by default; see backwards - compatibility note below. - * The default AsyncHTTPClient implementation is now simple_httpclient. - * Python 3.2 is now supported. - For backwards compatibility and other changes in this release, - please read http://www.tornadoweb.org/documentation/releases/v2.0.0.html -- Regenerate spec file with py2pack. - -------------------------------------------------------------------- -Fri Mar 4 04:10:43 UTC 2011 - alexandre@exatati.com.br - -- Update to 1.2.1. - -------------------------------------------------------------------- -Sun Feb 20 21:25:09 UTC 2011 - alexandre@exatati.com.br - -- Update to 1.2. - -------------------------------------------------------------------- -Wed Feb 9 10:51:01 UTC 2011 - alexandre@exatati.com.br - -- Update to 1.1.1. - -------------------------------------------------------------------- -Fri Sep 10 05:14:00 UTC 2010 - alexandre@exatati.com.br - -- Update to 1.1. - -------------------------------------------------------------------- -Tue May 18 12:22:11 UTC 2010 - alexandre@exatati.com.br - -- New tarball release on PyPI. - -------------------------------------------------------------------- -Fri Nov 13 00:54:15 UTC 2009 - alexandre@exatati.com.br - -- Update to 0.2; -- Building as noarch for openSUSE >= 11.2. - -------------------------------------------------------------------- -Mon Sep 14 11:50:08 UTC 2009 - alexandre@exatati.com.br - -- Initial package (0.1) for openSUSE. diff --git a/packages/p/python-tornado5/python-tornado5.spec b/packages/p/python-tornado5/python-tornado5.spec deleted file mode 100644 index 71484725de8..00000000000 --- a/packages/p/python-tornado5/python-tornado5.spec +++ /dev/null @@ -1,149 +0,0 @@ -# -# spec file for package python-tornado5 -# -# Copyright (c) 2021 SUSE LLC -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via https://bugs.opensuse.org/ -# - - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python -%define skip_python310 1 -%bcond_without python2 -Name: python-tornado5 -Version: 5.1.1 -Release: 0 -Summary: Open source version of scalable, non-blocking web server that power FriendFeed -License: Apache-2.0 -URL: http://www.tornadoweb.org -Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz -Source99: python-tornado5-rpmlintrc -Patch1: tornado-testsuite_timeout.patch -Patch2: openssl-cert-size.patch -Patch3: skip-failing-tests.patch -Patch4: py38-0001-test-silence-deprecation-warning.patch -Patch5: py38-0002-dont-log-CancelledError.patch -Patch6: py2-dont-log-cryptographywarning.patch -BuildRequires: %{python_module Twisted} -BuildRequires: %{python_module certifi} -BuildRequires: %{python_module curses} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module pycurl} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module simplejson} -%if 0%{?suse_version} >= 1550 -BuildRequires: %{python_module pycares} -%else -BuildRequires: python3-pycares -%endif -BuildRequires: fdupes -BuildRequires: python-rpm-macros -Requires: python -Requires: python-simplejson -Conflicts: python-tornado-impl -Provides: python-tornado = %{version} -Provides: python-tornado-impl = %{version} -Provides: python-toro = %{version} -Obsoletes: python-toro < %{version} -%ifpython2 -Provides: %{oldpython}-tornado = %{version} -%endif -%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8 -Recommends: python-Twisted -Recommends: python-pycares -Recommends: python-pycurl -Recommends: python-service_identity -%endif -%if %{with python2} -BuildRequires: python-backports_abc -BuildRequires: python-futures -BuildRequires: python-mock -BuildRequires: python-service_identity -BuildRequires: python-singledispatch -%endif -%if %{python3_version_nodots} < 35 -BuildRequires: python3-backports_abc -%endif -%if %{python_version_nodots} < 35 -Requires: python-backports_abc -%endif -%ifpython2 -Requires: python-futures -Requires: python-singledispatch -Provides: %{oldpython}-tornado = %{version} -%endif -%python_subpackages - -%description -Tornado is an open source version of the scalable, non-blocking web server and -tools that power FriendFeed. The FriendFeed application is written using a web -framework that looks a bit like web.py or Google's webapp, but with additional -tools and optimizations to take advantage of the underlying non-blocking -infrastructure. - -The framework is distinct from most mainstream web server frameworks (and -certainly most Python frameworks) because it is non-blocking and reasonably -fast. Because it is non-blocking and uses epoll, it can handle thousands of -simultaneous standing connections, which means it is ideal for real-time web -services. We built the web server specifically to handle FriendFeed's real-time -features — every active user of FriendFeed maintains an open connection to the -FriendFeed servers. (For more information on scaling servers to support -thousands of clients, see The C10K problem.) - -%prep -%setup -q -n tornado-%{version} -# Fix non-executable script rpmlint issue: -find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; -%autopatch -p1 - -%pre -# remove egg-info _file_, being replaced by an egg-info directory -if [ -f %{python_sitearch}/tornado-%{version}-py%{python_version}.egg-info ]; then - rm %{python_sitearch}/tornado-%{version}-py%{python_version}.egg-info -fi - -%build -%python_build - -%install -%python_install -%{python_expand # -rm -r %{buildroot}%{$python_sitearch}/tornado/test -%fdupes %{buildroot}%{$python_sitearch} -pdocdir=%{buildroot}%{_docdir}/%{$python_prefix}-tornado5 -mkdir -p ${pdocdir} -cp -r demos ${pdocdir}/ -find ${pdocdir} -type f -exec chmod a-x '{}' ';' -%fdupes ${pdocdir} -} - -%check -export ASYNC_TEST_TIMEOUT=30 -export TRAVIS=1 -%{python_expand # merge the compiled sitearch and the test directory into testenv dir -mkdir testenv-%{$python_bin_suffix} -pushd testenv-%{$python_bin_suffix} -cp -r %{buildroot}%{$python_sitearch}/tornado ./ -cp -r ../tornado/test tornado/ -$python -Bm tornado.test.runtests --verbose -popd -} - -%files %{python_files} -%license LICENSE -%doc README.rst -%doc %{_docdir}/%{python_prefix}-tornado5/demos/ -%{python_sitearch}/tornado/ -%{python_sitearch}/tornado-%{version}-py*.egg-info - -%changelog diff --git a/packages/p/python-tornado5/skip-failing-tests.patch b/packages/p/python-tornado5/skip-failing-tests.patch deleted file mode 100644 index bc76d3543a5..00000000000 --- a/packages/p/python-tornado5/skip-failing-tests.patch +++ /dev/null @@ -1,48 +0,0 @@ -From: Benjamin Drung -Date: Tue, 18 Dec 2018 18:35:28 +0100 -Subject: [PATCH] Skip failing openssl 1.1.1 tests (for now) - -Four tests fail when using openssl 1.1.1 with TLS 1.3 support. Disable -these tests for now. Please fix the bug and re-enable them again. - -Bug: https://github.com/tornadoweb/tornado/issues/2536 ---- - tornado/test/iostream_test.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/tornado/test/iostream_test.py b/tornado/test/iostream_test.py -index 56fffe6..b1d5f5d 100644 ---- a/tornado/test/iostream_test.py -+++ b/tornado/test/iostream_test.py -@@ -163,6 +163,7 @@ class TestReadWriteMixin(object): - raise NotImplementedError - - @gen_test -+ @unittest.skip("Failing when using openssl 1.1.1 with TLS 1.3 support. See https://github.com/tornadoweb/tornado/issues/2536") - def test_write_zero_bytes(self): - # Attempting to write zero bytes should run the callback without - # going into an infinite loop. -@@ -375,6 +375,7 @@ class TestReadWriteMixin(object): - rs.close() - - @gen_test -+ @unittest.skip("Failing when using openssl 1.1.1 with TLS 1.3 support. See https://github.com/tornadoweb/tornado/issues/2536") - def test_read_until_close_after_close(self): - # Similar to test_delayed_close_callback, but read_until_close takes - # a separate code path so test it separately. -@@ -394,6 +394,7 @@ class TestIOStreamMixin(object): - rs.close() - - @gen_test -+ @unittest.skip("Failing when using openssl 1.1.1 with TLS 1.3 support. See https://github.com/tornadoweb/tornado/issues/2536") - def test_streaming_read_until_close_after_close(self): - # Same as the preceding test but with a streaming_callback. - # All data should go through the streaming callback, -@@ -978,6 +978,7 @@ class TestIOStreamMixin(object): - @skipIfNonUnix - @skipPypy3V58 - @gen_test -+ @unittest.skip("Failing when using openssl 1.1.1 with TLS 1.3 support. See https://github.com/tornadoweb/tornado/issues/2536") - def test_inline_read_error(self): - # An error on an inline read is raised without logging (on the - # assumption that it will eventually be noticed or logged further diff --git a/packages/p/python-tornado5/tornado-5.1.1.tar.gz b/packages/p/python-tornado5/tornado-5.1.1.tar.gz deleted file mode 120000 index 795074cad5d..00000000000 --- a/packages/p/python-tornado5/tornado-5.1.1.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeih6v3bpmpw3nqi57vavv4tff3uzqks2nroy35tzrc4axmoj3oinwi \ No newline at end of file diff --git a/packages/p/python-tornado5/tornado-testsuite_timeout.patch b/packages/p/python-tornado5/tornado-testsuite_timeout.patch deleted file mode 100644 index b9003ee3b03..00000000000 --- a/packages/p/python-tornado5/tornado-testsuite_timeout.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- tornado-5.1.1/tornado/test/testing_test.py 2018/03/16 13:18:44 1.1 -+++ tornado-5.1.1/tornado/test/testing_test.py 2018/03/16 13:18:56 -@@ -68,7 +68,7 @@ - self.io_loop.add_timeout(self.io_loop.time() + 0.00, self.stop) - self.wait(timeout=0.02) - self.io_loop.add_timeout(self.io_loop.time() + 0.03, self.stop) -- self.wait(timeout=0.15) -+ self.wait(timeout=0.25) - - def test_multiple_errors(self): - with ignore_deprecation(): -@@ -255,7 +255,7 @@ - self.finished = True - - def test_timeout_environment_variable(self): -- @gen_test(timeout=0.5) -+ @gen_test(timeout=0.9) - def test_long_timeout(self): - yield gen.sleep(0.25) -