Fix gating tests for sha1 removal

Resolves: rhbz#2159310
This commit is contained in:
Charalampos Stratakis 2023-02-14 02:00:42 +01:00
parent 43af793cf3
commit 9f5f27800b
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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 <cstratak@redhat.com> - 37.0.2-3
- Rebuild for gating
* Mon Feb 13 2023 Charalampos Stratakis <cstratak@redhat.com> - 37.0.2-2
- Add explicit dependency on python3.11-rpm-macros