File python-rich-click.changes of Package python-rich-click
-------------------------------------------------------------------
Thu Jul 31 02:35:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.8.9:
* Fix deprecation warning in Click 8.2.
* Fix typing incompatibilities with Click 8.2.
* Fixed no_args_is_help=True with Click 8.2.
* Added Click 8.2's support for Parameter.deprecated: str | bool
* Make text wrap instead of using ellipses for overflowing metavars in
options tables.
* Added --errors-in-output-format flag to rich-click CLI.
* Actually fixed regression in stderr handling
* Add ability to turn off option/command deduplication in groups
* Fix regression in stderr handling
* Fix incompatibility with click 8.2.0.
* Fix issue with error messages not using user-defined styles.
* Support rich.text.Text() objects for header_text, footer_text,
errors_suggestion, and errors_epilogue.
* Support {cmd} as an option/command group key when python -m {cmd} is the
command_path.
* Fixed incompatibility with Click 9.
* Add --rich-config and --output options to the rich-click CLI.
* Lazy load Rich to reduce overhead when not rendering help text.
* Added RichHelpConfiguration.load_from_globals() classmethod, which pulls
all configuration from rich_click.py.
* Fix bug with regex highlighter for options and switches.
* RichHelpConfiguration() is now asserted to be JSON serializable, as an
option for porting configurations.
* Moved exclusively to pyproject.toml and removed setup.py / setup.cfg
* Moved to text_markup: Literal["markdown", "rich", "ansi", None] instead
of booleans.
* Fixed issue where error messages would not print to stderr by default.
- Switch to github tarball.
- Run the testsuite.
-------------------------------------------------------------------
Thu Jun 12 08:09:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build and libalternatives
-------------------------------------------------------------------
Sat Mar 16 14:41:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.7.4:
* Set `legacy_windows` by default to `None`.
-------------------------------------------------------------------
Tue Jan 9 21:55:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.7.3:
* Fix false deprecation warning.
-------------------------------------------------------------------
Wed Dec 27 15:55:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.7.2:
* Add support for rich formatting in epilog text [#146]
-------------------------------------------------------------------
Wed Dec 13 10:13:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.7.2:
* Add support for rich formatting in epilog text [#146]
* Fix bug with `rich-click` CLI not working with Python 3.12.
#141
* Fix compatibility issue with `dbt-core` CLI. [#140]
* Extends Click's `HelpFormatter` class
* Creates a `HelpConfiguration` class that doubles the current
module-level settings
* Added a decorator that allows the `HelpConfiguration` to be
passed into Click via the supported `context_settings`
argument provided by the `Command` and `Group` classes.
* The Rich Console object can also be configured per command
and is distinct from the Console instance used internally by
the formatter. The `RichHelpFormatter` creates a console
based on the `RichHelpConfiguration` as the tight coupling
between the Formatter and Click's internals make it difficult
to allow the Console to be configured externally (i.e. one
example is that Click expects help formatting to be
buffered).
* Created a `RichContext` class to allow creation of the custom
formatter.
* The Rich Command, Group, and Context now expose the `Console`
and `RichHelpConfiguration` properties.
* Added contributor VSCode settings
-------------------------------------------------------------------
Thu May 4 19:52:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.6.1:
* Don't show metavars for feature switch options [#100]
-------------------------------------------------------------------
Tue Dec 13 17:00:23 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.6.0
* warning Removed support for Typer warning
* Please use the native Typer functionality instead.
* Added self-updating automated readme screengrabs using rich-codex
* Fix AssertionError when using click command call #94
-------------------------------------------------------------------
Thu Sep 1 00:48:20 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.5.2