From 0dbc0e5e1df4aa27e22eb637ae15136b8397643d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 9 Mar 2023 13:28:58 +0100 Subject: [PATCH] Don't try to run tests of vendored dependencies in %check --- python-cryptography.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-cryptography.spec b/python-cryptography.spec index 9877601..07d9285 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -116,6 +116,7 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes # see rhbz#2171661 for test_load_invalid_ec_key_from_pem: error:030000CD:digital envelope routines::keymgmt export failure PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \ %{__python3} -m pytest \ + --ignore vendor \ -k "not (test_buffer_protocol_alternate_modes or test_dh_parameters_supported or test_load_ecdsa_no_named_curve or test_decrypt_invalid_decrypt or test_openssl_memleak or test_load_invalid_ec_key_from_pem)" %endif @@ -128,6 +129,7 @@ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \ %changelog * Thu Mar 09 2023 Miro HronĨok - 39.0.2-2 - Don't run tests requiring pytz on RHEL +- Don't try to run tests of vendored dependencies in %%check * Sat Mar 04 2023 Christian Heimes - 39.0.2-1 - Update to 39.0.2, resolves rhbz#2124729