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 8e84d404b37 gnu: python-argcomplete: Update to 3.7.2.
8e84d404b37 is described below

commit 8e84d404b3748729c64f3e1bf860378302f35b4e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Sep 19 01:31:28 2026 +0100

    gnu: python-argcomplete: Update to 3.7.2.
    
    Tests are disabled on purpose to prevent adding 4 full size shells.
    
    * gnu/packages/python-xyz.scm (python-argcomplete): Update to 3.7.2.
    [arguments]: Drop all.
    [native-inputs]: Remove tcsh, fish, bash, and zsh.
    
    Fixes: guix/guix#7542
---
 gnu/packages/python-xyz.scm | 30 ++++--------------------------
 1 file changed, 4 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3554c07e576..97e9b4c0670 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24972,43 +24972,21 @@ JPEG2000 and GIF files in pure Python.")
 (define-public python-argcomplete
   (package
     (name "python-argcomplete")
-    (version "3.6.2")
+    (version "3.7.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "argcomplete" version))
        (sha256
         (base32
-         "1pvavik22prqdyqid5s40zqab93kp85ash9wf7sg9xb7r0drnlfh"))))
+         "1ff6kwdkhn59w80bn30fn4bhgmf0ahipbldh5nvfsscr1fdbdn5a"))))
     (build-system pyproject-build-system)
     (arguments
-     (list
-      #:test-backend #~'custom
-      #:test-flags #~(list "test/test.py" "-v")
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-before 'check 'disable-pip-tests
-            (lambda _
-              ;; pip: command not found
-              (substitute* "test/test.py"
-                (("def 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))))))))
+     (list #:tests? #f))  ;XXX: tests requires tcsh, fish and full bash shells
     (native-inputs
      (list python-hatch-vcs
            python-hatchling
-           python-pexpect
-           tcsh
-           fish
-           bash  ;full Bash for 'test_file_completion'
-           zsh))
+           python-pexpect))
     (home-page "https://github.com/kislyuk/argcomplete";)
     (synopsis "Shell tab completion for Python argparse")
     (description "argcomplete provides extensible command line tab completion

Reply via email to