Bump the dependencies group across 1 directory with 4 updates
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(about 1 year ago)
(about 1 year ago)
(about 1 year ago)
dependencies python
Bumps the dependencies group with 4 updates in the / directory: click, ruff, pyarrow-stubs and datasets.
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, 3.8,and 3.9. #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 ruff from 0.11.7 to 0.11.9
Release notes
Sourced from ruff's releases.
0.11.9
Release Notes
Preview features
- Default to latest supported Python version for version-related syntax errors (#17529)
- Implement deferred annotations for Python 3.14 (#17658)
- [
airflow] FixSQLTableCheckOperatortypo (AIR302) (#17946)- [
airflow] Removeairflow.utils.dag_parsing_context.get_parsing_context(AIR301) (#17852)- [
airflow] Skip attribute check in try catch block (AIR301) (#17790)- [
flake8-bandit] Mark tuples of string literals as trusted input inS603(#17801)- [
isort] Check full module path against project root(s) when categorizing first-party imports (#16565)- [
ruff] Add new rulein-empty-collection(RUF060) (#16480)Bug fixes
- Fix missing
combinecall forlint.typing-extensionssetting (#17823)- [
flake8-async] Fix module name inASYNC110,ASYNC115, andASYNC116fixes (#17774)- [
pyupgrade] Add spaces between tokens as necessary to avoid syntax errors inUP018autofix (#17648)- [
refurb] Fix false positive for float and complex numbers inFURB116(#17661)- [parser] Flag single unparenthesized generator expr with trailing comma in arguments. (#17893)
Documentation
- Add instructions on how to upgrade to a newer Rust version (#17928)
- Update code of conduct email address (#17875)
- Add fix safety sections to
PLC2801,PLR1722, andRUF013(#17825, #17826, #17759)- Add link to
check-typed-exceptionfromS110andS112(#17786)Other changes
- Allow passing a virtual environment to
ruff analyze graph(#17743)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.11.9
Preview features
- Default to latest supported Python version for version-related syntax errors (#17529)
- Implement deferred annotations for Python 3.14 (#17658)
- [
airflow] FixSQLTableCheckOperatortypo (AIR302) (#17946)- [
airflow] Removeairflow.utils.dag_parsing_context.get_parsing_context(AIR301) (#17852)- [
airflow] Skip attribute check in try catch block (AIR301) (#17790)- [
flake8-bandit] Mark tuples of string literals as trusted input inS603(#17801)- [
isort] Check full module path against project root(s) when categorizing first-party imports (#16565)- [
ruff] Add new rulein-empty-collection(RUF060) (#16480)Bug fixes
- Fix missing
combinecall forlint.typing-extensionssetting (#17823)- [
flake8-async] Fix module name inASYNC110,ASYNC115, andASYNC116fixes (#17774)- [
pyupgrade] Add spaces between tokens as necessary to avoid syntax errors inUP018autofix (#17648)- [
refurb] Fix false positive for float and complex numbers inFURB116(#17661)- [parser] Flag single unparenthesized generator expr with trailing comma in arguments. (#17893)
Documentation
- Add instructions on how to upgrade to a newer Rust version (#17928)
- Update code of conduct email address (#17875)
- Add fix safety sections to
PLC2801,PLR1722, andRUF013(#17825, #17826, #17759)- Add link to
check-typed-exceptionfromS110andS112(#17786)Other changes
- Allow passing a virtual environment to
ruff analyze graph(#17743)0.11.8
Preview features
- [
airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302,AIR311) (#17553, #17570, #17571)- [
airflow] ExtendAIR301rule (#17598)- [
airflow] Update existingAIR302rules with better suggestions (#17542)- [
refurb] Mark fix as safe forreadlines-in-for(FURB129) (#17644)- [syntax-errors]
nonlocaldeclaration at module level (#17559)- [syntax-errors] Detect single starred expression assignment
x = *y(#17624)Bug fixes
- [
flake8-pyi] EnsureLiteral[None,] | Literal[None,]is not autofixed toNone | None(PYI061) (#17659)- [
flake8-use-pathlib] Avoid suggestingPath.iterdir()foros.listdirwith file descriptor (PTH208) (#17715)- [
flake8-use-pathlib] FixPTH104false positive whenrenameis passed a file descriptor (#17712)- [
flake8-use-pathlib] FixPTH116false positive whenstatis passed a file descriptor (#17709)- [
flake8-use-pathlib] FixPTH123false positive whenopenis passed a file descriptor from a function call (#17705)
... (truncated)
Commits
2370297Bump 0.11.9 (#17986)a137cb1[ty] Display "All checks passed!" message in green (#17982)03a4d56[ty] Change range ofrevealed-typediagnostic to be the range of the argume...642eac4[ty] Recursive protocols (#17929)c1b8757[ty] CLI reference (#17978)6cd8a49[ty] Update salsa (#17964)12ce445[ty] Document configuration schema (#17950)f46ed8d[ty] Add --config CLI arg (#17697)6c177e2[ty] primer updates (#17903)3d2485e[ty] fix more ecosystem/fuzzer panics with fixpoint (#17758)- Additional commits viewable in compare view
Updates pyarrow-stubs from 19.2 to 19.3
Release notes
Sourced from pyarrow-stubs's releases.
19.3
What's Changed
- fix: Add missing
DictionaryArraymethods/properties by@dangotbannedin zen-xu/pyarrow-stubs#226- chore: use pyright as static type checker by
@zen-xuin zen-xu/pyarrow-stubs#227- fix: Match runtime behavior of
(Table|RecordBatch).selectby@dangotbannedin zen-xu/pyarrow-stubs#221- feat: narrow scalar when type is given by
@zen-xuin zen-xu/pyarrow-stubs#230Full Changelog: https://github.com/zen-xu/pyarrow-stubs/compare/19.2...19.3
Commits
8a2c164release 19.3 (#231)1fa9b2bfeat: narrow scalar when type is given (#230)1163c93[pre-commit.ci] pre-commit autoupdate (#220)e8a6014fix: Match runtime behavior of(Table|RecordBatch).select(#221)dcadf97fix: fix pyright action (#229)a4aa0c8chore: use pyright as static type checker (#227)59bf9e0fix: Add missingDictionaryArraymethods/properties (#226)- See full diff in compare view
Updates datasets from 3.5.1 to 3.6.0
Release notes
Sourced from datasets's releases.
3.6.0
Dataset Features
- Enable xet in push to hub by
@lhoestqin huggingface/datasets#7552
- Faster downloads/uploads with Xet storage
- more info: huggingface/datasets#7526
Other improvements and bug fixes
- Add try_original_type to DatasetDict.map by
@yoshitomo-matsubarain huggingface/datasets#7544- Avoid global umask for setting file mode. by
@ryan-clancyin huggingface/datasets#7547- Rebatch arrow iterables before formatted iterable by
@lhoestqin huggingface/datasets#7553- Document the HF_DATASETS_CACHE environment variable in the datasets cache documentation by
@Harry-Yang0518in huggingface/datasets#7532- fix regression by
@lhoestqin huggingface/datasets#7558- fix: Image Feature in Datasets Library Fails to Handle bytearray Objects from Spark DataFrames (#7517) by
@giraffacarpin huggingface/datasets#7521- Remove
aiohttpfrom direct dependencies by@akxin huggingface/datasets#7294New Contributors
@ryan-clancymade their first contribution in huggingface/datasets#7547@Harry-Yang0518made their first contribution in huggingface/datasets#7532@giraffacarpmade their first contribution in huggingface/datasets#7521@akxmade their first contribution in huggingface/datasets#7294Full Changelog: https://github.com/huggingface/datasets/compare/3.5.1...3.6.0
Commits
458f45arelease: 3.6.0 (#7562)7b215a3fix decoding tests (#7560)e914f5ffix aiohttp import (#7559)a6461e9Removeaiohttpfrom direct dependencies (#7294)22f62f6fix: Image Feature in Datasets Library Fails to Handle bytearray Objects from...83cc147fix regression (#7558)b1bfe15Document the HF_DATASETS_CACHE environment variable in the datasets cache doc...8874b25Rebatch arrow iterables before formatted iterable (#7553)67907b1Avoid global umask for setting file mode. (#7547)644fd5dEnable xet in push to hub (#7552)- Additional commits viewable in compare view
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 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
+131
-47
Package Dependencies
Technical Details
| ID: | 246299 |
| UUID: | 2512652921 |
| Node ID: | PR_kwDOJTM5O86VxAp5 |
| Host: | GitHub |
| Repository: | togethercomputer/together-python |
| Mergeable: | Yes |
| Merge State: | Unstable |
| Rebaseable: | Yes |