--- Begin Message ---
Package: src:python-argcomplete
Version: 3.6.3-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-argcomplete, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build"
module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_argcomplete
* Building wheel...
Successfully built argcomplete-3.6.3-py3-none-any.whl
[... snipped ...]
test_console_script_package_wheel
(__main__.TestBashGlobal.test_console_script_package_wheel)
Test completing a console_script for a package from a wheel. ... ok
test_continuation (__main__.TestBashGlobal.test_continuation) ... ok
test_debug_output (__main__.TestBashGlobal.test_debug_output) ... ok
test_double_quoted_completion
(__main__.TestBashGlobal.test_double_quoted_completion) ... ok
test_exclamation_in_double_quotes
(__main__.TestBashGlobal.test_exclamation_in_double_quotes) ... expected failure
test_nounset (__main__.TestBashGlobal.test_nounset) ... ok
test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact)
Test exactly one space is appended after an exact match. ... ok
test_parse_special_characters
(__main__.TestBashGlobal.test_parse_special_characters) ... ok
test_parse_special_characters_dollar
(__main__.TestBashGlobal.test_parse_special_characters_dollar) ... expected
failure
test_partial_completion (__main__.TestBashGlobal.test_partial_completion) ... ok
test_python_completion (__main__.TestBashGlobal.test_python_completion) ... ok
test_python_filename_completion
(__main__.TestBashGlobal.test_python_filename_completion) ... ok
test_python_module (__main__.TestBashGlobal.test_python_module)
Test completing a module run with python -m. ... ok
test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable)
Test completing a script that cannot be run directly. ... ok
test_python_stuck (__main__.TestBashGlobal.test_python_stuck) ... ok
test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) ... ok
test_quoted_space (__main__.TestBashGlobal.test_quoted_space) ... ok
test_quotes (__main__.TestBashGlobal.test_quotes) ... ok
test_redirection_completion
(__main__.TestBashGlobal.test_redirection_completion) ... ok
test_simple_completion (__main__.TestBashGlobal.test_simple_completion) ... ok
test_single_quoted_completion
(__main__.TestBashGlobal.test_single_quoted_completion) ... ok
test_single_quotes_in_double_quotes
(__main__.TestBashGlobal.test_single_quotes_in_double_quotes) ... ok
test_single_quotes_in_single_quotes
(__main__.TestBashGlobal.test_single_quotes_in_single_quotes) ... ok
test_special_characters (__main__.TestBashGlobal.test_special_characters) ... ok
test_special_characters_double_quoted
(__main__.TestBashGlobal.test_special_characters_double_quoted) ... ok
test_special_characters_single_quoted
(__main__.TestBashGlobal.test_special_characters_single_quoted) ... ok
test_temp_file (__main__.TestBashGlobal.test_temp_file) ... ok
test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) ... ok
test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) ... ok
test_module (__main__.TestCheckModule.test_module) ... ok
test_not_package (__main__.TestCheckModule.test_not_package) ... ok
test_package (__main__.TestCheckModule.test_package) ... ok
test_package_main (__main__.TestCheckModule.test_package_main) ... ok
test_subpackage (__main__.TestCheckModule.test_subpackage) ... ok
test_escaped_special (__main__.TestSplitLine.test_escaped_special) ... ok
test_escaped_special_in_double_quotes
(__main__.TestSplitLine.test_escaped_special_in_double_quotes) ... expected
failure
test_last_wordbreak_pos (__main__.TestSplitLine.test_last_wordbreak_pos) ... ok
test_punctuation (__main__.TestSplitLine.test_punctuation) ... ok
test_simple (__main__.TestSplitLine.test_simple) ... ok
test_unescaped_special (__main__.TestSplitLine.test_unescaped_special) ... ok
test_comp_point (__main__.TestZsh.test_comp_point) ... skipped 'skip'
test_completion_environment (__main__.TestZsh.test_completion_environment) ...
skipped 'skip'
test_continuation (__main__.TestZsh.test_continuation) ... ok
test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion)
... ok
test_exclamation_in_double_quotes
(__main__.TestZsh.test_exclamation_in_double_quotes) ... ok
test_parse_special_characters (__main__.TestZsh.test_parse_special_characters)
... skipped 'skip'
test_parse_special_characters_dollar
(__main__.TestZsh.test_parse_special_characters_dollar) ... skipped 'skip'
test_partial_completion (__main__.TestZsh.test_partial_completion) ... ok
test_quoted_exact (__main__.TestZsh.test_quoted_exact) ... ok
test_quoted_space (__main__.TestZsh.test_quoted_space) ... ok
test_quotes (__main__.TestZsh.test_quotes) ... ok
test_simple_completion (__main__.TestZsh.test_simple_completion) ... ok
test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion)
... ok
test_single_quotes_in_double_quotes
(__main__.TestZsh.test_single_quotes_in_double_quotes) ... ok
test_single_quotes_in_single_quotes
(__main__.TestZsh.test_single_quotes_in_single_quotes) ... ok
test_special_characters (__main__.TestZsh.test_special_characters) ... ok
test_special_characters_double_quoted
(__main__.TestZsh.test_special_characters_double_quoted) ... ok
test_special_characters_single_quoted
(__main__.TestZsh.test_special_characters_single_quoted) ... ok
test_unquoted_space (__main__.TestZsh.test_unquoted_space) ... ok
test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) ... ok
test_comp_point (__main__.TestZshGlobalExplicit.test_comp_point) ... skipped
'skip'
test_completion_environment
(__main__.TestZshGlobalExplicit.test_completion_environment) ... skipped 'skip'
test_console_script_module
(__main__.TestZshGlobalExplicit.test_console_script_module)
Test completing a console_script for a module. ... ok
test_console_script_module_wheel
(__main__.TestZshGlobalExplicit.test_console_script_module_wheel)
Test completing a console_script for a module from a wheel. ... ok
test_console_script_package
(__main__.TestZshGlobalExplicit.test_console_script_package)
Test completing a console_script for a package. ... ok
test_console_script_package_wheel
(__main__.TestZshGlobalExplicit.test_console_script_package_wheel)
Test completing a console_script for a package from a wheel. ... ok
test_continuation (__main__.TestZshGlobalExplicit.test_continuation) ... ok
test_double_quoted_completion
(__main__.TestZshGlobalExplicit.test_double_quoted_completion) ... ok
test_exclamation_in_double_quotes
(__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) ... ok
test_parse_special_characters
(__main__.TestZshGlobalExplicit.test_parse_special_characters) ... skipped
'skip'
test_parse_special_characters_dollar
(__main__.TestZshGlobalExplicit.test_parse_special_characters_dollar) ...
skipped 'skip'
test_partial_completion
(__main__.TestZshGlobalExplicit.test_partial_completion) ... ok
test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion)
... FAIL
test_python_filename_completion
(__main__.TestZshGlobalExplicit.test_python_filename_completion) ... FAIL
test_python_module (__main__.TestZshGlobalExplicit.test_python_module)
Test completing a module run with python -m. ... FAIL
test_python_not_executable
(__main__.TestZshGlobalExplicit.test_python_not_executable)
Test completing a script that cannot be run directly. ... FAIL
test_python_stuck (__main__.TestZshGlobalExplicit.test_python_stuck) ... ok
test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) ... ok
test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) ... ok
test_quotes (__main__.TestZshGlobalExplicit.test_quotes) ... ok
test_redirection_completion
(__main__.TestZshGlobalExplicit.test_redirection_completion) ... ok
test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion)
... ok
test_single_quoted_completion
(__main__.TestZshGlobalExplicit.test_single_quoted_completion) ... ok
test_single_quotes_in_double_quotes
(__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) ... ok
test_single_quotes_in_single_quotes
(__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) ... ok
test_special_characters
(__main__.TestZshGlobalExplicit.test_special_characters) ... ok
test_special_characters_double_quoted
(__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) ... ok
test_special_characters_single_quoted
(__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) ... ok
test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) ... ok
test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) ...
ok
test_comp_point (__main__.TestZshGlobalImplicit.test_comp_point) ... skipped
'skip'
test_completion_environment
(__main__.TestZshGlobalImplicit.test_completion_environment) ... skipped 'skip'
test_console_script_module
(__main__.TestZshGlobalImplicit.test_console_script_module)
Test completing a console_script for a module. ... ok
test_console_script_module_wheel
(__main__.TestZshGlobalImplicit.test_console_script_module_wheel)
Test completing a console_script for a module from a wheel. ... ok
test_console_script_package
(__main__.TestZshGlobalImplicit.test_console_script_package)
Test completing a console_script for a package. ... ok
test_console_script_package_wheel
(__main__.TestZshGlobalImplicit.test_console_script_package_wheel)
Test completing a console_script for a package from a wheel. ... ok
test_continuation (__main__.TestZshGlobalImplicit.test_continuation) ... ok
test_double_quoted_completion
(__main__.TestZshGlobalImplicit.test_double_quoted_completion) ... ok
test_exclamation_in_double_quotes
(__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) ... ok
test_parse_special_characters
(__main__.TestZshGlobalImplicit.test_parse_special_characters) ... skipped
'skip'
test_parse_special_characters_dollar
(__main__.TestZshGlobalImplicit.test_parse_special_characters_dollar) ...
skipped 'skip'
test_partial_completion
(__main__.TestZshGlobalImplicit.test_partial_completion) ... ok
test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion)
... FAIL
test_python_filename_completion
(__main__.TestZshGlobalImplicit.test_python_filename_completion) ... FAIL
test_python_module (__main__.TestZshGlobalImplicit.test_python_module)
Test completing a module run with python -m. ... FAIL
test_python_not_executable
(__main__.TestZshGlobalImplicit.test_python_not_executable)
Test completing a script that cannot be run directly. ... FAIL
test_python_stuck (__main__.TestZshGlobalImplicit.test_python_stuck) ... ok
test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) ... ok
test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) ... ok
test_quotes (__main__.TestZshGlobalImplicit.test_quotes) ... ok
test_redirection_completion
(__main__.TestZshGlobalImplicit.test_redirection_completion) ... ok
test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion)
... ok
test_single_quoted_completion
(__main__.TestZshGlobalImplicit.test_single_quoted_completion) ... ok
test_single_quotes_in_double_quotes
(__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) ... ok
test_single_quotes_in_single_quotes
(__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) ... ok
test_special_characters
(__main__.TestZshGlobalImplicit.test_special_characters) ... ok
test_special_characters_double_quoted
(__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) ... ok
test_special_characters_single_quoted
(__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) ... ok
test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) ... ok
test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) ...
ok
test_warn (__main__.Warn.test_warn) ... ok
======================================================================
FAIL: test_python_completion
(__main__.TestZshGlobalExplicit.test_python_completion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1351, in test_python_completion
self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument
arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
======================================================================
FAIL: test_python_filename_completion
(__main__.TestZshGlobalExplicit.test_python_filename_completion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1355, in
test_python_filename_completion
self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument
arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
======================================================================
FAIL: test_python_module (__main__.TestZshGlobalExplicit.test_python_module)
Test completing a module run with python -m.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1381, in test_python_module
self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"),
"foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mpython3 -m package.prog
basic\x1b[0m [\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\npython3 -m
package.prog basic: error: argument arg: invalid choice: 'f' (choose from
'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mpython3 -m package.prog basic[0m [[32m-h[0m]
[32m{foo,bar,baz}[0m
- python3 -m package.prog basic: error: argument arg: invalid choice: 'f'
(choose from 'foo', 'bar', 'baz')
======================================================================
FAIL: test_python_not_executable
(__main__.TestZshGlobalExplicit.test_python_not_executable)
Test completing a script that cannot be run directly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1371, in test_python_not_executable
self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument
arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
======================================================================
FAIL: test_python_completion
(__main__.TestZshGlobalImplicit.test_python_completion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1351, in test_python_completion
self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument
arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
======================================================================
FAIL: test_python_filename_completion
(__main__.TestZshGlobalImplicit.test_python_filename_completion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1355, in
test_python_filename_completion
self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument
arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
======================================================================
FAIL: test_python_module (__main__.TestZshGlobalImplicit.test_python_module)
Test completing a module run with python -m.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1381, in test_python_module
self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"),
"foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mpython3 -m package.prog
basic\x1b[0m [\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\npython3 -m
package.prog basic: error: argument arg: invalid choice: 'f' (choose from
'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mpython3 -m package.prog basic[0m [[32m-h[0m]
[32m{foo,bar,baz}[0m
- python3 -m package.prog basic: error: argument arg: invalid choice: 'f'
(choose from 'foo', 'bar', 'baz')
======================================================================
FAIL: test_python_not_executable
(__main__.TestZshGlobalImplicit.test_python_not_executable)
Test completing a script that cannot be run directly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1371, in test_python_not_executable
self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument
arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
----------------------------------------------------------------------
Ran 189 tests in 119.933s
FAILED (failures=8, skipped=12, expected failures=5)
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_argcomplete/build;
PATH={home_dir}/scripts:$PATH PYTHONPATH={build_dir} PIP_NO_BUILD_ISOLATION=off
{interpreter} {dir}/test/test.py -v
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.14"
--parallel=2 returned exit code 13
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: python-argcomplete
Source-Version: 3.7.0-1
On Sat, Aug 01, 2026 at 10:37:31PM +0000, Santiago Vila wrote:
======================================================================
FAIL: test_python_completion
(__main__.TestZshGlobalExplicit.test_python_completion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test.py", line 1351, in test_python_completion
self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "\x1b[1;34musage: \x1b[0m\x1b[1;35mprog basic\x1b[0m
[\x1b[32m-h\x1b[0m] \x1b[32m{foo,bar,baz}\x1b[0m\r\nprog basic: error: argument arg:
invalid choice: 'f' (choose from 'foo', 'bar', 'baz')\r\n" != 'foo\r\n'
+ foo
- [1;34musage: [0m[1;35mprog basic[0m [[32m-h[0m] [32m{foo,bar,baz}[0m
- prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo',
'bar', 'baz')
I closed the wrong bug number by mistake. I'll correct the changelog
retroactively in git.
python-argcomplete (3.7.0-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Adjust completion for zsh >= 5.9.1 (closes: #1114741).
* Drop "Rules-Requires-Root: no", default as of dpkg-dev 1.22.13.
* Drop "Priority: optional", default as of dpkg-dev 1.22.13.
* Standards-Version: 4.7.4.
-- Colin Watson <[email protected]> Mon, 03 Aug 2026 19:16:31 +0100
Thanks,
--
Colin Watson (he/him) [[email protected]]
--- End Message ---