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-06-18 18:40:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-click-extra (Old) and /work/SRC/openSUSE:Factory/.python-click-extra.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-extra" Thu Jun 18 18:40:57 2026 rev:23 rq:1360130 version:7.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-click-extra/python-click-extra.changes 2026-05-15 23:58:27.669337170 +0200 +++ /work/SRC/openSUSE:Factory/.python-click-extra.new.1981/python-click-extra.changes 2026-06-18 18:42:09.660880193 +0200 @@ -1,0 +2,153 @@ +Mon Jun 1 06:50:51 UTC 2026 - Johannes Kastl <[email protected]> + +- update to 7.18.0: + * Add a --man option to the default set of @extra_command and + @extra_group (via default_extra_params()): it prints the + command's man page (roff) to stdout and exits. Also available + as the @man_option decorator for plain Click CLIs. + * Add an --accessible option to the default set of @extra_command + and @extra_group (via default_extra_params()). Enabling it, or + setting the ACCESSIBLE environment variable, is equivalent to + --no-color --table-format plain: it strips ANSI codes and + renders tables without Unicode box-drawing characters, for + screen readers. An explicit --color or --table-format (on the + command line or in a configuration file) keeps precedence. Also + available as the @accessible_option decorator and the + AccessibleOption class. + * Add a man subcommand to the click-extra CLI: click-extra man + SCRIPT [SUBCOMMAND]... renders the man page (roff) of any + external Click CLI without running it, resolving the target + like show-params (console_scripts entry point, module:function + notation, .py file, or module name). Both subcommands now also + load .py file targets, which previously raised an unhandled + error. + * Generate man pages programmatically with the new + click_extra.man_page module: render_manpage() for a single + command, render_manpages() for the whole command tree (one page + per subcommand), and write_manpages() to write .1 files (handy + from a Debian override_dh_installman rule). Pages follow the + man-pages(7) layout, discover subcommands dynamically, honor + Click's \b no-rewrap marker and SOURCE_DATE_EPOCH for + reproducible builds, and mirror Cloup option groups as .SS + subsections (ungrouped options fall under an Other options + heading). + * Add a pre-configured -0/--zero-exit option flag, exposed as the + @zero_exit_option decorator and the ZeroExitOption class. It + stores the user's intent in ctx.meta under the new ZERO_EXIT + key but does not alter the exit code itself: downstream code + reads it to decide whether to suppress its non-zero "problems + found" status. + * Consolidate the --time, --jobs and -0/--zero-exit options into + a single click_extra.execution module. The click_extra.jobs and + click_extra.timer submodules are removed: their decorators and + classes (timer_option, jobs_option, TimerOption, JobsOption, + CPU_COUNT, DEFAULT_JOBS) remain importable from the click_extra + root. The --show-params table now reports these options under + click_extra.execution. + * Honor the standard POSIXLY_CORRECT environment variable. When + it is present in the environment (regardless of value), + ExtraContext forces allow_interspersed_args to False, so every + Click Extra command and group stops parsing options at the + first positional argument, matching GNU getopt-based tools. + * Add the run_config_validation() function and the + ValidationReport dataclass to click_extra.config (both + re-exported from the package root). They run the CLI-parameter + strict check, the typed schema build, and every registered + ConfigValidator in a single pass, returning the typed schema + instance, the extracted extension sub-trees, and the list of + ValidationErrors. collect_all=True gathers every error; + collect_all=False stops at the first. Both --validate-config + and normal --config loading now delegate to this primitive. + * Unify configuration-loading errors under the single + ValidationError type. Unknown CLI-parameter keys (strict=True) + and unknown schema fields (schema_strict=True) previously + surfaced as an uncaught ValueError traceback during --config + loading; they now stop the run with a critical-level log and + exit code 1, the same failure mode as extension-validator + errors. Code that caught ValueError from config loading should + catch the SystemExit from the exit (or use --validate-config / + run_config_validation() to inspect errors without exiting). + * Fix schema_strict=True wrongly rejecting the contents of a + configuration field marked as an extension point with + EXTENSION_METADATA_KEY when the field's Python type is not a + mapping. The dataclass adapter now honors the marker the same + way the outer strict check does, so the marked sub-tree is kept + intact instead of being flattened and reported as unknown keys. +- update to 7.17.2: + * Add Mermaid diagrams throughout the documentation to render + resolution and layering rules previously carried by prose or + nested lists: configuration-file source selection and value + precedence (config.md), the Click / Cloup / click-extra class + layering and the @command/@group default-option bundle + (commands.md), --color/--no-color ANSI enablement + (colorize.md), the {version} and {exec_name} fallback chains + (version.md), the decorator_factory subclass guardrail + (decorators.md), and environment-variable id resolution + (envvar.md). +- update to 7.17.1: + * Bundle click_extra/themes.toml into the Nuitka standalone + binaries via a new [tool.nuitka] include-package-data setting. + The 7.17.0 binaries aborted at startup with FileNotFoundError: + themes.toml because the data file backing the built-in themes + was not packaged, so Nuitka could not find it when + click_extra.theme loaded it through importlib.resources. +- update to 7.17.0: + * All built-in themes now apply the man-pages(7) font convention: + literal tokens (command and subcommand names, aliases, option + flags, choice values) render bold, and replaceable tokens + (metavars, argument names) render italic, layered on top of + each palette's colors. The split is declared by the new + LITERAL_STYLES / REPLACEABLE_STYLES frozensets in + click_extra.theme, and a test enforces that every built-in + theme keeps it. To avoid piling bold onto slots that already + stand out, heading (now color + underline), deprecated, and + search drop their bold; critical keeps it, as it is the only + cue distinguishing it from error. In light and solarized_dark, + heading is recolored (to magenta and violet respectively) so it + stays distinct from the now-bold options and subcommands it + previously shared a color with. + * Add a manpage built-in theme: a colorless palette rendering the + same bold-literal / italic-replaceable convention with no + color, shadowing how man-pages(7) typesets a command. + Selectable via --theme manpage. + * HelpCommand now raises click.NoSuchCommand instead of + click.UsageError when an unknown subcommand is requested. The + user sees did-you-mean suggestions: Error: No such command + 'instal'. (Did you mean one of: 'install', 'uninstall'?). + * Bump the Click floor to 8.4.1. Click 8.4.0 (PR + pallets/click#3423) injects a space between an option's help + text and its (DEPRECATED) label. The 8.4.1 floor (not 8.4.0) is + required because Click 8.4.0 (PR pallets/click#3404) delayed + set_parameter_source until after process_value, so eager + callbacks that introspect ctx.get_parameter_source(self.name) + read None and missed whether the option was set from the + command line, environment, or default. This broke ColorOption's + NO_COLOR/FORCE_COLOR precedence detection, ConfigOption's + explicit-vs-autodiscover branching, and ShowParamsOption's + Source column. Click 8.4.1 (PR pallets/click#3484) restores the + pre-8.4.0 contract. + * Remove the HelpExtraFormatter.write_usage override. Click 8.4.0 + (PR pallets/click#3420) made TextWrapper measure visible width + instead of raw bytes, so the 24-bit-RGB-theme wrap workaround + is no longer needed. + * Drop the explicit type=UNPROCESSED from + NoConfigOption.__init__. Click 8.4.0 (PR pallets/click#3363) + auto-detects UNPROCESSED for flag_value with non-basic types, + so the flag_value=NO_CONFIG sentinel reaches Option unchanged + on its own. + * Bump the requests floor to 2.34. Requests 2.34.0 ships inline + type annotations, so the types-requests stub package is no + longer needed and has been removed from the typing dependency + group. + * Bump the myst-parser floor in the docs dependency group to 5.1. + Doc builds now use myst-parser's native "alert" syntax + extension (added in 5.1.0) instead of the in-tree regex + converter in click_extra.sphinx.alerts; "alert" is added to + myst_enable_extensions in docs/conf.py. The in-tree converter + remains in place for the base test dependency group, where + myst-parser>=4 still resolves to 4.x on Python 3.10. + * Drop the colorama test-matrix variation. Click PR + pallets/click#3505 merged the Colorama-removal branch into + stable, making a dedicated CI axis unnecessary. + +------------------------------------------------------------------- Old: ---- click-extra-7.16.1.tar.gz New: ---- click-extra-7.18.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-click-extra.spec ++++++ --- /var/tmp/diff_new_pack.z1QOEs/_old 2026-06-18 18:42:10.524916297 +0200 +++ /var/tmp/diff_new_pack.z1QOEs/_new 2026-06-18 18:42:10.528916464 +0200 @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-click-extra -Version: 7.16.1 +Version: 7.18.0 Release: 0 Summary: Drop-in replacement for Click to make user-friendly and colorful CLI License: GPL-2.0-or-later @@ -38,11 +38,11 @@ # SECTION Build dependencies # https://github.com/kdeldycke/click-extra/blob/v6.0.3/pyproject.toml#L73 BuildRequires: %{python_module boltons >= 20.0.0} -BuildRequires: %{python_module click >= 8.3.1} +BuildRequires: %{python_module click >= 8.4.1} BuildRequires: %{python_module cloup >= 3.0.7} BuildRequires: %{python_module deepmerge >= 1.0.1} BuildRequires: %{python_module extra-platforms >= 8.0.0} -BuildRequires: %{python_module requests >= 2.32.4} +BuildRequires: %{python_module requests >= 2.34} BuildRequires: %{python_module tabulate >= 0.10} BuildRequires: %{python_module tomli >= 2 if %python-base < 3.11} BuildRequires: %{python_module tomlkit >= 0.13} @@ -70,11 +70,11 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-boltons >= 20.0.0 -Requires: python-click >= 8.3.1 +Requires: python-click >= 8.4.1 Requires: python-cloup >= 3.0.7 Requires: python-deepmerge >= 1.0.1 Requires: python-extra-platforms >= 8.0.0 -Requires: python-requests >= 2.32.4 +Requires: python-requests >= 2.34 Requires: python-tabulate >= 0.10 Requires: python-wcmatch >= 10.0 Requires: (python-tomli >= 2 if python-base < 3.11) ++++++ click-extra-7.16.1.tar.gz -> click-extra-7.18.0.tar.gz ++++++ ++++ 8109 lines of diff (skipped)
