Debian Patches

Status for python-argcomplete/3.7.0-1

Patch Description Author Forwarded Bugs Origin Last update
py3k-tests.patch Use the python3 binary to execute tests
Upstream runs the tests inside tox, which has a python binary available.
We don't currently use this, because their tox config isn't shipped in
their source tarball.
Debian Python Team <team+python@tracker.debian.org> not-needed 2023-11-04
tests_pip_fix.patch Write a pydistutils configuration file before executing pip
This avoids tripping over Debian's posix_prefix default installation
scheme
Debian Python Team <team+python@tracker.debian.org> not-needed 2023-11-04
test-newline.patch Don't try to pass newlines in REPL input "Marc Dequènes (Duck)" <Duck@DuckCorp.org> no 2023-11-04
zsh-5.9.1.patch In recent zsh versions 5.9+ the standard command-completion (such as _python) shifts the shell's native words array.

This caused _python_argcomplete_global to parse ./prog as the main executable
rather than python3, setting _ARGCOMPLETE=1

Since the bufffer was not shifted, it still contained python3 as the first word
resulting in a parser mismatch and an invalid choice error from argparse
(which also outputs color escape sequences in Python 3.15)

the fix reconstruct the unshifted word list from BUFFER using zsh native
splitting keeping the test suite compatible with newer versions of zsh.

I validated the package build and all 189 tests pass OK (except 12 that were
skipped and 5 expected failures) under Python 3.15 in Fedora rawhide.

Should fix below bug:
A few TestZshGlobalExplicit tests are failing after upgrade to zsh 5.9.0.1 #544
Filipe Rosset <rosset.filipe@gmail.com> yes debian upstream other, https://github.com/kislyuk/argcomplete/pull/557 2026-08-03

All known versions for source package 'python-argcomplete'

Links