Public bug reported:

Description:         Ubuntu Noble Numbat (development branch)
Release:             24.04
python3-argcomplete: 3.1.4-1


Python argparse introduced an API change that breaks argcomplete. The upstream 
version of argcomplete got fixed here: 
https://github.com/kislyuk/argcomplete/commit/54a4846b3a774cd9037167898f3cce38ba9d58e8

I detected the issue using my python based tool edi. The issue can be
reproduced as follows:

1. Install edi according to 
https://docs.get-edi.io/en/latest/getting_started.html#installing-edi-from-the-package-repository
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/python3/dist-packages/argcomplete/packages/_argparse.py 
according to the above commit.
4. Start to type "edi -v project" and hit tab for auto completion. The correct 
second level commands such as "make" will be proposed.

** Affects: python-argcomplete (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063129

Title:
  Argparse API change breaks argcomplete

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-argcomplete/+bug/2063129/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to