From cc9876ddf8f8f7b993a82f0c85a502806db4e1819738440cbab52de7e65f2823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 8 Oct 2025 08:39:32 +0000 Subject: [PATCH] - Skip test_client_receives_servers_data failing with openssl 3.6.0 and rewrite tests exclusion to be more atomic OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=131 --- python-pyOpenSSL.changes | 4 ++-- python-pyOpenSSL.spec | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/python-pyOpenSSL.changes b/python-pyOpenSSL.changes index 266a982..08dec87 100644 --- a/python-pyOpenSSL.changes +++ b/python-pyOpenSSL.changes @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:814c2ce08ffcb32dc86c08d2d1d1db2f27d3af345d8bc21e3cac6f58734a665a -size 31654 +oid sha256:3f7649e4d90e1c8b4bac3e50e755c8ef0f477f976621e1e8231b43368267b556 +size 31909 diff --git a/python-pyOpenSSL.spec b/python-pyOpenSSL.spec index f55061b..3e1addf 100644 --- a/python-pyOpenSSL.spec +++ b/python-pyOpenSSL.spec @@ -84,12 +84,14 @@ other things) a cffi-based interface to OpenSSL. %check %if %{with test} -SKIPPED_TESTS="(network or test_set_tmp_ecdh)" +SKIPPED_TESTS="network or test_set_tmp_ecdh" %if %{__isa_bits} == 32 -SKIPPED_TESTS="(network or test_verify_with_time or test_set_tmp_ecdh)" +SKIPPED_TESTS="$SKIPPED_TESTS or test_verify_with_time" %endif +# failure with openssl 3.6.0 https://github.com/pyca/pyopenssl/issues/1455 +SKIPPED_TESTS="$SKIPPED_TESTS or test_client_receives_servers_data" export LC_ALL=en_US.UTF-8 -%pytest -k "not $SKIPPED_TESTS" +%pytest -k "not ($SKIPPED_TESTS)" %endif %if !%{with test}