Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency click to >=8.1,<8.2 #983

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
click (changelog) >=8.0,<8.1 -> >=8.1,<8.2 age adoption passing confidence

Release Notes

pallets/click (click)

v8.1.8

Compare Source

Unreleased

  • Fix an issue with type hints for click.open_file(). :issue:2717
  • Fix issue where error message for invalid click.Path displays on
    multiple lines. :issue:2697
  • Fixed issue that prevented a default value of "" from being displayed in
    the help for an option. :issue:2500
  • The test runner handles stripping color consistently on Windows.
    :issue:2705
  • Show correct value for flag default when using default_map.
    :issue:2632
  • Fix click.echo(color=...) passing color to coloroma so it can be
    forced on Windows. :issue:2606.

v8.1.7

Compare Source

Released 2023-08-17

  • Fix issue with regex flags in shell completion. :issue:2581
  • Bash version detection issues a warning instead of an error. :issue:2574
  • Fix issue with completion script for Fish shell. :issue:2567

v8.1.6

Compare Source

Released 2023-07-18

  • Fix an issue with type hints for @click.group(). :issue:2558

v8.1.5

Compare Source

Released 2023-07-13

  • Fix an issue with type hints for @click.command(), @click.option(), and
    other decorators. Introduce typing tests. :issue:2558

v8.1.4

Compare Source

Released 2023-07-06

  • Replace all typing.Dict occurrences to typing.MutableMapping for
    parameter hints. :issue:2255
  • Improve type hinting for decorators and give all generic types parameters.
    :issue:2398
  • Fix return value and type signature of shell_completion.add_completion_class
    function. :pr:2421
  • Bash version detection doesn't fail on Windows. :issue:2461
  • Completion works if there is a dot (.) in the program name. :issue:2166
  • Improve type annotations for pyright type checker. :issue:2268
  • Improve responsiveness of click.clear(). :issue:2284
  • Improve command name detection when using Shiv or PEX. :issue:2332
  • Avoid showing empty lines if command help text is empty. :issue:2368
  • ZSH completion script works when loaded from fpath. :issue:2344.
  • EOFError and KeyboardInterrupt tracebacks are not suppressed when
    standalone_mode is disabled. :issue:2380
  • @group.command does not fail if the group was created with a custom
    command_class. :issue:2416
  • multiple=True is allowed for flag options again and does not require
    setting default=(). :issue:2246, 2292, 2295
  • Make the decorators returned by @argument() and @option() reusable when the
    cls parameter is used. :issue:2294
  • Don't fail when writing filenames to streams with strict errors. Replace invalid
    bytes with the replacement character (). :issue:2395
  • Remove unnecessary attempt to detect MSYS2 environment. :issue:2355
  • Remove outdated and unnecessary detection of App Engine environment. :pr:2554
  • echo() does not fail when no streams are attached, such as with pythonw on
    Windows. :issue:2415
  • Argument with expose_value=False do not cause completion to fail. :issue:2336

v8.1.3

Compare Source

Released 2022-04-28

  • Use verbose form of typing.Callable for @command and
    @group. :issue:2255
  • Show error when attempting to create an option with
    multiple=True, is_flag=True. Use count instead.
    :issue:2246

v8.1.2

Compare Source

Released 2022-03-31

  • Fix error message for readable path check that was mixed up with the
    executable check. :pr:2236
  • Restore parameter order for Path, placing the executable
    parameter at the end. It is recommended to use keyword arguments
    instead of positional arguments. :issue:2235

v8.1.1

Compare Source

Released 2022-03-30

  • Fix an issue with decorator typing that caused type checking to
    report that a command was not callable. :issue:2227

v8.1.0

Compare Source

Released 2022-03-28

  • Drop support for Python 3.6. :pr:2129

  • Remove previously deprecated code. :pr:2130

    • Group.resultcallback is renamed to result_callback.
    • autocompletion parameter to Command is renamed to
      shell_complete.
    • get_terminal_size is removed, use
      shutil.get_terminal_size instead.
    • get_os_args is removed, use sys.argv[1:] instead.
  • Rely on :pep:538 and :pep:540 to handle selecting UTF-8 encoding
    instead of ASCII. Click's locale encoding detection is removed.
    :issue:2198

  • Single options boolean flags with show_default=True only show
    the default if it is True. :issue:1971

  • The command and group decorators can be applied with or
    without parentheses. :issue:1359

  • The Path type can check whether the target is executable.
    :issue:1961

  • Command.show_default overrides Context.show_default, instead
    of the other way around. :issue:1963

  • Parameter decorators and @group handles cls=None the same as
    not passing cls. @option handles help=None the same as
    not passing help. :issue:#1959

  • A flag option with required=True requires that the flag is
    passed instead of choosing the implicit default value. :issue:1978

  • Indentation in help text passed to Option and Command is
    cleaned the same as using the @option and @command
    decorators does. A command's epilog and short_help are also
    processed. :issue:1985

  • Store unprocessed Command.help, epilog and short_help
    strings. Processing is only done when formatting help text for
    output. :issue:2149

  • Allow empty str input for prompt() when
    confirmation_prompt=True and default="". :issue:2157

  • Windows glob pattern expansion doesn't fail if a value is an invalid
    pattern. :issue:2195

  • It's possible to pass a list of params to @command. Any
    params defined with decorators are appended to the passed params.
    :issue:2131.

  • @command decorator is annotated as returning the correct type if
    a cls argument is used. :issue:2211

  • A Group with invoke_without_command=True and chain=False
    will invoke its result callback with the group function's return
    value. :issue:2124

  • to_info_dict will not fail if a ParamType doesn't define a
    name. :issue:2168

  • Shell completion prioritizes option values with option prefixes over
    new options. :issue:2040

  • Options that get an environment variable value using
    autoenvvar_prefix treat an empty value as None, consistent
    with a direct envvar. :issue:2146


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

coderabbitai bot commented Feb 7, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

sonarqubecloud bot commented Feb 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants