Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cli-helpers for openSUSE:Factory checked in at 2026-08-01 18:34:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cli-helpers (Old) and /work/SRC/openSUSE:Factory/.python-cli-helpers.new.16738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cli-helpers" Sat Aug 1 18:34:16 2026 rev:19 rq:1368881 version:2.15.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cli-helpers/python-cli-helpers.changes 2026-05-18 17:47:07.806104315 +0200 +++ /work/SRC/openSUSE:Factory/.python-cli-helpers.new.16738/python-cli-helpers.changes 2026-08-01 18:37:26.716592270 +0200 @@ -1,0 +2,6 @@ +Fri Jul 31 17:10:42 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2.15.1: + * Better handle empty headers in vertical table output. + +------------------------------------------------------------------- Old: ---- cli_helpers-2.15.0.tar.gz New: ---- cli_helpers-2.15.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cli-helpers.spec ++++++ --- /var/tmp/diff_new_pack.l8YxhU/_old 2026-08-01 18:37:27.216609474 +0200 +++ /var/tmp/diff_new_pack.l8YxhU/_new 2026-08-01 18:37:27.216609474 +0200 @@ -17,7 +17,7 @@ Name: python-cli-helpers -Version: 2.15.0 +Version: 2.15.1 Release: 0 Summary: Helpers for building command-line apps License: BSD-3-Clause ++++++ cli_helpers-2.15.0.tar.gz -> cli_helpers-2.15.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli_helpers-2.15.0/CHANGELOG new/cli_helpers-2.15.1/CHANGELOG --- old/cli_helpers-2.15.0/CHANGELOG 2026-05-16 15:01:26.000000000 +0200 +++ new/cli_helpers-2.15.1/CHANGELOG 2026-07-25 14:52:23.000000000 +0200 @@ -1,5 +1,11 @@ # Changelog +## Version 2.15.1 + +(released on 2026-07-25) + +- Better handle empty headers in vertical table output. + ## Version 2.15.0 (released on 2026-05-16) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli_helpers-2.15.0/PKG-INFO new/cli_helpers-2.15.1/PKG-INFO --- old/cli_helpers-2.15.0/PKG-INFO 2026-05-16 15:03:33.000000000 +0200 +++ new/cli_helpers-2.15.1/PKG-INFO 2026-07-25 14:54:59.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: cli_helpers -Version: 2.15.0 +Version: 2.15.1 Summary: Helpers for building command-line apps Home-page: https://github.com/dbcli/cli_helpers Author: dbcli diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli_helpers-2.15.0/cli_helpers/__init__.py new/cli_helpers-2.15.1/cli_helpers/__init__.py --- old/cli_helpers-2.15.0/cli_helpers/__init__.py 2026-05-16 15:02:07.000000000 +0200 +++ new/cli_helpers-2.15.1/cli_helpers/__init__.py 2026-07-25 14:53:13.000000000 +0200 @@ -1 +1 @@ -__version__ = "2.15.0" +__version__ = "2.15.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli_helpers-2.15.0/cli_helpers/tabular_output/vertical_table_adapter.py new/cli_helpers-2.15.1/cli_helpers/tabular_output/vertical_table_adapter.py --- old/cli_helpers-2.15.0/cli_helpers/tabular_output/vertical_table_adapter.py 2022-09-14 02:59:33.000000000 +0200 +++ new/cli_helpers-2.15.1/cli_helpers/tabular_output/vertical_table_adapter.py 2026-07-25 14:52:23.000000000 +0200 @@ -52,7 +52,9 @@ :rtype: str """ - header_len = max([len(x) for x in headers]) + if data and not headers: + headers = [" " * len(x) for x in data[0]] + header_len = max(len(x) for x in headers or [""]) padded_headers = [x.ljust(header_len) for x in headers] formatted_rows = [_format_row(padded_headers, row) for row in data] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli_helpers-2.15.0/cli_helpers.egg-info/PKG-INFO new/cli_helpers-2.15.1/cli_helpers.egg-info/PKG-INFO --- old/cli_helpers-2.15.0/cli_helpers.egg-info/PKG-INFO 2026-05-16 15:03:32.000000000 +0200 +++ new/cli_helpers-2.15.1/cli_helpers.egg-info/PKG-INFO 2026-07-25 14:54:59.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: cli_helpers -Version: 2.15.0 +Version: 2.15.1 Summary: Helpers for building command-line apps Home-page: https://github.com/dbcli/cli_helpers Author: dbcli
