From 63a2ad2a3039d1c7939c2210b438efc0c5784070824d1e135abc747516842b7f Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 24 Jan 2024 16:30:35 +0000 Subject: [PATCH] - Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=51 --- python-websockets.changes | 5 +++++ python-websockets.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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