From 8798c739295c55bb4bdcd60f9db5c7af3190f586cdc9a43a1c4222a485ee7eb9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 31 Oct 2021 22:35:16 +0000 Subject: [PATCH] Accepting request 928326 from home:bnavigator:branches:devel:languages:python - Reactivate python39 build, only disable testing. No need to break consuming packages -- gh#aaugustin/websockets#1051 OBS-URL: https://build.opensuse.org/request/show/928326 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=32 --- python-websockets.changes | 6 ++++++ python-websockets.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-websockets.changes b/python-websockets.changes index 94f17b1..194130a 100644 --- a/python-websockets.changes +++ b/python-websockets.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 30 22:51:02 UTC 2021 - Ben Greiner + +- Reactivate python39 build, only disable testing. No need to break + consuming packages -- gh#aaugustin/websockets#1051 + ------------------------------------------------------------------- Fri Oct 29 05:31:17 UTC 2021 - Matej Cepl diff --git a/python-websockets.spec b/python-websockets.spec index 23683eb..70eb556 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -19,8 +19,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %define skip_python36 1 -# gh#aaugustin/websockets#1051 -%define skip_python39 1 Name: python-websockets Version: 10.0 Release: 0 @@ -29,7 +27,7 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/aaugustin/websockets Source: https://github.com/aaugustin/websockets/archive/%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -62,7 +60,9 @@ export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10 # https://github.com/aaugustin/websockets/issues/855 is an intermittent failure # for test_keepalive_ping_does_not_crash_when_connection_lost on s390x # export PYTHONWARNINGS=default -%pyunittest_arch -v +# test suite temporarily broken on python 3.9.7: gh#aaugustin/websockets#1051 +python39_donttest=(-k testnothing) +%pyunittest_arch -v "${$python_donttest[@]}" %files %{python_files} %license LICENSE