Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-click-extra for openSUSE:Factory checked in at 2026-04-20 16:13:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-click-extra (Old) and /work/SRC/openSUSE:Factory/.python-click-extra.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-extra" Mon Apr 20 16:13:27 2026 rev:20 rq:1348170 version:7.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-click-extra/python-click-extra.changes 2026-04-13 23:22:37.213368305 +0200 +++ /work/SRC/openSUSE:Factory/.python-click-extra.new.11940/python-click-extra.changes 2026-04-20 16:13:34.566815638 +0200 @@ -1,0 +2,115 @@ +Sat Apr 18 07:15:31 UTC 2026 - Johannes Kastl <[email protected]> + +- update to 7.13.0: + * Add MkDocs plugin for ANSI color rendering in code blocks. + Install with pip install click-extra[mkdocs], then add + click-extra to your mkdocs.yml plugins list. Patches + pymdownx.highlight formatters to use AnsiHtmlFormatter. + * Automatically patch mkdocs-click code blocks to use the + ansi-output lexer when the click-extra MkDocs plugin is + enabled. CLI help text with ANSI escape codes now renders with + colors instead of garbled [1m/[0m sequences. + * Fix API reference sections rendering as raw RST markup instead + of formatted documentation. Wrap all automodule and + autoclasstree directives in eval-rst blocks to force RST + parsing, working around MyST-Parser's MockState.nested_parse() + treating autodoc output as Markdown. + * Add OSC 8 hyperlink support to AnsiColorLexer and + AnsiHtmlFormatter. Terminal hyperlinks in CLI output are + rendered as clickable HTML <a> tags in Sphinx documentation. + Other OSC sequences are now fully stripped instead of leaking + their payload as visible text. +- update to 7.12.0: + * Add JobsOption and jobs_option decorator for controlling + parallel execution. Defaults to available CPUs minus one. Warns + when the requested count is clamped or exceeds available cores. + * Improve error messages for single-dash multi-character tokens. + When Click splits -dbgwrong character by character and reports + "No such option: -d", ExtraCommand now catches that and + re-raises with the full token and close-match suggestions. + * Replace pygments-ansi-color dependency with inline ANSI SGR + parser. Adds support for italic (SGR 3), underline (SGR 4), + reverse video (SGR 7), strikethrough (SGR 9), and 24-bit RGB + colors (quantized to the 256-color palette). The token + namespace changes from Token.Color.*/Token.C.* to a unified + Token.Ansi.*, and CSS classes change accordingly (from + .-Color-*/.-C-* to .-Ansi-*). Fixes bold, italic, underline, + and other text attributes not rendering in Sphinx/Furo: Furo's + dark-mode CSS generator injected color: #D0D0D0 fallbacks for + every Pygments style dict entry, overriding foreground color + rules on compound tokens. All SGR attribute CSS is now injected + separately via EXTRA_ANSI_CSS. + * Rename lexer_map to LEXER_MAP. + * Change render-matrix --matrix=<choice> option to a positional + argument: render-matrix <choice>. Add palette, 8color, and + gradient choices. palette shows a compact 256-color indexed + swatch. 8color shows all standard foreground/background + combinations. gradient renders 24-bit RGB gradients alongside + their 256-color quantized equivalents to visualize the palette + resolution limits. + * Fix render-matrix colors background color column headers: the + color swatches were styled as foreground instead of background + colors. +- update to 7.11.0: + * Add serialize_data() and print_data() functions for serializing + arbitrary nested Python data (not just tabular rows) to JSON, + HJSON, TOML, YAML, and XML. Complements the existing + render_table()/print_table() pair. + * Add sort_key parameter to render_table() and print_table() for + pre-render row sorting. + * Catch ImportError from missing optional dependencies in + print_table() and print_data(), producing a clean one-line + error instead of a traceback. The print_data() package + parameter lets downstream projects customize install + instructions. + * Add print_sorted_table() and SortByOption for column-based + table sorting. SortByOption generates a --sort-by CLI option + from column definitions and auto-wires ctx.print_table to the + sorted variant. + * Add auto-injected help subcommand to ExtraGroup. mycli help + shows group help, mycli help subcommand shows that subcommand's + help (with nested group resolution). mycli help --search term + searches all subcommands for matching options or descriptions. + Disable with help_command=False. + * Relax ParamStructure._recurse_cmd to skip subcommands whose + name collides with a top-level parameter (e.g. the help + subcommand vs Click's --help option) instead of raising. + * Expose HelpKeywords dataclass and collect_keywords() as public + API for extending help screen highlighting. collect_keywords() + (renamed from the private _collect_keywords()) can be + overridden to customize keyword collection. + * Add extra_keywords and excluded_keywords parameters to + ExtraCommand and ExtraGroup. extra_keywords injects additional + strings for highlighting; excluded_keywords suppresses + highlighting of specific strings. Both accept a HelpKeywords + instance. + * Switch deprecated-message highlighting from pre-collected + keyword sets to a case-insensitive regex. Manually-added + markers like (Deprecated) or (deprecated: reason) in help + strings are now styled alongside Click-native (DEPRECATED) + markers. + * Style individual choices inside their own metavar + ([json|csv|xml]) as structural elements. Excluded choices and + cross_ref_highlight=False only suppress free-text highlighting; + the metavar itself is always styled. + * Propagate excluded_keywords from parent groups to subcommands. + Parent exclusions are merged with child exclusions so that + choices excluded at the group level are not styled in + subcommand descriptions. + * Fix command aliases not being highlighted in help screens. + Aliases rendered by Cloup inside parenthetical groups (like + backup (save, freeze)) were not matched by the subcommand + highlighting regex, which only recognized 2-space-indented + names. + * Fix choice cross-reference highlighting bleeding into bracket + fields. When a default value contained a choice keyword (e.g. + outline in rounded-outline), the choice style would override + the default value style. Bracket fields are now + placeholder-protected before cross-reference passes run. + * Fix parent-context choice collection always normalizing + (lowercasing) case-insensitive choices, ignoring custom + metavars. Parent choices with a custom metavar now preserve + original case, matching the behavior already applied to the + current command's parameters. + +------------------------------------------------------------------- Old: ---- click-extra-7.10.1.tar.gz New: ---- click-extra-7.13.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-click-extra.spec ++++++ --- /var/tmp/diff_new_pack.aiCBfG/_old 2026-04-20 16:13:35.374849380 +0200 +++ /var/tmp/diff_new_pack.aiCBfG/_new 2026-04-20 16:13:35.378849547 +0200 @@ -28,7 +28,7 @@ %{?sle15_python_module_pythons} Name: python-click-extra -Version: 7.10.1 +Version: 7.13.0 Release: 0 Summary: Drop-in replacement for Click to make user-friendly and colorful CLI License: GPL-2.0-or-later @@ -55,8 +55,11 @@ BuildRequires: %{python_module PyYAML >= 6.0.3} BuildRequires: %{python_module hjson >= 3.1} BuildRequires: %{python_module json5 >= 0.12.1} +BuildRequires: %{python_module mkdocs >= 1.4} +BuildRequires: %{python_module pygments >= 2.14} BuildRequires: %{python_module pygments >= 2.14} BuildRequires: %{python_module pygments-ansi-color >= 0.3} +BuildRequires: %{python_module pymdown-extensions >= 10} BuildRequires: %{python_module xmltodict >= 1.0.0} BuildRequires: git-core # /SECTION @@ -130,6 +133,15 @@ IGNORED_CHECKS+=" or test_enum_choice_show_aliases[Status-ChoiceSource.NAME-True-result2]" IGNORED_CHECKS+=" or test_enum_choice_show_aliases[Status-ChoiceSource.VALUE-True-result3]" IGNORED_CHECKS+=" or test_enum_choice_show_aliases[Color-ChoiceSource.NAME-True-result4]" +# +IGNORED_CHECKS+=" or test_patched_formatter_renders_ansi" +IGNORED_CHECKS+=" or test_patched_formatter_preserves_pymdownx_mro" +IGNORED_CHECKS+=" or test_on_config_patches_formatters" +IGNORED_CHECKS+=" or test_on_config_patches_mkdocs_click" +IGNORED_CHECKS+=" or test_on_config_idempotent" +IGNORED_CHECKS+=" or test_patch_mkdocs_click_usage" +IGNORED_CHECKS+=" or test_patch_mkdocs_click_idempotent" +IGNORED_CHECKS+=" or test_patch_mkdocs_click_plain_options" %pytest -k "not (${IGNORED_CHECKS})" ++++++ click-extra-7.10.1.tar.gz -> click-extra-7.13.0.tar.gz ++++++ ++++ 13141 lines of diff (skipped)
