From 9f5f27800b672426a33d9995ef34bb2208c6cf52 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 14 Feb 2023 02:00:42 +0100 Subject: [PATCH] Fix gating tests for sha1 removal Resolves: rhbz#2159310 --- plan.fmf | 4 ++-- python3.11-cryptography.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plan.fmf b/plan.fmf index 77808db..82e49a1 100644 --- a/plan.fmf +++ b/plan.fmf @@ -23,7 +23,7 @@ discover: - name: unittests-x509 test: | cd $(dirname $TMT_SOURCE_DIR/cryptography-*/tests) && - PYTHONPATH=./vectors pytest-3.11 tests/x509/ + PYTHONPATH=./vectors OPENSSL_ENABLE_SHA1_SIGNATURES=yes pytest-3.11 tests/x509/ - name: unittests-hazmat test: | cd $(dirname $TMT_SOURCE_DIR/cryptography-*/tests) && @@ -47,5 +47,5 @@ discover: - name: unittests-primitives-f-z test: | cd $(dirname $TMT_SOURCE_DIR/cryptography-*/tests) && - PYTHONPATH=./vectors pytest-3.11 tests/hazmat/primitives/test_[f-z]*.py \ + PYTHONPATH=./vectors OPENSSL_ENABLE_SHA1_SIGNATURES=yes pytest-3.11 tests/hazmat/primitives/test_[f-z]*.py \ tests/hazmat/primitives/twofactor diff --git a/python3.11-cryptography.spec b/python3.11-cryptography.spec index c21ec1b..5474192 100644 --- a/python3.11-cryptography.spec +++ b/python3.11-cryptography.spec @@ -8,7 +8,7 @@ Name: python%{python3_pkgversion}-%{srcname} Version: 37.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: PyCA's cryptography library # We bundle various crates with cryptography which is dual licensed @@ -205,6 +205,9 @@ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/%{srcname}-%{version}-py*.egg-info %changelog +* Tue Feb 14 2023 Charalampos Stratakis - 37.0.2-3 +- Rebuild for gating + * Mon Feb 13 2023 Charalampos Stratakis - 37.0.2-2 - Add explicit dependency on python3.11-rpm-macros