From a7f7f7376f5c7225b0c7eddbae148262f0edb208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 May 2019 15:34:51 +0200 Subject: [PATCH] Workaround pyca/cryptography#4885 https://github.com/pyca/cryptography/issues/4885 https://bugzilla.redhat.com/show_bug.cgi?id=1708353 --- python-cryptography.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 69987de..6781574 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -129,11 +129,12 @@ popd %check -%{__python2} setup.py test +# see https://github.com/pyca/cryptography/issues/4885 for the deselected test +PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} -m pytest -k "not test_buffer_protocol_alternate_modes[mode5]" %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py test +PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest -k "not test_buffer_protocol_alternate_modes[mode5]" popd %endif