← Back to Pull requests

chore(deps): Update click requirement from <9.0,>=8.0 to >=8.5.1,<9.0 in /agent-governance-python/agent-compliance #4640

Closed
unknown closed this pull request without merging on Nov 24, 2026 09:30 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 09:14 UTC
Author

Updates the requirements on click to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pallets/click/releases">click's releases</a>.</em></p>
<blockquote>
<h2>8.5.1</h2>
<p>This is the Click 8.5.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.</p>
<p>PyPI: <a href="https://pypi.org/project/click/8.5.1/">https://pypi.org/project/click/8.5.1/</a>
Changes: <a href="https://click.palletsprojects.com/page/changes/#version-8-5-1">https://click.palletsprojects.com/page/changes/#version-8-5-1</a>
Milestone: <a href="https://github.com/pallets/click/milestone/66">https://github.com/pallets/click/milestone/66</a></p>
<ul>
<li>Fix <code>copy.deepcopy()</code> and <code>pickle</code> on a <code>Parameter</code>, <code>Option</code> or <code>Command</code>. <a href="https://redirect.github.com/pallets/click/issues/3805">#3805</a></li>
<li>A <code>KeyboardInterrupt</code> arriving while <code>Command.main()</code> reports an abort or an error,
or while it exits, no longer escapes as an unhandled traceback. The command still
exits with the intended code; only the message may be lost. <a href="https://redirect.github.com/pallets/click/issues/3802">#3802</a></li>
<li>Add <code>Option.get_help_spec()</code>, which returns the option's left help
column even when the option is hidden. <code>Option.get_help_record()</code> still
returns <code>None</code> for hidden options, so help screens are unchanged. <a href="https://redirect.github.com/pallets/click/issues/3821">#3821</a></li>
<li>The <code>Positional arguments</code> help section lists every argument of the command,
not only the documented ones. An argument with no <code>help</code> gets an empty
description, the same way an option with no <code>help</code> does. <a href="https://redirect.github.com/pallets/click/issues/3860">#3860</a></li>
<li><code>Argument.get_help_record()</code> always returns a tuple. It used to return
<code>None</code> for an argument with no <code>help</code>. <a href="https://redirect.github.com/pallets/click/issues/3860">#3860</a></li>
<li>Document which types are inferred from <code>default</code>, and what an unrecognized
<code>type</code> callable does to a command-line value. <a href="https://redirect.github.com/pallets/click/issues/3036">#3036</a> <a href="https://redirect.github.com/pallets/click/issues/3808">#3808</a></li>
<li><code>path_type</code> narrows the converted value's type for <code>convert</code> and <code>prompt</code>.
<a href="https://redirect.github.com/pallets/click/issues/3822">#3822</a> <a href="https://redirect.github.com/pallets/click/issues/3858">#3858</a></li>
<li><code>Parameter</code> accepts a new <code>help</code> argument, and <code>Option</code> and <code>Argument</code>
inherit it. <code>Parameter.to_info_dict()</code> now reports <code>help</code> for every kind of parameter.
<a href="https://redirect.github.com/pallets/click/issues/3861">#3861</a></li>
<li>A command's short help no longer stops at an abbreviation such as <code>vs.</code> or <code>e.g.</code>
inside the first sentence. A period ends the sentence only when it closes the text
or the next word does not start in lowercase. <a href="https://redirect.github.com/pallets/click/issues/3865">#3865</a></li>
<li>With <code>show_envvar=True</code>, an option's error message now prints all variables of an
<code>envvar</code> sequence instead of the <code>repr</code> of the sequence. <a href="https://redirect.github.com/pallets/click/issues/3884">#3884</a></li>
<li>An empty <code>envvar</code>, such as <code>[]</code> or <code>&quot;&quot;</code>, shows the same help and error message as
no <code>envvar</code> when <code>show_envvar=True</code>. The help screen used to show <code>[env var: ]</code>.
<a href="https://redirect.github.com/pallets/click/issues/3884">#3884</a></li>
<li>Align command's deprecated help text to options and arguments: do not translate the
command's own help text, only the <code>(DEPRECATED)</code> label. <a href="https://redirect.github.com/pallets/click/issues/3901">#3901</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pallets/click/blob/main/CHANGES.md">click's changelog</a>.</em></p>
<blockquote>
<h2>Version 8.5.1</h2>
<p>Released 2026-11-09</p>
<ul>
<li>Fix <code>copy.deepcopy()</code> and <code>pickle</code> on a <code>Parameter</code>, <code>Option</code> or <code>Command</code>. {pr}<code>3805</code></li>
<li>A <code>KeyboardInterrupt</code> arriving while <code>Command.main()</code> reports an abort or an error,
or while it exits, no longer escapes as an unhandled traceback. The command still
exits with the intended code; only the message may be lost. {issue}<code>3802</code></li>
<li>Add {meth}<code>Option.get_help_spec</code>, which returns the option's left help
column even when the option is hidden. {meth}<code>Option.get_help_record</code> still
returns <code>None</code> for hidden options, so help screens are unchanged. {pr}<code>3821</code></li>
<li>The <code>Positional arguments</code> help section lists every argument of the command,
not only the documented ones. An argument with no <code>help</code> gets an empty
description, the same way an option with no <code>help</code> does. {pr}<code>3860</code></li>
<li>{meth}<code>Argument.get_help_record</code> always returns a tuple. It used to return
<code>None</code> for an argument with no <code>help</code>. {pr}<code>3860</code></li>
<li>Document which types are inferred from <code>default</code>, and what an unrecognized
<code>type</code> callable does to a command-line value. {issue}<code>3036</code> {pr}<code>3808</code></li>
<li><code>path_type</code> narrows the converted value's type for <code>convert</code> and <code>prompt</code>.
{issue}<code>3822</code> {pr}<code>3858</code></li>
<li>{class}<code>Parameter</code> accepts a new <code>help</code> argument and {class}<code>Option</code> and {class}<code>Argument</code>
inherits it. {meth}<code>Parameter.to_info_dict</code> now reports <code>help</code> for every kind of parameter.
{pr}<code>3861</code></li>
<li>A command's short help no longer stops at an abbreviation such as <code>vs.</code> or <code>e.g.</code>
inside the first sentence. A period ends the sentence only when it closes the text
or the next word does not start in lowercase. {pr}<code>3865</code></li>
<li>With <code>show_envvar=True</code>, an option's error message now prints all variables of an
<code>envvar</code> sequence instead of the <code>repr</code> of the sequence. {pr}<code>3884</code></li>
<li>An empty <code>envvar</code>, such as <code>[]</code> or <code>&quot;&quot;</code>, shows the same help and error message as
no <code>envvar</code> when <code>show_envvar=True</code>. The help screen used to show <code>[env var: ]</code>.
{pr}<code>3884</code></li>
<li>Align command's deprecated help text to options and arguments: do not translate the
command's own help text, only the <code>(DEPRECATED)</code> label. {pr}<code>3901</code></li>
</ul>
<h2>Version 8.5.0</h2>
<p>Released 2026-08-24</p>
<ul>
<li>Add built-in shell completion support for PowerShell (Windows PowerShell
5.1+ and pwsh 7+) alongside the existing <code>bash</code>, <code>zsh</code>, and <code>fish</code>
completers. Use <code>_FOO_BAR_COMPLETE=powershell_source foo-bar</code> to generate
the completion script. {issue}<code>2672</code> {pr}<code>3637</code></li>
<li>Supported versions of Windows enable ANSI terminal styles by default.
Colorama is no longer a dependency and is not used. {issue}<code>2986</code> {pr}<code>3505</code></li>
<li>{class}<code>Argument</code> accepts a <code>help</code> parameter, and help output includes
a <code>Positional arguments</code> section when argument help is available. {issue}<code>2983</code> {pr}<code>3473</code></li>
<li><code>confirm()</code> and <code>prompt()</code> strip ANSI color and style codes from the
prompt when the output stream does not support them, matching <code>echo()</code>.
This stripping was lost in <code>8.4.0</code> when {pr}<code>2969</code> began writing the
prompt with <code>input()</code> directly. {issue}<code>3572</code> {pr}<code>3653</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pallets/click/commit/cf19179e8e2fd54c601378cec9e0d21bb12b6fb1"><code>cf19179</code></a> Release version 8.5.1</li>
<li><a href="https://github.com/pallets/click/commit/1ff766d6a38cf80d9b881e629ec5037e793c2bcf"><code>1ff766d</code></a> Remove documentation changelog entry.</li>
<li><a href="https://github.com/pallets/click/commit/16da191cb11639a6386178303c1d6ceaa1967bad"><code>16da191</code></a> Add a standalone application guide for Nuitka (<a href="https://redirect.github.com/pallets/click/issues/3897">#3897</a>)</li>
<li><a href="https://github.com/pallets/click/commit/473f65225cfc65f996ab005e488d4fd4a0e5b0bd"><code>473f652</code></a> Remove issue and PR references outside the changelog (<a href="https://redirect.github.com/pallets/click/issues/3905">#3905</a>)</li>
<li><a href="https://github.com/pallets/click/commit/df7fe0b97297d07748dc2f88008e2bd136e0cf43"><code>df7fe0b</code></a> Remove issue and PR references outside the changelog</li>
<li><a href="https://github.com/pallets/click/commit/4fd4206320e521878c1a8b532a6e1abe03622e9f"><code>4fd4206</code></a> Bump <code>pypa/gh-action-pypi-publish</code> to <code>v1.14.3</code> (<a href="https://redirect.github.com/pallets/click/issues/3906">#3906</a>)</li>
<li><a href="https://github.com/pallets/click/commit/9048ab0c885f3a5a320f00559d0cbb8769113741"><code>9048ab0</code></a> Bump <code>pypa/gh-action-pypi-publish</code> to <code>v1.14.3</code></li>
<li><a href="https://github.com/pallets/click/commit/ff0c3692a06e3bbf464ab31fe745cce02dfd16ca"><code>ff0c369</code></a> Add a standalone application guide for Nuitka</li>
<li><a href="https://github.com/pallets/click/commit/5125851aaa19840c82b9811193b2c2d6cf245326"><code>5125851</code></a> Stop passing a deprecated command's help text through <code>gettext</code> (<a href="https://redirect.github.com/pallets/click/issues/3901">#3901</a>)</li>
<li><a href="https://github.com/pallets/click/commit/6d34602f4b0668a61873af1c547bfd40cb7deffc"><code>6d34602</code></a> Additional round-trip tests for <code>unstyle()</code> (<a href="https://redirect.github.com/pallets/click/issues/3899">#3899</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/pallets/click/compare/8.0.0...8.5.1">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: MohammadHaroonAbuomar Review duration: 15m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.59)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 94% · Reviewer familiarity: 35%
    59%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #4640"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 59.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 59.2% · Lower = rushed or shallow review
    59.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.2% · Safe to merge
    21.2%