chore(deps): update all dependencies #2391
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==8.1.8
->==8.2.0
==1.2.2
->==1.3.0
==2.40.0
->==2.40.1
3.10
->3.13
22.04
->24.04
Release Notes
pallets/click (click)
v8.2.0
Compare Source
Released 2025-05-10
Drop support for Python 3.7, 3.8, and 3.9. :pr:
2588
:pr:2893
Use modern packaging metadata with
pyproject.toml
instead ofsetup.cfg
.:pr:
2438
Use
flit_core
instead ofsetuptools
as build backend. :pr:2543
Deprecate the
__version__
attribute. Use feature detection, orimportlib.metadata.version("click")
, instead. :issue:2598
BaseCommand
is deprecated.Command
is the base class for allcommands. :issue:
2589
MultiCommand
is deprecated.Group
is the base class for all groupcommands. :issue:
2590
The current parser and related classes and methods, are deprecated.
:issue:
2205
OptionParser
and theparser
module, which is a modified copy ofoptparse
in the standard library.Context.protected_args
is unneeded.Context.args
contains anyremaining arguments while parsing.
Parameter.add_to_parser
(on bothArgument
andOption
) isunneeded. Parsing works directly without building a separate parser.
split_arg_string
is moved fromparser
toshell_completion
.Enable deferred evaluation of annotations with
from __future__ import annotations
. :pr:2270
When generating a command's name from a decorated function's name, the
suffixes
_command
,_cmd
,_group
, and_grp
are removed.:issue:
2322
Show the
types.ParamType.name
fortypes.Choice
options within--help
message ifshow_choices=False
is specified.:issue:
2356
Do not display default values in prompts when
Option.show_default
isFalse
. :pr:2509
Add
get_help_extra
method onOption
to fetch the generated extraitems used in
get_help_record
to render help text. :issue:2516
:pr:
2517
Keep stdout and stderr streams independent in
CliRunner
. Alwayscollect stderr output and never raise an exception. Add a new
output stream to simulate what the user sees in its terminal. Removes
the
mix_stderr
parameter inCliRunner
. :issue:2522
:pr:2523
Option.show_envvar
now also shows environment variable in error messages.:issue:
2695
:pr:2696
Context.close
will be called on exit. This results in allContext.call_on_close
callbacks and context managers added viaContext.with_resource
to be closed on exit as well. :pr:2680
Add
ProgressBar(hidden: bool)
to allow hiding the progressbar. :issue:2609
A
UserWarning
will be shown when multiple parameters attempt to use thesame name. :issue:
2396
When using
Option.envvar
withOption.flag_value
, theflag_value
will always be used instead of the value of the environment variable.
:issue:
2746
:pr:2788
Add
Choice.get_invalid_choice_message
method for customizing theinvalid choice message. :issue:
2621
:pr:2622
If help is shown because
no_args_is_help
is enabled (defaults toTrue
for groups,
False
for commands), the exit code is 2 instead of 0.:issue:
1489
:pr:1489
Contexts created during shell completion are closed properly, fixing
a
ResourceWarning
when usingclick.File
. :issue:2644
:pr:2800
:pr:
2767
click.edit(filename)
now supports passing an iterable of filenames incase the editor supports editing multiple files at once. Its return type
is now also typed:
AnyStr
iftext
is passed, otherwiseNone
.:issue:
2067
:pr:2068
Specialized typing of
progressbar(length=...)
asProgressBar[int]
.:pr:
2630
Improve
echo_via_pager
behaviour in face of errors.:issue:
2674
echo_via_pager
raises an exception.
to terminate.
echo_via_pager
will not ignoreKeyboardInterrupt
anymore. Thisallows the user to search for future output of the generator when
using less and then aborting the program using ctrl-c.
deprecated: bool | str
can now be used on options and arguments. Thispreviously was only available for
Command
. The message can now also becustomised by using a
str
instead of abool
. :issue:2263
:pr:2271
Command.deprecated
formatting in--help
changed from(Deprecated) help
tohelp (DEPRECATED)
.Add a
catch_exceptions
parameter toCliRunner
. Ifcatch_exceptions
is not passed toCliRunner.invoke
, the valuefrom
CliRunner
is used. :issue:2817
:pr:2818
Option.flag_value
will no longer have a default value set based onOption.default
ifOption.is_flag
isFalse
. This results inOption.default
not needing to implement__bool__
. :pr:2829
Incorrect
click.edit
typing has been corrected. :pr:2804
Choice
is now generic and supports any iterable value.This allows you to use enums and other non-
str
values. :pr:2796
:issue:
605
Fix setup of help option's defaults when using a custom class on its
decorator. Removes
HelpOption
. :issue:2832
:pr:2840
agronholm/exceptiongroup (exceptiongroup)
v1.3.0
Compare Source
**kwargs
to function and method signatures as appropriate to match the signatures in the standard library(Base)ExceptionGroup
generic types to define defaults for their generic arguments (defaulting toBaseExceptionGroup[BaseException]
andExceptionGroup[Exception]
) (PR by @mikenerone)BaseExceptionGroup.__init__()
to directly callBaseException.__init__()
instead of the superclass__init__()
in order to emulate the CPython behavior (broken or not) (PR by @cfbolz)exceptions
attribute to always return the same tuple of exceptions, created from the original exceptions sequence passed toBaseExceptionGroup
to match CPython behavior (#143)googleapis/google-auth-library-python (google-auth)
v2.40.1
Compare Source
Bug Fixes
actions/python-versions (python)
v3.13.3
: 3.13.3Compare Source
Python 3.13.3
v3.13.2
: 3.13.2Compare Source
Python 3.13.2
v3.13.1
: 3.13.1Compare Source
Python 3.13.1
v3.13.0
: 3.13.0Compare Source
Python 3.13.0
v3.12.10
: 3.12.10Compare Source
Python 3.12.10
v3.12.9
: 3.12.9Compare Source
Python 3.12.9
v3.12.8
: 3.12.8Compare Source
Python 3.12.8
v3.12.7
: 3.12.7Compare Source
Python 3.12.7
v3.12.6
: 3.12.6Compare Source
Python 3.12.6
v3.12.5
: 3.12.5Compare Source
Python 3.12.5
v3.12.4
: 3.12.4Compare Source
Python 3.12.4
v3.12.3
: 3.12.3Compare Source
Python 3.12.3
v3.12.2
: 3.12.2Compare Source
Python 3.12.2
v3.12.1
: 3.12.1Compare Source
Python 3.12.1
v3.12.0
: 3.12.0Compare Source
Python 3.12.0
v3.11.12
: 3.11.12Compare Source
Python 3.11.12
v3.11.11
: 3.11.11Compare Source
Python 3.11.11
v3.11.10
: 3.11.10Compare Source
Python 3.11.10
v3.11.9
: 3.11.9Compare Source
Python 3.11.9
v3.11.8
: 3.11.8Compare Source
Python 3.11.8
v3.11.7
: 3.11.7Compare Source
Python 3.11.7
v3.11.6
: 3.11.6Compare Source
Python 3.11.6
v3.11.5
: 3.11.5Compare Source
Python 3.11.5
v3.11.4
: 3.11.4Compare Source
Python 3.11.4
v3.11.3
: 3.11.3Compare Source
Python 3.11.3
v3.11.2
: 3.11.2Compare Source
Python 3.11.2
v3.11.1
: 3.11.1Compare Source
Python 3.11.1
v3.11.0
: 3.11.0Compare Source
Python 3.11.0
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.