chore(deps): update dependency click to v8.3.3 #38

Merged
renovate-bot merged 1 commit from renovate/click-8.x into main 2026-05-07 14:49:25 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
click (changelog) ==8.2.1==8.3.3 age confidence

Release Notes

pallets/click (click)

v8.3.3

Compare Source

Released 2026-04-20

  • Use :func:shlex.split to split pager and editor commands into argv
    lists for :class:subprocess.Popen, removing shell=True.
    :issue:1026 :pr:1477 :pr:2775
  • Fix TypeError when rendering help for an option whose default value is
    an object that doesn't support equality comparison with strings, such as
    semver.Version. :issue:3298 :pr:3299
  • Fix pager test pollution under parallel execution by using pytest's
    tmp_path fixture instead of a shared temporary file path. :pr:3238
  • Treat Sentinel.UNSET values in a default_map as absent, so they fall
    through to the next default source instead of being used as the value.
    :issue:3224 :pr:3240
  • Patch pdb.Pdb in CliRunner isolation so pdb.set_trace(),
    breakpoint(), and debuggers subclassing pdb.Pdb (ipdb, pdbpp) can
    interact with the real terminal instead of the captured I/O streams.
    :issue:654 :issue:824 :issue:843 :pr:951 :pr:3235
  • Add optional randomized parallel test execution using pytest-randomly and
    pytest-xdist to detect test pollution and race conditions. :pr:3151
  • Add contributor documentation for running stress tests, randomized
    parallel tests, and Flask smoke tests. :pr:3151 :pr:3177
  • Show custom show_default string in prompts, matching the existing
    help text behavior. :issue:2836 :pr:2837 :pr:3165 :pr:3262 :pr:3280
    :pr:3328
  • Fix default=True with boolean flag_value always returning the
    flag_value instead of True. The default=True to flag_value
    substitution now only applies to non-boolean flags, where True acts as a
    sentinel meaning "activate this flag by default". For boolean flags,
    default=True is returned as a literal value. :issue:3111 :pr:3239
  • Mark make_default_short_help as private API. :issue:3189 :pr:3250
  • CliRunner's redirected streams now expose the original file descriptor
    via fileno(), so that faulthandler, subprocess, and other
    C-level consumers no longer crash with io.UnsupportedOperation.
    :issue:2865
  • Change :class:ParameterSource to an :class:~enum.IntEnum and reorder
    its members from most to least explicit, so values can be compared to
    check whether a parameter was explicitly provided. :issue:2879 :pr:3248

v8.3.2

Compare Source

Released 2026-04-02

  • Fix handling of flag_value when is_flag=False to allow such options to be
    used without an explicit value. :issue:3084 :pr:3152
  • Hide Sentinel.UNSET values as None when using lookup_default().
    :issue:3136 :pr:3199 :pr:3202 :pr:3209 :pr:3212 :pr:3224
  • Prevent _NamedTextIOWrapper from closing streams owned by StreamMixer.
    :issue:824 :issue:2991 :issue:2993 :issue:3110 :pr:3139 :pr:3140
  • Add comprehensive tests for CliRunner stream lifecycle, covering
    logging interaction, multi-threaded safety, and sequential invocation
    isolation. Add high-iteration stress tests behind a stress marker
    with a dedicated CI job. :pr:3139
  • Fix callable flag_value being instantiated when used as a default via
    default=True. :issue:3121 :pr:3201 :pr:3213 :pr:3225

v8.3.1

Compare Source

Released 2025-11-15

  • Don't discard pager arguments by correctly using subprocess.Popen. :issue:3039
    :pr:3055
  • Replace Sentinel.UNSET default values by None as they're passed through
    the Context.invoke() method. :issue:3066 :issue:3065 :pr:3068
  • Fix conversion of Sentinel.UNSET happening too early, which caused incorrect
    behavior for multiple parameters using the same name. :issue:3071 :pr:3079
  • Hide Sentinel.UNSET values as None when looking up for other parameters
    through the context inside parameter callbacks. :issue:3136 :pr:3137
  • Fix rendering when prompt and confirm parameter prompt_suffix is
    empty. :issue:3019 :pr:3021
  • When Sentinel.UNSET is found during parsing, it will skip calls to
    type_cast_value. :issue:3069 :pr:3090

v8.3.0

Compare Source

Released 2025-09-17

  • Improved flag option handling: Reworked the relationship between flag_value
    and default parameters for better consistency:

    • The default parameter value is now preserved as-is and passed directly
      to CLI functions (no more unexpected transformations)
    • Exception: flag options with default=True maintain backward compatibility
      by defaulting to their flag_value
    • The default parameter can now be any type (bool, None, etc.)
    • Fixes inconsistencies reported in: :issue:1992 :issue:2514 :issue:2610
      :issue:3024 :pr:3030
  • Allow default to be set on Argument for nargs = -1. :issue:2164
    :pr:3030

  • Show correct auto complete value for nargs option in combination with flag
    option :issue:2813

  • Fix handling of quoted and escaped parameters in Fish autocompletion. :issue:2995 :pr:3013

  • Lazily import shutil. :pr:3023

  • Properly forward exception information to resources registered with
    click.core.Context.with_resource(). :issue:2447 :pr:3058

  • Fix regression related to EOF handling in CliRunner. :issue:2939 :pr:2940

v8.2.2

Compare Source

Released 2025-07-31

  • Fix reconciliation of default, flag_value and type parameters for
    flag options, as well as parsing and normalization of environment variables.
    :issue:2952 :pr:2956
  • Fix typing issue in BadParameter and MissingParameter exceptions for the
    parameter param_hint that did not allow for a sequence of string where the
    underlying function _join_param_hints allows for it. :issue:2777 :pr:2990
  • Use the value of Enum choices to render their default value in help
    screen. Refs :issue:2911 :pr:3004
  • Fix completion for the Z shell (zsh) for completion items containing
    colons. :issue:2703 :pr:2846
  • Don't include envvar in error hint when not configured. :issue:2971 :pr:2972
  • Fix a rare race in click.testing.StreamMixer's finalization that manifested
    as a ValueError on close in a multi-threaded test session.
    :issue:2993 :pr:2991

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [click](https://github.com/pallets/click) ([changelog](https://click.palletsprojects.com/page/changes/)) | `==8.2.1` → `==8.3.3` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/click/8.3.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/click/8.2.1/8.3.3?slim=true) | --- ### Release Notes <details> <summary>pallets/click (click)</summary> ### [`v8.3.3`](https://github.com/pallets/click/blob/HEAD/CHANGES.rst#Version-833) [Compare Source](https://github.com/pallets/click/compare/8.3.2...8.3.3) Released 2026-04-20 - Use :func:`shlex.split` to split pager and editor commands into `argv` lists for :class:`subprocess.Popen`, removing `shell=True`. :issue:`1026` :pr:`1477` :pr:`2775` - Fix `TypeError` when rendering help for an option whose default value is an object that doesn't support equality comparison with strings, such as `semver.Version`. :issue:`3298` :pr:`3299` - Fix pager test pollution under parallel execution by using pytest's `tmp_path` fixture instead of a shared temporary file path. :pr:`3238` - Treat `Sentinel.UNSET` values in a `default_map` as absent, so they fall through to the next default source instead of being used as the value. :issue:`3224` :pr:`3240` - Patch `pdb.Pdb` in `CliRunner` isolation so `pdb.set_trace()`, `breakpoint()`, and debuggers subclassing `pdb.Pdb` (ipdb, pdbpp) can interact with the real terminal instead of the captured I/O streams. :issue:`654` :issue:`824` :issue:`843` :pr:`951` :pr:`3235` - Add optional randomized parallel test execution using `pytest-randomly` and `pytest-xdist` to detect test pollution and race conditions. :pr:`3151` - Add contributor documentation for running stress tests, randomized parallel tests, and Flask smoke tests. :pr:`3151` :pr:`3177` - Show custom `show_default` string in prompts, matching the existing help text behavior. :issue:`2836` :pr:`2837` :pr:`3165` :pr:`3262` :pr:`3280` :pr:`3328` - Fix `default=True` with boolean `flag_value` always returning the `flag_value` instead of `True`. The `default=True` to `flag_value` substitution now only applies to non-boolean flags, where `True` acts as a sentinel meaning "activate this flag by default". For boolean flags, `default=True` is returned as a literal value. :issue:`3111` :pr:`3239` - Mark `make_default_short_help` as private API. :issue:`3189` :pr:`3250` - `CliRunner`'s redirected streams now expose the original file descriptor via `fileno()`, so that `faulthandler`, `subprocess`, and other C-level consumers no longer crash with `io.UnsupportedOperation`. :issue:`2865` - Change :class:`ParameterSource` to an :class:`~enum.IntEnum` and reorder its members from most to least explicit, so values can be compared to check whether a parameter was explicitly provided. :issue:`2879` :pr:`3248` ### [`v8.3.2`](https://github.com/pallets/click/blob/HEAD/CHANGES.rst#Version-832) [Compare Source](https://github.com/pallets/click/compare/8.3.1...8.3.2) Released 2026-04-02 - Fix handling of `flag_value` when `is_flag=False` to allow such options to be used without an explicit value. :issue:`3084` :pr:`3152` - Hide `Sentinel.UNSET` values as `None` when using `lookup_default()`. :issue:`3136` :pr:`3199` :pr:`3202` :pr:`3209` :pr:`3212` :pr:`3224` - Prevent `_NamedTextIOWrapper` from closing streams owned by `StreamMixer`. :issue:`824` :issue:`2991` :issue:`2993` :issue:`3110` :pr:`3139` :pr:`3140` - Add comprehensive tests for `CliRunner` stream lifecycle, covering logging interaction, multi-threaded safety, and sequential invocation isolation. Add high-iteration stress tests behind a `stress` marker with a dedicated CI job. :pr:`3139` - Fix callable `flag_value` being instantiated when used as a default via `default=True`. :issue:`3121` :pr:`3201` :pr:`3213` :pr:`3225` ### [`v8.3.1`](https://github.com/pallets/click/blob/HEAD/CHANGES.rst#Version-831) [Compare Source](https://github.com/pallets/click/compare/8.3.0...8.3.1) Released 2025-11-15 - Don't discard pager arguments by correctly using `subprocess.Popen`. :issue:`3039` :pr:`3055` - Replace `Sentinel.UNSET` default values by `None` as they're passed through the `Context.invoke()` method. :issue:`3066` :issue:`3065` :pr:`3068` - Fix conversion of `Sentinel.UNSET` happening too early, which caused incorrect behavior for multiple parameters using the same name. :issue:`3071` :pr:`3079` - Hide `Sentinel.UNSET` values as `None` when looking up for other parameters through the context inside parameter callbacks. :issue:`3136` :pr:`3137` - Fix rendering when `prompt` and `confirm` parameter `prompt_suffix` is empty. :issue:`3019` :pr:`3021` - When `Sentinel.UNSET` is found during parsing, it will skip calls to `type_cast_value`. :issue:`3069` :pr:`3090` ### [`v8.3.0`](https://github.com/pallets/click/blob/HEAD/CHANGES.rst#Version-830) [Compare Source](https://github.com/pallets/click/compare/8.2.2...8.3.0) Released 2025-09-17 - **Improved flag option handling**: Reworked the relationship between `flag_value` and `default` parameters for better consistency: - The `default` parameter value is now preserved as-is and passed directly to CLI functions (no more unexpected transformations) - Exception: flag options with `default=True` maintain backward compatibility by defaulting to their `flag_value` - The `default` parameter can now be any type (`bool`, `None`, etc.) - Fixes inconsistencies reported in: :issue:`1992` :issue:`2514` :issue:`2610` :issue:`3024` :pr:`3030` - Allow `default` to be set on `Argument` for `nargs = -1`. :issue:`2164` :pr:`3030` - Show correct auto complete value for `nargs` option in combination with flag option :issue:`2813` - Fix handling of quoted and escaped parameters in Fish autocompletion. :issue:`2995` :pr:`3013` - Lazily import `shutil`. :pr:`3023` - Properly forward exception information to resources registered with `click.core.Context.with_resource()`. :issue:`2447` :pr:`3058` - Fix regression related to EOF handling in `CliRunner`. :issue:`2939` :pr:`2940` ### [`v8.2.2`](https://github.com/pallets/click/blob/HEAD/CHANGES.rst#Version-822) [Compare Source](https://github.com/pallets/click/compare/8.2.1...8.2.2) Released 2025-07-31 - Fix reconciliation of `default`, `flag_value` and `type` parameters for flag options, as well as parsing and normalization of environment variables. :issue:`2952` :pr:`2956` - Fix typing issue in `BadParameter` and `MissingParameter` exceptions for the parameter `param_hint` that did not allow for a sequence of string where the underlying function `_join_param_hints` allows for it. :issue:`2777` :pr:`2990` - Use the value of `Enum` choices to render their default value in help screen. Refs :issue:`2911` :pr:`3004` - Fix completion for the Z shell (`zsh`) for completion items containing colons. :issue:`2703` :pr:`2846` - Don't include envvar in error hint when not configured. :issue:`2971` :pr:`2972` - Fix a rare race in `click.testing.StreamMixer`'s finalization that manifested as a `ValueError` on close in a multi-threaded test session. :issue:`2993` :pr:`2991` </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjE2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
renovate-bot added 1 commit 2026-05-07 13:00:45 +02:00
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-05-07 13:00:48 +02:00
renovate-bot merged commit 7837656fd7 into main 2026-05-07 14:49:25 +02:00
renovate-bot deleted branch renovate/click-8.x 2026-05-07 14:49:28 +02:00
Sign in to join this conversation.
No description provided.