commit 3b1d7dd6d264c05347d94b19c7feb8658d6f0e8e Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Sat Oct 7 08:05:04 2023 +0200
- updated dependencies, reenabled tests (skipping one) python3-pyOpenSSL.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) --- diff --git a/python3-pyOpenSSL.spec b/python3-pyOpenSSL.spec index 7dfec1e..9ab6bc1 100644 --- a/python3-pyOpenSSL.spec +++ b/python3-pyOpenSSL.spec @@ -1,7 +1,6 @@ -# TODO: check why disabled tests fail and reenable them # # Conditional build: -%bcond_with tests # unit tests (seem not ready for openssl 3) +%bcond_without tests # unit tests %bcond_without python2 # CPython 2.x module %bcond_without python3 # CPython 3.x module %bcond_without doc # HTML documentation (sphinx-based) @@ -25,11 +24,10 @@ BuildRequires: python3-devel >= 1:3.6 BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-cryptography >= 38.0.0 -BuildRequires: python3-cryptography < 39 +BuildRequires: python3-cryptography < 42 BuildRequires: python3-flaky BuildRequires: python3-pretend BuildRequires: python3-pytest >= 3.0.1 -BuildRequires: python3-six >= 1.5.2 %endif BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.714 @@ -79,9 +77,10 @@ Dokumentacja API moduĊu Pythona pyOpenSSL. %py3_build %if %{with tests} +# test_verify_with_time test fails with 32-bit time_t(?) +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ PYTHONPATH=$(pwd)/build-3/lib \ -%{__python3} -m pytest -v tests -# -k 'not test_verify_with_time not test_alpn_call_failure' +%{__python3} -m pytest -v tests -k 'not test_verify_with_time' %endif %if %{with doc} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/python3-pyOpenSSL.git/commitdiff/3b1d7dd6d264c05347d94b19c7feb8658d6f0e8e _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit