[bug#77957] gnu: python-3.11: Skip more tests on GNU/Hurd.

Message ID OONdkQx--F-9@tutamail.com
State New
Headers
Series [bug#77957] gnu: python-3.11: Skip more tests on GNU/Hurd. |

Commit Message

ashish.is--- via Guix-patches" via April 21, 2025, 2:01 p.m. UTC
  Hello,

attached is a patch to skip more tests to get python@3.11 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.
  

Comments

Ludovic Courtès April 21, 2025, 9:54 p.m. UTC | #1
Hi,

yelninei@tutamail.com writes:

>>From 7c09dc8f89a550bd6a9f850ddfd192d45eba173e Mon Sep 17 00:00:00 2001
> Message-ID: <7c09dc8f89a550bd6a9f850ddfd192d45eba173e.1745243752.git.yelninei@tutamail.com>
> From: Yelninei <yelninei@tutamail.com>
> 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

Applied, thanks!
  

Patch

From 7c09dc8f89a550bd6a9f850ddfd192d45eba173e Mon Sep 17 00:00:00 2001
Message-ID: <7c09dc8f89a550bd6a9f850ddfd192d45eba173e.1745243752.git.yelninei@tutamail.com>
From: Yelninei <yelninei@tutamail.com>
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