diff --git a/python-websockets.changes b/python-websockets.changes index 62f1b11..424bc7e 100644 --- a/python-websockets.changes +++ b/python-websockets.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 24 16:29:29 UTC 2024 - Daniel Garcia + +- Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782 + ------------------------------------------------------------------- Wed Dec 6 09:18:32 UTC 2023 - Dirk Müller diff --git a/python-websockets.spec b/python-websockets.spec index 141ba0c..c6a955b 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -1,7 +1,7 @@ # # spec file for package python-websockets # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -56,7 +56,10 @@ export CFLAGS="%{optflags}" # Test execution speed depends on BS load and architecture, relax export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10 # Disable flaky tests gh#python-websockets/websockets#1322 -%pytest_arch -v -k "not test_close_waits_for_close_frame" tests +donttest="test_close_waits_for_close_frame" +# Disable broken tests with openssl 3.2 and python < 3.11 +donttest+=" or test_reject_invalid_server_certificate" +%pytest_arch -v -k "not ($donttest)" tests %files %{python_files} %license LICENSE