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
This commit is contained in:
Christopher Baines 2025-03-25 14:14:49 +00:00 committed by Andreas Enge
parent 3f8bd3b983
commit 51bd111732
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

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