This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new cbae11fb5d gnu: python-argcomplete: Disable tests that fail with zsh 
5.9.1.
cbae11fb5d is described below

commit cbae11fb5d565d4baff7719038303c4839cec35b
Author: Arun Isaac <[email protected]>
AuthorDate: Sun Jun 21 14:55:27 2026 +0100

    gnu: python-argcomplete: Disable tests that fail with zsh 5.9.1.
    
    * gnu/packages/python-xyz.scm (python-argcomplete)[arguments]: Add
    disable-failing-zsh-tests phase.
    
    Change-Id: Ie2092addcb2a4620e9ef787a8ad1ba07aad27355
---
 gnu/packages/python-xyz.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8f22463041..c7e02cd671 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29,7 +29,7 @@
 ;;; Copyright © 2016-2023 Marius Bakke <[email protected]>
 ;;; Copyright © 2016, 2017, 2021, 2022 Stefan Reichör <[email protected]>
 ;;; Copyright © 2016, 2017, 2019 Alex Vong <[email protected]>
-;;; Copyright © 2016–2018, 2021–2024 Arun Isaac <[email protected]>
+;;; Copyright © 2016–2018, 2021–2024, 2026 Arun Isaac 
<[email protected]>
 ;;; Copyright © 2016, 2017, 2018, 2020, 2021 Julien Lepiller 
<[email protected]>
 ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2016, 2017 Thomas Danckaert <[email protected]>
@@ -24214,7 +24214,15 @@ JPEG2000 and GIF files in pure Python.")
               ;; pip: command not found
               (substitute* "test/test.py"
                 (("def test_console_script")
-                 "def __disable_test_console_script")))))))
+                 "def __disable_test_console_script"))))
+          ;; Disable tests that fail with zsh 5.9.1. See
+          ;; https://github.com/kislyuk/argcomplete/issues/544
+          (add-before 'check 'disable-failing-zsh-tests
+            (lambda _
+              (substitute* "test/test.py"
+                (("def 
(test_python_completion|test_python_filename_completion|test_python_module|test_python_not_executable)"
 all)
+                 (string-append "@unittest.skip(\"fails with zsh 5.9.1\")\n    
"
+                                all))))))))
     (native-inputs
      (list python-hatch-vcs
            python-hatchling

Reply via email to