[PIP] Bump the pip group with 2 updates
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(about 1 year ago)
(about 1 year ago)
dependencies python
Bumps the pip group with 2 updates: click and setuptools.
Updates click from 8.1.8 to 8.2.0
Release notes
Sourced from click's releases.
8.2.0
This is the Click 8.2.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecation, or introduce potentially breaking changes.
We encourage everyone to upgrade. You can read more about our Version Support Policy on our website.
PyPI: https://pypi.org/project/click/8.2.0/ Changes: https://click.palletsprojects.com/en/stable/changes/ Milestone https://github.com/pallets/click/milestone/15
- Drop support for Python 3.7. #2588, #2893
- Use modern packaging metadata with
pyproject.tomlinstead ofsetup.cfg. #2438- Use
flit_coreinstead ofsetuptoolsas build backend. #2543- Deprecate the
__version__attribute. Use feature detection, orimportlib.metadata.version("click"), instead. #2598BaseCommandis deprecated.Commandis the base class for all commands. #2589MultiCommandis deprecated.Groupis the base class for all group commands. #2590- The current parser and related classes and methods, are deprecated. #2205
OptionParserand theparsermodule, which is a modified copy ofoptparsein the standard library.Context.protected_argsis unneeded.Context.argscontains any remaining arguments while parsing.Parameter.add_to_parser(on bothArgumentandOption) is unneeded. Parsing works directly without building a separate parser.split_arg_stringis moved fromparsertoshell_completion.- Enable deferred evaluation of annotations with
from __future__ import annotations. #2270- When generating a command's name from a decorated function's name, the suffixes
_command,_cmd,_group, and_grpare removed. #2322- Show the
types.ParamType.namefortypes.Choiceoptions within--helpmessage ifshow_choices=Falseis specified. #2356- Do not display default values in prompts when
Option.show_defaultisFalse. #2509- Add
get_help_extramethod onOptionto fetch the generated extra items used inget_help_recordto render help text. #2516 #2517- Keep stdout and stderr streams independent in
CliRunner. Always collect stderr output and never raise an exception. Add a new output stream to simulate what the user sees in its terminal. Removes themix_stderrparameter inCliRunner. #2522 #2523Option.show_envvarnow also shows environment variable in error messages. #2695 #2696Context.closewill be called on exit. This results in allContext.call_on_closecallbacks and context managers added viaContext.with_resourceto be closed on exit as well. #2680- Add
ProgressBar(hidden: bool)to allow hiding the progressbar. #2609- A
UserWarningwill be shown when multiple parameters attempt to use the same name. #2396- When using
Option.envvarwithOption.flag_value, theflag_valuewill always be used instead of the value of the environment variable. #2746 #2788- Add
Choice.get_invalid_choice_messagemethod for customizing the invalid choice message. #2621 #2622- If help is shown because
no_args_is_helpis enabled (defaults toTruefor groups,Falsefor commands), the exit code is 2 instead of 0. #1489 #1489- Contexts created during shell completion are closed properly, fixing a
ResourceWarningwhen usingclick.File. #2644 #2800 #2767click.edit(filename)now supports passing an iterable of filenames in case the editor supports editing multiple files at once. Its return type is now also typed:AnyStriftextis passed, otherwiseNone. #2067 #2068- Specialized typing of
progressbar(length=...)asProgressBar[int]. #2630- Improve
echo_via_pagerbehaviour in face of errors. #2674
- Terminate the pager in case a generator passed to
echo_via_pagerraises an exception.- Ensure to always close the pipe to the pager process and wait for it to terminate.
echo_via_pagerwill not ignoreKeyboardInterruptanymore. This allows the user to search for future output of the generator when using less and then aborting the program using ctrl-c.deprecated: bool | strcan now be used on options and arguments. This previously was only available forCommand. The message can now also be customised by using astrinstead of abool. #2263 #2271
Command.deprecatedformatting in--helpchanged from(Deprecated) helptohelp (DEPRECATED).- Parameters cannot be required nor prompted or an error is raised.
- A warning will be printed when something deprecated is used.
- Add a
catch_exceptionsparameter toCliRunner. Ifcatch_exceptionsis not passed toCliRunner.invoke, the value fromCliRunneris used. #2817 #2818Option.flag_valuewill no longer have a default value set based onOption.defaultifOption.is_flagisFalse. This results inOption.defaultnot needing to implement__bool__. #2829- Incorrect
click.edittyping has been corrected. #2804
... (truncated)
Changelog
Sourced from click's changelog.
Version 8.2.0
Released 2025-05-10
Drop support for Python 3.7, 3.8, and 3.9. :pr:
2588:pr:2893Use modern packaging metadata with
pyproject.tomlinstead ofsetup.cfg. :pr:2438Use
flit_coreinstead ofsetuptoolsas build backend. :pr:2543Deprecate the
__version__attribute. Use feature detection, orimportlib.metadata.version("click"), instead. :issue:2598
BaseCommandis deprecated.Commandis the base class for all commands. :issue:2589
MultiCommandis deprecated.Groupis the base class for all group commands. :issue:2590The current parser and related classes and methods, are deprecated. :issue:
2205
OptionParserand theparsermodule, which is a modified copy ofoptparsein the standard library.Context.protected_argsis unneeded.Context.argscontains any remaining arguments while parsing.Parameter.add_to_parser(on bothArgumentandOption) is unneeded. Parsing works directly without building a separate parser.split_arg_stringis moved fromparsertoshell_completion.Enable deferred evaluation of annotations with
from __future__ import annotations. :pr:2270When generating a command's name from a decorated function's name, the suffixes
_command,_cmd,_group, and_grpare removed. :issue:2322Show the
types.ParamType.namefortypes.Choiceoptions within--helpmessage ifshow_choices=Falseis specified. :issue:2356Do not display default values in prompts when
Option.show_defaultisFalse. :pr:2509Add
get_help_extramethod onOptionto fetch the generated extra items used inget_help_recordto render help text. :issue:2516:pr:2517Keep stdout and stderr streams independent in
CliRunner. Always collect stderr output and never raise an exception. Add a new output stream to simulate what the user sees in its terminal. Removes themix_stderrparameter inCliRunner. :issue:2522:pr:2523
Option.show_envvarnow also shows environment variable in error messages. :issue:2695:pr:2696
Context.closewill be called on exit. This results in allContext.call_on_closecallbacks and context managers added viaContext.with_resourceto be closed on exit as well. :pr:2680Add
ProgressBar(hidden: bool)to allow hiding the progressbar. :issue:2609A
UserWarningwill be shown when multiple parameters attempt to use the
... (truncated)
Commits
219206arelease version 8.2.0498f882drop end of life python versions (#2893)ba770cbdrop end of life python versionsf14b750update dev dependencies9982faeUpdate CHANGES.rst7318f5fUpdate CHANGES.rstb7c0ab4Mergestableintomain; Release 8.2.0 (#2873)c9b96feMerge branch 'main' into mainab21233Rewrite second half of options docs (#2848)8c89a14Merge branch 'main' into options_docs_2- Additional commits viewable in compare view
Updates setuptools from 80.3.1 to 80.4.0
Changelog
Sourced from setuptools's changelog.
v80.4.0
Features
- Simplified the error reporting in editable installs. (#4984)
Commits
a82f96dBump version: 80.3.1 → 80.4.0aa4bdf8Merge pull request #4985 from pypa/feature/user-focused-editable-installsaf2f2baAdd news fragment.bcc23a2Implement the editable debugging tips as a reference to the docs.aa911c6By default, provide a much more concise error message.- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
1
+2
-2
Package Dependencies
Technical Details
| ID: | 152184 |
| UUID: | 2511892561 |
| Node ID: | PR_kwDOOZgZRc6VuHBR |
| Host: | GitHub |
| Repository: | tagdots-dev/python-test |
| Merge State: | Unknown |