From 1d329a3888a086690405b93ff8c217cd3df39a8470555e2e7df45a37b94d360e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Feb 2022 15:59:30 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anyio?expand=0&rev=12 --- python-anyio.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-anyio.spec b/python-anyio.spec index 566e76f..b152d86 100644 --- a/python-anyio.spec +++ b/python-anyio.spec @@ -81,6 +81,9 @@ donttest+=" or (TestUDPSocket and (ipv4 or ipv6))" # wrong localhost address donttest+=" or (TestTCPStream and test_happy_eyeballs)" donttest+=" or (TestTCPStream and test_connection_refused)" +%if 0%{?suse_version} < 1550 +donttest+=" or (test_send_eof_not_implemented)" +%endif %pytest -m "not network" -k "not (${donttest:4})" -ra %files %{python_files} From 563bb98a5bdcc4c1dab1a235ddf92b5b7e748e84c2b17647187c1df698e465fb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Feb 2022 16:06:53 +0000 Subject: [PATCH 2/2] - skip some tests for older distros (lack of TLSv1.3 support) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anyio?expand=0&rev=13 --- python-anyio.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-anyio.changes b/python-anyio.changes index ab3e259..8606fb2 100644 --- a/python-anyio.changes +++ b/python-anyio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 15 16:06:39 UTC 2022 - Dirk Müller + +- skip some tests for older distros (lack of TLSv1.3 support) + ------------------------------------------------------------------- Sat Jan 15 16:36:24 UTC 2022 - Dirk Müller