summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2025-03-25 14:14:49 +0000
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:22 +0200
commit51bd1117324028e20a7b87fd00c65b2dc24cfd94 (patch)
tree68a1950238b16e03b2dc5827fe482add517c1f51 /gnu/packages/python-crypto.scm
parent3f8bd3b983fa29e77bcef12f9115696bd2945576 (diff)
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
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm8
1 files changed, 7 insertions, 1 deletions
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.