andreas pushed a commit to branch python-team
in repository guix.

commit 19d7bad632caa03010f0d028d359e76b9b0a2235
Author: Christopher Baines <m...@cbaines.net>
AuthorDate: Tue Mar 25 14:14:49 2025 +0000

    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(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index dbac0f4772..13ad37bca8 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.

Reply via email to