fix(deps): update machine-learning #16012
Merged
+158
−160
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:
0.115.6
->0.115.8
0.27.1
->0.28.1
2.32.6
->2.32.8
2.32.9
1.14.1
->1.15.0
3.10.14
->3.10.15
2.10.5
->2.10.6
0.25.2
->0.25.3
6ed5bff
->42420f7
adb581d
->14b4620
0.9.2
->0.9.4
0.9.6
(+1)Release Notes
fastapi/fastapi (fastapi)
v0.115.8
Compare Source
Fixes
OAuth2PasswordRequestForm
andOAuth2PasswordRequestFormStrict
fixedgrant_type
"password" RegEx. PR #9783 by @skarfie123.Refactors
APIKeyBase
super class. PR #3142 by @ShahriyarR.Docs
docs/en/docs/tutorial/extra-models.md
. PR #13061 by @timothy-jeong.tutorial002
to deal withtax=0
case. PR #13230 by @togogh.Translations
docs/ja/docs/environment-variables.md
. PR #13226 by @k94-ishi.docs/ru/docs/advanced/async-tests.md
. PR #13227 by @Rishat-F.docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #13252 by @Rishat-F.docs/ru/docs/tutorial/bigger-applications.md
. PR #13154 by @alv2017.Internal
>=3.2.1,<5.0.0
. PR #13273 by @tiangolo.notify_translations.py
empty env var handling for PR label events vs workflow_dispatch. PR #13272 by @tiangolo.scripts/notify_translations.py
, no need for a custom GitHub Action. PR #13270 by @tiangolo.v0.115.7
Compare Source
Upgrades
python-multipart
to >=0.0.18. PR #13219 by @DanielKusyDev.>=0.40.0,<0.46.0
. PR #13117 by @Kludex.jinja2
to >=3.1.5. PR #13194 by @DanielKusyDev.Refactors
Docs
fastapi-cli
UI examples in docs. PR #13107 by @Zhongheng-Cheng.docs/en/docs/virtual-environments.md
. PR #13124 by @tiangolo.docs/en/docs/contributing.md
. PR #12899 by @kingsubin.docs/en/docs/tutorial/sql-databases.md
. PR #13081 by @alv2017.docs/ru/docs/tutorial/query-param-models.md
. PR #12994 by @alejsdev.fastapi-cli
. PR #13031 by @tiangolo.Translations
docs/pt/docs/tutorial/request-forms.md
. PR #13216 by @Joao-Pedro-P-Holanda.docs/pt/docs/advanced/settings.md
. PR #13209 by @ceb10n.docs/pt/docs/tutorial/security/oauth2-jwt.md
. PR #13205 by @ceb10n.docs/id/docs/index.md
. PR #13191 by @gerry-sabar.docs/id/docs/tutorial/static-files.md
. PR #13092 by @guspan-tanadi.docs/pt/docs/tutorial/security/get-current-user.md
. PR #13188 by @ceb10n.docs/pt/docs/advanced/benchmarks.md
. PR #13187 by @ceb10n.docs/ru/docs/tutorial/security/first-steps.md
. PR #13159 by @Yarous.docs/ja/docs/tutorial/path-params-numeric-validations.md
. PR #12238 by @FakeDocument.docs/zh/docs/fastapi-cli.md
. PR #13102 by @Zhongheng-Cheng.docs/zh/docs/advanced/security/oauth2-scopes.md
. PR #13110 by @ChenPu2002.docs/id/docs/tutorial/path-params.md
. PR #13086 by @gerry-sabar.docs/ko/docs/tutorial/sql-databases.md
. PR #13093 by @GeumBinLee.docs/zh/docs/async.md
. PR #13095 by @Zhongheng-Cheng.docs/zh/docs/advanced/openapi-webhooks.md
. PR #13091 by @Zhongheng-Cheng.docs/zh/docs/advanced/async-tests.md
. PR #13074 by @Zhongheng-Cheng.docs/uk/docs/fastapi-cli.md
. PR #13020 by @ykertytsky.docs/zh/docs/advanced/events.md
. PR #12512 by @ZhibangYue./docs/ru/docs/tutorial/sql-databases.md
. PR #13079 by @alv2017.docs/zh/docs/advanced/testing-dependencies.md
. PR #13066 by @Zhongheng-Cheng.docs/zh-hant/docs/tutorial/index.md
. PR #13075 by @codingjenny.docs/zh/docs/tutorial/sql-databases.md
. PR #13051 by @Zhongheng-Cheng.docs/zh/docs/tutorial/query-params-str-validations.md
. PR #12928 by @Vincy1230.docs/zh/docs/tutorial/header-param-models.md
. PR #13040 by @Zhongheng-Cheng.docs/zh/docs/tutorial/path-params.md
. PR #12926 by @Vincy1230.docs/zh/docs/tutorial/first-steps.md
. PR #12923 by @Vincy1230.docs/ru/docs/deployment/docker.md
. PR #13048 by @anklav24.docs/pt/docs/advanced/generate-clients.md
. PR #13030 by @vitumenezes.docs/id/docs/tutorial/first-steps.md
. PR #13042 by @gerry-sabar.docs/zh/docs/tutorial/cookie-param-models.md
. PR #13038 by @Zhongheng-Cheng.docs/zh/docs/tutorial/request-form-models.md
. PR #13045 by @Zhongheng-Cheng.docs/ru/docs/virtual-environments.md
. PR #13026 by @alv2017.docs/ko/docs/tutorial/testing.md
. PR #12968 by @jts8257.docs/ko/docs/advanced/async-test.md
. PR #12918 by @icehongssii.docs/ru/docs/tutorial/security/oauth2-jwt.md
. PR #10601 by @AlertRED.docs/ru/docs/tutorial/security/simple-oauth2.md
. PR #10599 by @AlertRED.docs/ru/docs/tutorial/security/get-current-user.md
. PR #10594 by @AlertRED.docs/zh-hant/docs/features.md
. PR #12441 by @codingjenny.docs/zh-hant/docs/virtual-environments.md
. PR #12791 by @Vincy1230.docs/ko/docs/advanced/templates.md
. PR #12726 by @Heumhub.docs/ru/docs/fastapi-cli.md
. PR #13041 by @alv2017.docs/ko/docs/tutorial/cookie-param-models.md
. PR #13000 by @hard-coders.docs/ko/docs/tutorial/header-param-models.md
. PR #13001 by @hard-coders.docs/ko/docs/tutorial/request-form-models.md
. PR #13002 by @hard-coders.docs/ko/docs/tutorial/request-forms.md
. PR #13003 by @hard-coders.docs/ko/docs/resources/index.md
. PR #13004 by @hard-coders.docs/ko/docs/how-to/configure-swagger-ui.md
. PR #12898 by @nahyunkeem.docs/ko/docs/advanced/additional-status-codes.md
. PR #12715 by @nahyunkeem.docs/zh-hant/docs/tutorial/first-steps.md
. PR #12467 by @codingjenny.Internal
notify-translations.yml
. PR #12915 by @tinyboxvk.huggingface/huggingface_hub (huggingface-hub)
v0.28.1
: : FIX path inHF_ENDPOINT
discardedCompare Source
Release 0.28.0 introduced a bug making it impossible to set a
HF_ENDPOINT
env variable with a value with a subpath. This has been fixed in https://github.com/huggingface/huggingface_hub/pull/2807.Full Changelog: huggingface/huggingface_hub@v0.28.0...v0.28.1
v0.28.0
: [v0.28.0]: Third-party Inference Providers on the Hub & multiple quality of life improvements and bug fixesCompare Source
⚡️Unified Inference Across Multiple Inference Providers
The
InferenceClient
now supports third-party providers, offering a unified interface to run inference across multiple services while leveraging models from the Hugging Face Hub. This update enables developers to:A list of supported third-party providers can be found here.
Example of text-to-image inference with Replicate:
Another example of chat completion with Together AI:
When using external providers, you can choose between two access modes: either use the provider's native API key, as shown in the examples above, or route calls through Hugging Face infrastructure (billed to your HF account):
🔜 New providers/models/tasks will be added iteratively in the future.
👉 You can find a list of supported tasks per provider and more details here.
✨ HfApi
The following change aligns the client with server-side updates by adding new repositories properties:
usedStorage
andresourceGroup
.Extends empty commit prevention to file copy operations, preserving clean version histories when no changes are made.
🌐 📚 Documentation
Thanks to @WizKnight, the hindi translation is much better!
💔 Breaking changes
The
like
endpoint has been removed to prevent misuse. You can still remove existing likes using theunlike
endpoint.🛠️ Small fixes and maintenance
😌 QoL improvements
chat_completion()
'slogit_bias
as UNUSED by @hanouticelina in #2724py.typed
to be compliant with PEP-561 again by @hanouticelina in #2752🐛 Bug and typo fixes
typing.get_type_hints
call on aModelHubMixin
by @aliberts in #2729CardData.get()
to respect default values whenNone
by @hanouticelina in #2770🏗️ internal
RepoCard
test on Windows by @hanouticelina in #2774locustio/locust (locust)
v2.32.8
Compare Source
Fix a single broken link in the UI
Full Changelog: locustio/locust@2.32.7...2.32.8
v2.32.7
Compare Source
Full Changelog
Merged pull requests:
python/mypy (mypy)
v1.15.0
Compare Source
ijl/orjson (orjson)
v3.10.15
Compare Source
Changed
pydantic/pydantic (pydantic)
v2.10.6
Compare Source
GitHub release
What's Changed
Fixes
'examples'
keys by @Viicos in #11325pytest-dev/pytest-asyncio (pytest-asyncio)
v0.25.3
: pytest-asyncio 0.25.3Compare Source
astral-sh/ruff (ruff)
v0.9.4
Compare Source
Preview features
airflow
] Extend airflow context parameter check forBaseOperator.execute
(AIR302
) (#15713)airflow
] UpdateAIR302
to check for deprecated context keys (#15144)flake8-bandit
] Permit suspicious imports within stub files (S4
) (#15822)pylint
] Do not triggerPLR6201
on empty collections (#15732)refurb
] Do not emit diagnostic when loop variables are used outside loop body (FURB122
) (#15757)ruff
] Add support for morere
patterns (RUF055
) (#15764)ruff
] Check for shadowedmap
before suggesting fix (RUF058
) (#15790)ruff
] Do not emit diagnostic when all arguments tozip()
are variadic (RUF058
) (#15744)ruff
] Parenthesize fix when argument spans multiple lines forunnecessary-round
(RUF057
) (#15703)Rule changes
flake8-bugbear
] ExemptNewType
calls where the original type is immutable (B008
) (#15765)pylint
] Honor banned top-level imports byTID253
inPLC0415
. (#15628)pyupgrade
] Ignoreis_typeddict
andTypedDict
fordeprecated-import
(UP035
) (#15800)CLI
flake8-quotes
option (#15788)ruff config
(#15603)Bug fixes
flake8-comprehensions
] Do not emitunnecessary-map
diagnostic when lambda has different arity (C417
) (#15802)flake8-comprehensions
] Parenthesizesorted
when needed forunnecessary-call-around-sorted
(C413
) (#15825)pyupgrade
] Handle end-of-line comments forquoted-annotation
(UP037
) (#15824)Documentation
trio.run_process
andanyio.run_process
(#15761)uv init --lib
in tutorial (#15718)v0.9.3
Compare Source
Preview features
airflow
] Argumentfail_stop
in DAG has been renamed asfail_fast
(AIR302
) (#15633)airflow
] ExtendAIR303
with more symbols (#15611)flake8-bandit
] Report all references to suspicious functions (S3
) (#15541)flake8-pytest-style
] Do not emit diagnostics for emptyfor
loops (PT012
,PT031
) (#15542)flake8-simplify
] Avoid double negations (SIM103
) (#15562)pyflakes
] Fix infinite loop with unused local import in__init__.py
(F401
) (#15517)pylint
] Do not report methods with only oneEM101
-compatibleraise
(PLR6301
) (#15507)pylint
] Implementredefined-slots-in-subclass
(W0244
) (#9640)pyupgrade
] Add rules to use PEP 695 generics in classes and functions (UP046
,UP047
) (#15565, #15659)refurb
] Implementfor-loop-writes
(FURB122
) (#10630)ruff
] Implementneedless-else
clause (RUF047
) (#15051)ruff
] Implementstarmap-zip
(RUF058
) (#15483)Rule changes
flake8-bugbear
] Do not raise error if keyword argument is present and target-python version is less or equals than 3.9 (B903
) (#15549)flake8-comprehensions
] strip parentheses around generators inunnecessary-generator-set
(C401
) (#15553)flake8-pytest-style
] Rewrite references to.exception
(PT027
) (#15680)flake8-simplify
] Mark fixes as unsafe (SIM201
,SIM202
) (#15626)flake8-type-checking
] Fix some safe fixes being labeled unsafe (TC006
,TC008
) (#15638)isort
] Omit trailing whitespace inunsorted-imports
(I001
) (#15518)pydoclint
] Allow ignoring one line docstrings forDOC
rules (#13302)pyflakes
] Apply redefinition fixes by source code order (F811
) (#15575)pyflakes
] Avoid removing too many imports inredefined-while-unused
(F811
) (#15585)pyflakes
] Group redefinition fixes by source statement (F811
) (#15574)pylint
] Include name of base class in message forredefined-slots-in-subclass
(W0244
) (#15559)ruff
] Update fix forRUF055
to usevar == value
(#15605)Formatter
Performance
Server
unsafe-fixes
settings for code actions (#15666)Bug fixes
flake8-bandit
] Add missing single-line/dotall regex flag (S608
) (#15654)flake8-import-conventions
] Fix infinite loop betweenICN001
andI002
(ICN001
) (#15480)flake8-simplify
] Do not emit diagnostics for expressions inside string type annotations (SIM222
,SIM223
) (#15405)pyflakes
] Treat arguments passed to thedefault=
parameter ofTypeVar
as type expressions (F821
) (#15679)pyupgrade
] Avoid syntax error when the iterable is a non-parenthesized tuple (UP028
) (#15543)ruff
] ExemptNewType
calls where the original type is immutable (RUF009
) (#15588)Documentation
TRY300
: Add some extra notes on not catching exceptions you didn't expect (#15036)Configuration
📅 Schedule: Branch creation - "on tuesday" (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.