14
0
forked from pool/python-PyKMIP

- Add upstream patch fix_test_mac_with_cryptographic_failure.patch

gh#OpenKMIP/PyKMIP#702, this fixes the issue with the
  test_mac_with_cryptographic_failure.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyKMIP?expand=0&rev=18
This commit is contained in:
2023-09-08 06:32:26 +00:00
committed by Git OBS Bridge
parent 69a2909cd3
commit 12487dd91d
3 changed files with 54 additions and 5 deletions

View File

@@ -32,6 +32,8 @@ Patch0: fix-tests-SQLAlchemy-140.patch
Patch1: python-PyKMIP-no-mock.patch
# PATCH-FIX-OPENSUSE crypto-39.patch gh#OpenKMIP/PyKMIP#689
Patch2: crypto-39.patch
# PATCH-FIX-UPSTREAM fix_test_mac_with_cryptographic_failure.patch gh#OpenKMIP/PyKMIP#702
Patch3: fix_test_mac_with_cryptographic_failure.patch
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module devel}
@@ -77,11 +79,7 @@ Standards`_ (OASIS). PyKMIP supports a subset of features in versions
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Broken test, possibly related with the latest release of openssl
# gh#OpenKMIP/PyKMIP#690
donttest="test_mac_with_cryptographic_failure"
%pytest -k "not ($donttest)" kmip/tests/unit
%pytest kmip/tests/unit
%post
%python_install_alternative pykmip-server