guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4458d075adaa9ebc5739e07195db03fa0d93b13b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Feb 24 16:18:39 2026 +0000
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
---
gnu/packages/python-xyz.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b5903ef124..822e887e50 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?))