guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 78fcf50be32075844446aeab5205e45292cda9e6
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sun Aug 2 13:39:39 2026 +0900
gnu: python-pexpect: Disable socket tests, susceptible to hang.
* gnu/packages/python-xyz.scm (python-pexpect)
[#:test-flags]: Add --ignore=tests/test_socket.py and
--ignore=tests/test_socket_fd.py.
---
gnu/packages/python-xyz.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bd179c3e87..8fc373c81e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15537,7 +15537,11 @@ wraps Python's standard library threading and
multiprocessing objects.")
(arguments
(list
#:test-flags
- #~(list "-k" (string-join
+ ;; The socket tests can hang (most often, but not only, when run in
+ ;; parallel, see: <https://github.com/pexpect/pexpect/issues/809>)
+ #~(list "--ignore=tests/test_socket.py"
+ "--ignore=tests/test_socket_fd.py"
+ "-k" (string-join
(list
;; Disable failing test, see
;; <https://github.com/pexpect/pexpect/issues/568>.
@@ -15569,7 +15573,7 @@ wraps Python's standard library threading and
multiprocessing objects.")
;; and unlikely to change.
(("/bin'") "/dev'")))))))
(native-inputs
- (list bash ;full Bash for 'test_replwrap.py'
+ (list bash ;full Bash for 'test_replwrap.py'
man-db
python-pytest
python-setuptools