Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ This project receives help from these awesome contributors:
- Andrii Kohut
- Roland Walker
- Doug Harris
- Benjamin Beasley

Thanks
------
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Unreleased]

- Support and require version 0.10 of `tabulate`

## Version 2.10.1

(released on 2025-02-18)
Expand Down
2 changes: 1 addition & 1 deletion cli_helpers/tabular_output/tabulate_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def adapter(data, headers, table_format=None, preserve_whitespace=False, **kwarg
if table_format in supported_markup_formats:
tkwargs.update(numalign=None, stralign=None)

tabulate.PRESERVE_WHITESPACE = preserve_whitespace
tkwargs.update(preserve_whitespace=preserve_whitespace)

tkwargs.update(default_kwargs.get(table_format, {}))
if table_format in headless_formats:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def open_file(filename):
long_description_content_type="text/x-rst",
install_requires=[
"configobj >= 5.0.5",
"tabulate[widechars] >= 0.9.0",
"tabulate[widechars] >= 0.10.0",
],
extras_require={
"styles": ["Pygments >= 1.6"],
Expand Down
Loading