From 8fc098840520a908f309a8b766d6e58b5602f1b974bfcc0369bc482f0f57adb0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 11 Dec 2020 13:36:00 +0000 Subject: [PATCH] Accepting request 854855 from home:bnavigator:branches:devel:languages:python - Add pr_672-remove-OpenSSL-tsafe.patch to support pyopenssl 20 - skip some tests which are flaky inside OBS environment - fix python2 build requirement for Leap OBS-URL: https://build.opensuse.org/request/show/854855 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=78 --- python-eventlet.changes | 2 ++ python-eventlet.spec | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/python-eventlet.changes b/python-eventlet.changes index 83aedfa..674f093 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -2,6 +2,8 @@ Thu Dec 10 22:43:44 UTC 2020 - Benjamin Greiner - Add pr_672-remove-OpenSSL-tsafe.patch to support pyopenssl 20 +- skip some tests which are flaky inside OBS environment +- fix python2 build requirement for Leap ------------------------------------------------------------------- Mon Dec 7 00:14:23 UTC 2020 - Benjamin Greiner diff --git a/python-eventlet.spec b/python-eventlet.spec index 96d4dc0..89235ac 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -45,7 +45,7 @@ BuildRequires: %{python_module pyzmq} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module testsuite} -%if 0%{?have_python2} && ! 0%{?skip_python2} +%if 0%{?suse_version} < 1550 BuildRequires: python2-monotonic >= 1.4 %endif BuildRequires: fdupes @@ -96,6 +96,8 @@ python2_pytest_param='--collect-only' skiptests="(BackdoorTest and test_server)" # fail only with dnspython 2: skiptests+=" or test_dns_methods_are_green or test_noraise_dns_tcp" +# These are flaky inside the OBS environment +skiptests+=" or test_fork_after_monkey_patch or test_send_1k_req_rep or test_cpu_usage_after_bind" # Unknown Python 3.6 specific errors # TypeError: _wrap_socket() argument 1 must be _socket.socket, not SSLSocket