Argparse API change breaks argcomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-argcomplete (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu Noble Numbat (development branch)
Release: 24.04
python3-
Python argparse introduced an API change that breaks argcomplete. The upstream version of argcomplete got fixed here: https:/
I detected the issue using my python based tool edi. The issue can be reproduced as follows:
1. Install edi according to https:/
2. Start to type "edi -v project" and hit tab for auto completion. The first level sub command will be proposed instead of the second level subcommand.
3. Patch /usr/lib/
4. Start to type "edi -v project" and hit tab for auto completion. The correct second level commands such as "make" will be proposed.
This bug was fixed in the package python-argcomplete - 3.3.0-1
---------------
python-argcomplete (3.3.0-1) unstable; urgency=medium
* Team upload.
* New upstream release:
- Preserve compatibility with argparse option tuples of length 4. This
update is required to use argcomplete on Python 3.11.9+ or 3.12.3+
(closes: #1069816, LP: #2063129).
* Mention zsh in package description (closes: #1061780).
-- Colin Watson <email address hidden> Fri, 26 Apr 2024 13:28:45 +0100