summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-24 16:18:39 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-24 16:20:33 +0000
commit4458d075adaa9ebc5739e07195db03fa0d93b13b (patch)
tree999fbfdd224f124dc3d4bd48e43a81f52077b93c /gnu/packages
parent70f782183395346d0bc2bcb465af38c432f9f116 (diff)
gnu: python-anyio: Skip some tests on aarch64-linux.
* gnu/packages/python-xyz.scm (python-anyio)[arguments] <test-flags>: Skip some shaky tests on aarch64-linux. Fixes: guix/guix#6649 Change-Id: I67e20b9402ca40730c982ff0a8f61b24fc451767
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm15
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b5903ef1246..822e887e503 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28782,14 +28782,27 @@ register custom encoders and decoders.")
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 1580 passed, 67 skipped, 700 deselected, 4 xfailed
+ ;; tests:
+ ;; - x86_64-linux: 1580 passed, 67 skipped, 700 deselected, 4 xfailed
+ ;; - aarch64-linux: 1342 passed, 67 skipped, 56 deselected, 4 xfailed
#:test-flags
#~(list "-p" "no:asyncio"
"-m" "not network"
+ ;; TODO: Set as global on the next python-team iteration, tests
+ ;; are not stable, see:
+ ;; <https://codeberg.org/guix/guix/issues/6649>.
+ #$@(if (target-aarch64?)
+ '("--ignore=tests/test_sockets.py")
+ '())
"-k"
(string-join
(list
"not test_is_block_device"
+ #$@(if (target-aarch64?)
+ ;; Assertion Errors
+ '("test_shielded_cancel_sleep_time"
+ "test_run_in_custom_limiter")
+ '())
#$@(cond
((or (target-aarch64?)
(target-riscv64?))