Hello community, here is the log from the commit of package python-tornado for openSUSE:Factory checked in at 2019-02-02 21:45:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tornado (Old) and /work/SRC/openSUSE:Factory/.python-tornado.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tornado" Sat Feb 2 21:45:42 2019 rev:52 rq:670099 version:4.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes 2019-01-28 20:45:35.402085409 +0100 +++ /work/SRC/openSUSE:Factory/.python-tornado.new.28833/python-tornado.changes 2019-02-02 21:45:43.600163899 +0100 @@ -1,0 +2,13 @@ +Wed Jan 30 11:13:17 UTC 2019 - Tomáš Chvátal <[email protected]> + +- 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 <[email protected]> + +- Import necessary dependencies on Red Hat platforms + +------------------------------------------------------------------- New: ---- skip-failing-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tornado.spec ++++++ --- /var/tmp/diff_new_pack.geWTna/_old 2019-02-02 21:45:44.896162776 +0100 +++ /var/tmp/diff_new_pack.geWTna/_new 2019-02-02 21:45:44.896162776 +0100 @@ -30,6 +30,7 @@ # meshed from upstream and local changes (Tornado 5 update blocked by salt) Patch2: asyncio.patch Patch3: openssl-cert-size.patch +Patch4: skip-failing-tests.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pycurl} BuildRequires: %{python_module setuptools} @@ -38,13 +39,13 @@ BuildRequires: python-rpm-macros Requires: python Requires: python-simplejson -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +%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 0%{?sle_version} == 120300 +%if 0%{?sle_version} == 120300 || 0%{?sle_version} == 120400 || 0%{?fedora} || 0%{?rhel} BuildRequires: %{python_module backports_abc} %endif %if 0%{?sle_version} == 120000 && !0%{?is_opensuse} @@ -66,7 +67,7 @@ %endif %ifpython2 Requires: python-singledispatch -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8 Recommends: python-futures %endif %endif @@ -95,6 +96,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %pre # remove egg-info _file_, being replaced by an egg-info directory @@ -115,7 +117,8 @@ %python_exec -m tornado.test.runtests %files %{python_files} -%doc demos LICENSE +%license LICENSE +%doc demos %{python_sitearch}/tornado %{python_sitearch}/tornado-%{version}-py*.egg-info ++++++ skip-failing-tests.patch ++++++ From: Benjamin Drung <[email protected]> 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 @@ -212,6 +212,7 @@ class TestIOStreamMixin(object): server.close() client.close() + @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. @@ -437,6 +438,7 @@ class TestIOStreamMixin(object): server.close() client.close() + @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. @@ -469,6 +471,7 @@ class TestIOStreamMixin(object): server.close() client.close() + @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, @@ -540,6 +543,7 @@ class TestIOStreamMixin(object): @skipIfNonUnix @skipPypy3V58 + @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
