fix(deps): update python: non-major updates #266
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.123.3→==0.128.0==3.1.45→==3.1.46==4.5.0→==4.5.1==0.14.7→==0.14.11==25.1.0→==25.2.0==0.0.1a29→==0.0.10==0.38.0→==0.40.0Release Notes
fastapi/fastapi (fastapi)
v0.128.0Compare Source
Breaking Changes
pydantic.v1. PR #14609 by @tiangolo.Internal
v0.127.1Compare Source
Refactors
FastAPIDeprecationWarning. PR #14605 by @tiangolo.Docs
Translations
Internal
lintjob fromtestCI workflow. PR #14593 by @YuriiMotov.v0.127.0Compare Source
Breaking Changes
pydantic.v1. PR #14583 by @tiangolo.Translations
Internal
v0.126.0Compare Source
Upgrades
pydantic.v1. PR #14575 by @tiangolo.pydantic >=2.7.0.standarddependencies now includepydantic-settings >=2.0.0andpydantic-extra-types >=2.0.0.Docs
docs_src/python_types/tutorial005_py39.py. PR #14565 by @paras-verma7454.Translations
Internal
v0.125.0Compare Source
Breaking Changes
Refactors
Docs
Translations
Internal
markdown-include-variantsfrom 0.0.7 to 0.0.8. PR #14556 by @YuriiMotov.v0.124.4Compare Source
Fixes
v0.124.3Compare Source
Fixes
AnnotatedwithBody(). PR #14512 by @tiangolo.Refactors
Docs
Translations
Internal
v0.124.2Compare Source
Fixes
if TYPE_CHECKING, non-evaluated stringified annotations. PR #14485 by @tiangolo.v0.124.1Compare Source
Fixes
arbitrary_types_allowed=True. PR #14482 by @tiangolo.Docs
Internal
__annotations__. PR #14477 by @tiangolo.v0.124.0Compare Source
Features
Internal
scripts/mkdocs_hooks.py. PR #14457 by @yujiteshima.v0.123.10Compare Source
Fixes
__call__method. PR #14458 by @YuriiMotov.separate_input_output_schemas=Falsewithcomputed_field. PR #14453 by @YuriiMotov.v0.123.9Compare Source
v0.123.8Compare Source
Fixes
v0.123.7Compare Source
Fixes
v0.123.6Compare Source
Fixes
v0.123.5Compare Source
Features
functools.partial(). PR #9753 by @lieryan.@functools.wraps()) used with forward references. PR #5077 by @lucaswiman.Fixes
Refactors
is_coroutinecheck to reuse internal supported variants (unwrap, check class). PR #14434 by @tiangolo.Translations
v0.123.4Compare Source
Fixes
separate_input_output_schemas=False. PR #13207 by @vgrafe.Docs
serversparameter. PR #14405 by @YuriiMotov.gitpython-developers/GitPython (gitpython)
v3.1.46Compare Source
What's Changed
335c0f6to39d7dbfby @dependabot[bot] in #206839d7dbftof8fdfecby @dependabot[bot] in #2071SymbolicReference.referenceproperty by @emmanuel-ferdman in #2074f8fdfecto65321a2by @dependabot[bot] in #2082mypy==1.18.2by @George-Ogden in #2087os.Pathlikeby @George-Ogden in #208665321a2to4c63ee6by @dependabot[bot] in #2093PathlikeObject to Tree by @George-Ogden in #2094New Contributors
Full Changelog: gitpython-developers/GitPython@3.1.45...3.1.46
pre-commit/pre-commit (pre-commit)
v4.5.1Compare Source
==================
Fixes
language: pythonwithrepo: localwithoutadditional_dependencies.astral-sh/ruff (ruff)
v0.14.11Compare Source
Released on 2026-01-08.
Preview features
airflow] Passing positional argument intoairflow.lineage.hook.HookLineageCollector.create_assetis not allowed (AIR303) (#22046)refurb] MarkFURB192fix as always unsafe (#22210)ruff] Addnon-empty-init-module(RUF067) (#22143)Bug fixes
flake8-unused-arguments] Mark**kwargsinTypeVaras used (ARG001) (#22214)Rule changes
help:subdiagnostics for several Ruff rules that can sometimes appear to disagree withty(#22331)pylint] DemotePLW1510fix to display-only (#22318)pylint] Ignore identical members (PLR1714) (#22220)pylint] Improve diagnostic range forPLC0206(#22312)ruff] Improve fix title forRUF102invalid rule code (#22100)flake8-simplify]: Avoid unnecessary builtins import forSIM105(#22358)Configuration
target-versionvalue in preview (#22419)required-versionbefore parsing rules (#22410)srcdirectories when resolving graphs (#22451)Documentation
T201suggestion to not use root logger to satisfyLOG015(#22059)iterexample in unsafe fixes doc (#22118)flake8_print] better suggestion forbasicConfiginT201docs (#22101)pylint] Restore the fix safety docs forPLW0133(#22211)Contributors
v0.14.10Compare Source
Released on 2025-12-18.
Preview features
flake8-implicit-str-concat] New rule to prevent implicit string concatenation in collections (ISC004) (#21972)flake8-use-pathlib] Make fixes unsafe when types change in compound statements (PTH104,PTH105,PTH109,PTH115) (#22009)refurb] Extend support forPath.open(FURB101,FURB103) (#21080)Bug fixes
pyupgrade] Fix parsing named Unicode escape sequences (UP032) (#21901)Rule changes
eradicate] Ignoreruff:disableandruff:enablecomments inERA001(#22038)flake8-pytest-style] Allowmatchandcheckkeyword arguments without an expected exception type (PT010) (#21964)Documentation
uvandtyto the Ruff README (#21996)setup.md(#22024)flake8-bandit] Fix broken link (S704) (#22039)Other changes
Contributors
v0.14.9Compare Source
Released on 2025-12-11.
Preview features
ruff] NewRUF100diagnostics for unused range suppressions (#21783)pylint] Detect subclasses of builtin exceptions (PLW0133) (#21382)Bug fixes
flake8-bandit] Fix false positive when using non-standardCSafeLoaderpath (S506). (#21830)flake8-bugbear] Accept immutable slice default arguments (B008) (#21823)Rule changes
pydocstyle] SuppressD417for parameters withUnpackannotations (#21816)Performance
memchrfor computing line indexes (#21838)Documentation
*.pywis included by default in preview (#21885)Contributors
v0.14.8Compare Source
Released on 2025-12-04.
Preview features
flake8-bugbear] Catchyieldexpressions within other statements (B901) (#21200)flake8-use-pathlib] Mark fixes unsafe for return type changes (PTH104,PTH105,PTH109,PTH115) (#21440)Bug fixes
awaitoutside functions (#21763)flake8-simplify] Fix truthiness assumption for non-iterable arguments in tuple/list/set calls (SIM222,SIM223) (#21479)Documentation
--output-fileoption in GitLab integration (#21706)Other changes
Contributors
hynek/stamina (stamina)
v25.2.0Compare Source
Removed
Added
The type hints for our public API are now also verified using Pyrefly and ty.
#124
stamina.retry()now retries wrapped generator functions and async generator functions.Warning: Being able to
asendandathrowinto wrapped async generators introduced nontrivial complexity in the implementation and is therefore provisional.If supporting these features causes problems, they may be removed again in a future version.
#123
An on hook can now return a float or a
datetime.timedeltato specify a custom backoff that overrides the default backoff.#103
#125
Fixed
Prevent unbounded stop condition when both attempts and timeout are non-
Nonefalsy values.#109
Default
wait_exp_baseparameter is now an integer to prevent anOverflowErrorafter the 1023th retry.#104
Attempt.next_waitnow returns the correct value.#115
astral-sh/ty (ty)
v0.0.10Compare Source
Released on 2026-01-07.
Bug fixes
ParamSpecin overloaded functions (#22416)NewTypes offloat(#22105)LSP server
Twhen a value has typeUnknown | T(#22436)Core type checking
@total_ordering(#22181, #22183)TypedDictclass bodies (#22351)len()(#22330)CLI
--add-ignoreCLI option (#21696)Configuration
include = ["myscript"]will now checkmyscripteven though it doesn't have a Python extension (#22243)Performance
Documentation
Callable__name__FAQ directly fromunresolved-attributediagnostic (#22437)Contributors
v0.0.9Compare Source
Released on 2026-01-05.
Bug fixes
Core type checking
typing.TypeGuard(#20974)__setattr__as fallback-only (#22014)TypedDictunions withnot in(#22349)propertyin subclasses properties (#22088)TypedDicts inmatchstatements (#22299)xto be inferred aslist[int]forx: Iterable[int] = [42](#21930)Literaltype (#22303)LSP server
classstatements (#22110)Other changes
Contributors
v0.0.8Compare Source
Released on 2025-12-29.
Breaking changes
non-subscriptablerule tonot-subscriptable(#22193)Core type checking
LSP server
Diagnostics
unsupported-basesub-diagnostic (#22194)Other changes
Contributors
v0.0.7Compare Source
Released on 2025-12-24.
Bug fixes
import x as yfor semantic syntax highlighting (#22175)Other changes
__delitem__instead of__getitem__fordel x[k](#22121)@staticmethodcombined with other decorators incorrectly bindingself(#22128)Top[Callable[..., object]](#22145)callableis used in a type expression instead ofcollections.abc.Callableortyping.Callable(#22180)Callabletype (#22182)TypedDictas part of its display (#22174)__delitem__for TypedDict to allow deleting non-required keys (#22122)Contributors
v0.0.6Compare Source
Released on 2025-12-23.
Bug fixes
type[T]whereTis a type alias to a union of types (#22115)==narrowing for tuples in unions with disjoint types (#22129)LSP server
ty.configurationandty.configurationFileoptions (#22053)diagnosticMode: offto disable diagnostics while retaining Go To Definition, etc. (#22073)type[T@f]being inserted when you double-click on the inlay (#22139)CLI
Ctrl+C(#22083)Configuration
respect-type-ignore-commentsconfiguration option (#22137)__builtins__.pyi(#22021)Other changes
__get__(#22155)_fieldsattribute for NamedTuples (#22163)_replacemethod for NamedTuples (#22153)TypedDicts (#22104)Contributors
v0.0.5Compare Source
Released on 2025-12-20.
Bug fixes
LSP server
CLI
--force-excludeoption (#22076)Other changes
dict(...)calls inTypedDictcontexts (#22113)Xon an enum class will beintifXis defined usingenum.nonmemberin the class definition (#22025)Contributors
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone Europe/Berlin, 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.