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
This commit is contained in:
Matej Cepl 2021-10-31 22:35:16 +00:00 committed by Git OBS Bridge
parent a70bdba5bb
commit 8798c73929
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 30 22:51:02 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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 <mcepl@suse.com>

View File

@ -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