Skip to content

Update cli_helpers to v2.12.0#1729

Merged
rolandwalker merged 1 commit intomainfrom
RW/update-cli-helpers-v0-12-0
Mar 21, 2026
Merged

Update cli_helpers to v2.12.0#1729
rolandwalker merged 1 commit intomainfrom
RW/update-cli-helpers-v0-12-0

Conversation

@rolandwalker
Copy link
Contributor

@rolandwalker rolandwalker commented Mar 21, 2026

Description

Update cli_helpers to v2.12.0, fixing a preserve_whitespace keyword argument bug with the tabulate library.

Fixes #1699, which should not happen, but does happen.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

@github-actions
Copy link

  1. Missing regression test for the reported bug fix
    The PR updates cli_helpers to pick up a preserve_whitespace/tabulate fix, but there is no accompanying test in this repo to lock in expected behavior. If cli_helpers behavior changes again, this can silently regress.
    Relevant refs: pyproject.toml:19, main.py:1828, test_tabular_output.py
    Action: add a regression test that formats rows with leading/trailing/internal spaces and asserts whitespace is preserved in tabular output.

  2. Version mismatch in changelog entry (likely typo)
    Dependency is pinned to cli_helpers ~= 2.12.0, but changelog says v0.12.0. This can confuse release/debug workflows.
    Relevant refs: pyproject.toml:19, changelog.md:14
    Action: update changelog to v2.12.0 (if that is the intended version).

No direct security issues found in the introduced diff.

@rolandwalker rolandwalker force-pushed the RW/update-cli-helpers-v0-12-0 branch from 0b3922f to 2f322e3 Compare March 21, 2026 10:54
@rolandwalker rolandwalker self-assigned this Mar 21, 2026
fixing a preserve_whitespace keyword argument bug with the tabulate
library.
@rolandwalker rolandwalker force-pushed the RW/update-cli-helpers-v0-12-0 branch from 2f322e3 to 8108c24 Compare March 21, 2026 11:07
@rolandwalker rolandwalker changed the title Update cli_helpers to v0.12.0 Update cli_helpers to v2.12.0 Mar 21, 2026
@rolandwalker rolandwalker merged commit d6fc8fe into main Mar 21, 2026
8 checks passed
@rolandwalker rolandwalker deleted the RW/update-cli-helpers-v0-12-0 branch March 21, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash complaining of tabulate() and preserve_whitespace

1 participant