Adding debdiff targetted for noble.

The package is available in my PPA ogayot/noble-proposed for testing.

https://launchpad.net/~ogayot/+archive/ubuntu/noble-
proposed/+build/28704780

** Description changed:

  [Impact]
- * The package for Ubuntu 24.04 installs argcomplete version 3.1.4 which is 
incompatible with Python 3.11.9+, 3.12.3+, and 3.13+, resulting in broken 
argument completion. 
+ * The package for Ubuntu 24.04 installs argcomplete version 3.1.4 which is 
incompatible with Python 3.11.9+, 3.12.3+, and 3.13+, resulting in broken 
argument completion.
  
  * Since the default Python version on Ubuntu 24.04 is 3.12.3,
  argcomplete 3.1.4 is not compatible. This is even more problematic,
  since argcomplete cannot be installed through pip on this Ubuntu version
  as the Python environment is managed by apt. So it is not easily
  possible to install a working version.
  
  * This is also preventing other packages that use argcomplete (e.g.,
  virt-manager) to successfully rebuild on noble.
  
  [Testing]
  To reproduce
  1.) On Ubuntu 24.04, install python-argcomplete
  2.) Save the following to `foo.py`
  
  ```
  #!/usr/bin/env python
  
  import argparse, argcomplete
  
  parser = argparse.ArgumentParser()
  parser.add_argument("--foo", choices=["a", "b"])
  
  argcomplete.autocomplete(parser)
  ```
  3.) Register argcomplete for foo.py by putting `eval 
"$(register-python-argcomplete foo.py)"` in your .bashrc and starting a new 
shell.
      [I'm not sure if this step is necessary, as the package activates 
argcomplete globally.]
  4.) Type `./foo.py --foo <TAB>`. This should suggest "a" and "b" but doesn't.
  
+ [Where bugs could occur]
+ Argument completion can in some scenarios be a slow operation. After updating 
argcomplete to the fixed version, it is possible that some users will observe a 
slight delay during completion ; that they didn't observe when the completion 
was broken.
+ 
  [Additional info]
  This is fixed with argcomplete version 3.3.0 here:
  
https://github.com/kislyuk/argcomplete/commit/54a4846b3a774cd9037167898f3cce38ba9d58e8

** Patch added: "debdiff for noble"
   
https://bugs.launchpad.net/ubuntu/+source/python-argcomplete/+bug/2075315/+attachment/5801919/+files/1-3.1.4-1__3.1.4-1ubuntu0.1.debdiff

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

Title:
  [SRU] argcomplete 3.1.4-1 is incompatible with default Ubuntu version
  (3.12.3)

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


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

Reply via email to