chore(deps): update dependency click to v8.2.1 #7
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LibrePages/Infrastructure-as-Code#7
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "renovate/click-8.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==8.1.3
->==8.2.1
Release Notes
pallets/click (click)
v8.2.1
Compare Source
Released 2025-05-20
2894
:issue:
2897
:pr:2930
2906
:pr:2907
sys.stderr
at the end ofCliRunner.invoke
. :issue:2682
2787
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
v8.1.8
Compare Source
Released 2024-12-19
click.open_file()
. :issue:2717
click.Path
displays onmultiple lines. :issue:
2697
""
from being displayed inthe help for an option. :issue:
2500
:issue:
2705
default_map
.:issue:
2632
click.echo(color=...)
passingcolor
to coloroma so it can beforced on Windows. :issue:
2606
.:issue:
2638
help_option_names
setting torespect its eagerness. :pr:
2811
os.system
withsubprocess.Popen
. :issue:1476
color
setting when being displayed. :issue:
2193
:issue:
2452
--help
option to deduplicate code.:pr:
2563
CLIRunner
resets patched_compat.should_strip_ansi
.:issue:
2732
v8.1.7
Compare Source
Released 2023-08-17
2581
2574
2567
v8.1.6
Compare Source
Released 2023-07-18
@click.group()
. :issue:2558
v8.1.5
Compare Source
Released 2023-07-13
@click.command()
,@click.option()
, andother decorators. Introduce typing tests. :issue:
2558
v8.1.4
Compare Source
Released 2023-07-06
typing.Dict
occurrences totyping.MutableMapping
forparameter hints. :issue:
2255
:issue:
2398
shell_completion.add_completion_class
function. :pr:
2421
2461
.
) in the program name. :issue:2166
2268
click.clear()
. :issue:2284
2332
2368
fpath
. :issue:2344
.EOFError
andKeyboardInterrupt
tracebacks are not suppressed whenstandalone_mode
is disabled. :issue:2380
@group.command
does not fail if the group was created with a customcommand_class
. :issue:2416
multiple=True
is allowed for flag options again and does not requiresetting
default=()
. :issue:2246, 2292, 2295
@argument()
and@option()
reusable when thecls
parameter is used. :issue:2294
bytes with the replacement character (
�
). :issue:2395
2355
2554
echo()
does not fail when no streams are attached, such as withpythonw
onWindows. :issue:
2415
expose_value=False
do not cause completion to fail. :issue:2336
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.
This PR has been generated by Renovate Bot.
c1ca319a0a
tof8bd280802
chore(deps): update dependency click to v8.1.7to chore(deps): update dependency click to v8.1.8f8bd280802
toe8cfa2e112
chore(deps): update dependency click to v8.1.8to chore(deps): update dependency click to v8.2.0chore(deps): update dependency click to v8.2.0to chore(deps): update dependency click to v8.2.1e8cfa2e112
tod200c21381
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.