Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gevent for openSUSE:Factory checked in at 2021-08-02 12:04:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gevent (Old) and /work/SRC/openSUSE:Factory/.python-gevent.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gevent" Mon Aug 2 12:04:51 2021 rev:35 rq:908926 version:21.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gevent/python-gevent.changes 2021-02-16 22:34:00.929458091 +0100 +++ /work/SRC/openSUSE:Factory/.python-gevent.new.1899/python-gevent.changes 2021-08-02 12:05:28.345650896 +0200 @@ -1,0 +2,6 @@ +Thu Jul 8 05:50:58 UTC 2021 - Antonio Larrosa <[email protected]> + +- Skip two tests that fail in SLE/Leap: + * skip-tests-in-leap.patch + +------------------------------------------------------------------- New: ---- skip-tests-in-leap.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gevent.spec ++++++ --- /var/tmp/diff_new_pack.dbQy7w/_old 2021-08-02 12:05:28.829650793 +0200 +++ /var/tmp/diff_new_pack.dbQy7w/_new 2021-08-02 12:05:28.833650792 +0200 @@ -40,6 +40,7 @@ # usually, as long as no return value is used, this shouldn't be treated as an error # let's selectively disable the warning around the offending code Patch0: fix-no-return-in-nonvoid-function.patch +Patch1: skip-tests-in-leap.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} @@ -106,6 +107,10 @@ %if 0%{?sle_version} <= 150100 && 0%{?is_opensuse} %patch0 -p1 %endif + +%if 0%{?sle_version} <= 150300 +%patch1 -p1 +%endif sed -i -e '1s!bin/env python!bin/python!' examples/*.py %build ++++++ skip-tests-in-leap.patch ++++++ Index: gevent-21.1.2/src/greentest/3.6/test_ssl.py =================================================================== --- gevent-21.1.2.orig/src/greentest/3.6/test_ssl.py +++ gevent-21.1.2/src/greentest/3.6/test_ssl.py @@ -3186,6 +3186,7 @@ if _have_threads: sock.do_handshake() self.assertEqual(cm.exception.errno, errno.ENOTCONN) + @unittest.skip("skip in SLE/Leap") def test_no_shared_ciphers(self): server_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) server_context.load_cert_chain(SIGNED_CERTFILE) @@ -3671,6 +3672,7 @@ if _have_threads: self.assertEqual(sess_stat['accept'], 4) self.assertEqual(sess_stat['hits'], 2) + @unittest.skip("skip in SLE/Leap") def test_session_handling(self): context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) context.verify_mode = ssl.CERT_REQUIRED
