From 51bd1117324028e20a7b87fd00c65b2dc24cfd94 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 25 Mar 2025 14:14:49 +0000 Subject: gnu: python-pyopenssl: Skip TestDTLS::test_timeout. With the changes currently on the python-team branch, this seems to fail at least on aarch64-linux, presumably due to faketime being used. * gnu/packages/python-crypto.scm (python-pyopenssl)[arguments]: Skip TestDTLS::test_timeout. Change-Id: Ifca6dc323141219a01b9aff7baad8c712ac56b02 --- gnu/packages/python-crypto.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index dbac0f47723..13ad37bca84 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -629,7 +629,13 @@ ciphers, message digests and key derivation functions.") ;; PyOpenSSL runs tests against a certificate with a fixed ;; expiry time. To ensure successful builds in the future, ;; set the time to roughly the release date. - (invoke "faketime" "2024-07-20" "pytest" "-vv" "-k" + (invoke "faketime" "2024-07-20" "pytest" "-vv" + "--deselect" + ;; This test seems to fail when using faketime, at + ;; least on aarch64-linux with OSError: [Errno 22] + ;; Invalid argument + "tests/test_ssl.py::TestDTLS::test_timeout" + "-k" ;; This test tries to look up certificates from ;; the compiled-in default path in OpenSSL, which ;; does not exist in the build environment. -- cgit v1.3