Debian Patches

Status for python-cliff/4.13.2-3

Patch Description Author Forwarded Bugs Origin Last update
install-all-files.patch no
stop-using-private-argparse-functions.patch Stop using private argparse functions
===================================================================
Thomas Goirand <zigo@debian.org> no debian 2026-02-12
Fix_compatibility_with_cmd2_3.1.0+.patch Fix compatibility with cmd2 3.1.0+ cmd2 3.1.0 has removed the dependency on the stdlib cmd library [1]. For
our use cases, the largest change is that we no longer have the
'completenames' helper, which was defined in `cmd.Cmd` rather than
`cmd2.Cmd`. However, upon further inspection is seems this helper was
never actually used. It was not called directly in cmd2 2.x and was only
used in cmd in two locations: `Cmd.complete` [2] and `Cmd.complete_help`
[3]. cmd2 2.x entirely overrode the former [4] and deleted the latter,
meaning we were not actually using any of that code. Therefore we can
just delete the helper and any tests for same and suffer no ill effects.
To be safe though, we bump our cmd2 minimum to 3.0.0.
.
While here, we also need to fix some type hints to account for the cmd2
bump along with a related autopage bump.
.
[1] https://github.com/python-cmd2/cmd2/releases/tag/3.1.0
[2] https://github.com/python/cpython/blob/v3.10.20/Lib/cmd.py#L274
[3] https://github.com/python/cpython/blob/v3.10.20/Lib/cmd.py#L287
[4] https://github.com/python-cmd2/cmd2/blob/2.7.0/cmd2/cmd2.py#L2192-L2294
[5] https://github.com/python-cmd2/cmd2/blob/2.7.0/cmd2/cmd2.py#L3770-L3772

diff --git a/cliff/formatters/table.py b/cliff/formatters/table.py
index 6546a76..771130f 100644
Stephen Finucane <sfinucan@redhat.com> no upstream, https://review.opendev.org/c/openstack/cliff/+/978994 2026-03-27

All known versions for source package 'python-cliff'

Links