diff --git a/packages/p/python-websockets/.files b/packages/p/python-websockets/.files index c7a60c36304..0cee134a885 100644 Binary files a/packages/p/python-websockets/.files and b/packages/p/python-websockets/.files differ diff --git a/packages/p/python-websockets/.rev b/packages/p/python-websockets/.rev index 13315524f47..f4c32f6c946 100644 --- a/packages/p/python-websockets/.rev +++ b/packages/p/python-websockets/.rev @@ -419,4 +419,14 @@ * Added ``open_timeout`` to :func:`~server.serve`. 1087125 + + 3a8b566dc294d69f1db3d6b7ec0faa4e + 11.0.3 + + dimstar_suse + - Run tests with pytest +- Disable flaky test gh#python-websockets/websockets#1322 + + 1088821 + diff --git a/packages/p/python-websockets/python-websockets.changes b/packages/p/python-websockets/python-websockets.changes index d0df74a6dfb..e9de21f661f 100644 --- a/packages/p/python-websockets/python-websockets.changes +++ b/packages/p/python-websockets/python-websockets.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 24 11:10:45 UTC 2023 - Daniel Garcia + +- Run tests with pytest +- Disable flaky test gh#python-websockets/websockets#1322 + ------------------------------------------------------------------- Sun May 14 18:45:02 UTC 2023 - Dirk Müller diff --git a/packages/p/python-websockets/python-websockets.spec b/packages/p/python-websockets/python-websockets.spec index 12070241012..5e81f86e787 100644 --- a/packages/p/python-websockets/python-websockets.spec +++ b/packages/p/python-websockets/python-websockets.spec @@ -55,12 +55,8 @@ export CFLAGS="%{optflags}" %check # Test execution speed depends on BS load and architecture, relax 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 -# test suite temporarily broken on python 3.9.7: gh#aaugustin/websockets#1051 -python39_donttest=(-k testnothing) -%pyunittest_arch -v "${$python_donttest[@]}" +# Disable flaky tests gh#python-websockets/websockets#1322 +%pytest_arch -v -k "not test_close_waits_for_close_frame" tests %files %{python_files} %license LICENSE