Subject: [PATCH] gnu: python-3.11: Skip more tests on GNU/Hurd.
From: [email-masked]
To: [email-masked]
Cc: Munyoki Kilyungi <[email-masked]>, Sharlatan Hellseher <[email-masked]>, Tanguy Le Carrour <[email-masked]>, Lars-Dominik Braun <[email-masked]>
Date: Mon, 21 Apr 2025 16:01:03 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

attached is a patch to skip more tests to get [email-masked] building on i586-gnu.

./pre-inst-env guix build python-minimal python --no-grafts -s i586-gnu
/gnu/store/b57cd4jikdhws17x5kx87hkfwzfh0y0d-python-minimal-3.11.11
/gnu/store/ypp080jpxiiniyl8y8hnk2m0wfnnm9ks-python-3.11.11-idle
/gnu/store/xr5znwv4claiw3bldf42r4pi1wcmr2w9-python-3.11.11
/gnu/store/l4i0xdnmfsbq89jhl279h8l5r9syav4b-python-3.11.11-tk

I have not looked into why these are failing.

From 7c09dc8f89a550bd6a9f850ddfd192d45eba173e Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: Yelninei <[email-masked]>
Date: Mon, 21 Apr 2025 13:53:55 +0000
Subject: [PATCH] gnu: python-3.11: Skip more tests on GNU/Hurd.

* gnu/packages/python.scm (python-3.11)[#:make-flags]:
Skip test_glob, test_site, test_termios, test_tty and test_sqlite3 on Hurd systems.

Change-Id: I2a2b89e33ea0c9cbda393bb76dd325c2569b2639
---
 gnu/packages/python.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ebc9712294..73cbf533be 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -782,6 +782,11 @@ (define-public python-3.11
                                     " test_venv"               ;freeze
                                     " test_multiprocessing_forkserver" ;runs over 10min
                                     " test_multiprocessing_spawn" ;runs over 10min
+                                    " test_glob" ;did not finish in 10h
+                                    " test_site" ;Invalid argument
+                                    " test_termios" ;os.openpty() Operation not permitted
+                                    " test_tty" ;os.openpty() Operation not permitted
+                                    " test_sqlite3" ;; sqlite3.OperationalError: database is locked
                                     " test_builtin"
                                     " test_capi"
                                     " test_dbm_ndbm"

base-commit: 7a7eff34613c9b3357adf39813793f607c03629d
-- 
2.49.0