Update Python dependencies #345
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/python"
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:
>=1.19.1→>=1.19.2>=4.14.2→>=4.15.0>=1.7.2→>=1.8.0>=7.1.7,<7.2→>=7.1.8,<7.2>=50.0.0→>=50.0.1>=2.13.4→>=2.13.5>=0.16.3→>=0.16.6>=0.0.72→>=0.0.78>=0.52.3→>=0.52.4Release Notes
agronholm/anyio (anyio)
v4.15.0Compare Source
Added support for the newer keyword-only arguments on
anyio.Pathmethods to match the standard librarypathlib.Path:follow_symlinksonexists()(Python 3.12+)follow_symlinksonis_dir()(Python 3.13+)follow_symlinksonis_file()(Python 3.13+)follow_symlinksonowner()(Python 3.13+)follow_symlinksongroup()(Python 3.13+)newlineonread_text()(Python 3.13+)(#1286, #1293; PR by @jaideeppyne)
Added
amap,gather, andas_completedutility functions to simplify common patterns (#1173; PR by @Graeme22)Added
--anyio-modecommand-line option as an alternative to theanyio_modeini setting, and fix the pytest plugin's auto mode detection to recognize the mode when set via either mechanism(e.g:pytest_asyncio). (#1242; PR by @EmmanuelNiyonshuti)Added the
anyio.Futuresynchronization primitive which behaves similar toasyncio.Future, allowing tasks to wait for a value (or exception) from another task (#1146; PR by @Vizonex)Added guidance for managing multiple memory object stream producers and consumers with cloned streams (#330; PR by @nightcityblade)
Added
StapledObjectStream.send_nowait()that delegates to the underlyingObjectSendStream, if it implements it (#1241; PR by @davidbrochart)Added the
move_on_at()andfail_at()functions to complementmove_on_after()andfail_after()Changed the default name for a task spawned with
TaskGroup.create_task(func())to match the default task name for the analogous task spawned withTaskGroup.start_soon(func)orTaskGroup.start(func)in more situations. Previously, the default name of aTaskGroup.create_tasktask never included the module name. (The default name for a task spawned withTaskGroup.start_soonorTaskGroup.starttypically includes the module name.) (#1234; PR by @gschaffner)Changed the
anyioandanyio.abcmodules to lazily (much like810) import the necessary submodules. This is done by parsing the AST of the module and building a lookup table from theif TYPE_CHECKING:block. A fallback mode has been provided for installations where the source code is unavailable (e.g. PyInstaller). (#1169)Fixed free-threading compatibility issues arising from the fact that on Python 3.14 free-threading builds, newly created threads inherit the current context by default, causing AnyIO to behave erroneously in relation to
start_blocking_portal()andanyio.to_thread.run_sync()(#1224; PR by @EmmanuelNiyonshuti)Fixed
SpooledTemporaryFile.readinto()andreadinto1()reading twice before rollover, so the destination buffer was overwritten by the second read and the file position advanced twice, silently losing data (#1215; PR by @c-tonneslan)Added a
reasonparameter tofail_after(and the newfail_at) allowing for added exception context when raisingTimeoutError(#1227; PR by @Graeme22)Fixed the default
TaskHandle.namemissing part of the task name for tasks started withTaskGroup.starton Trio (#1231; PR by @gschaffner)Fixed
anyio.runleaking, or at least, delaying collection of loop and root_task due to the root task being cached in aRunVar. (#1203; PR by @tapetersen)Fixed
anyio.Path.with_stem()silently producing a wrong path (e.g.Path(".txt")) instead of raisingValueErrorwhen given an empty stem on a path with a non-empty suffix, unlikepathlib.PurePath.with_stem(#1200; PR by @Sanjays2402)Fixed
UNIXSocketStream.aclose()raisingasyncio.InvalidStateErrorwhen a concurrent receive or send operation had just been cancelled on the asyncio backend (#1267; PR by @alloutflo)Fixed the pytest plugin importing the deprecated
_pytest.python.CallSpec2alias, which triggersPytestRemovedIn10Warningonpytest>=9.2and crashes pytest at startup whenfilterwarnings = erroris configured (#1271; PR by @matthewfeickert)Fixed an asyncio worker thread race that could raise
RuntimeErrorwhen the event loop closed between checking its state and scheduling the worker result (#1265; PR by @hansu650)Fixed
CapacityLimiteron the asyncio backend over-granting tokens whentotal_tokenswas raised while the limiter was over-subscribed (#1223; PR by @zelinewang)Fixed asyncio task groups leaking unawaited coroutines when a custom task constructor fails; default task creation is unaffected (#1274; PR by @dsfaccini)
Fixed inconsistencies between Trio and asyncio when target
TaskGroupis cancelled before a task created with.start()callsTaskStatus.started()CancelledErroruntil the first checkpoint after thestarted()call.started()should be available on theTaskHandleand correctly passed back to the caller of start even if cancelled.TaskGroup.start()call to the calling task.(#1197; PR by @tapetersen)
Fixed
TemporaryDirectorynot cleaning up when the host task was cancelled while exiting the context manager, as the cleanup now runs in a shielded cancel scope (#1304; PR by @smurfix)authlib/authlib (authlib)
v1.8.0Compare Source
What's Changed
id_token_signed_response_algclient metadata to guess algs by @azmeuk in #888New Contributors
Full Changelog: https://github.com/authlib/authlib/compare/v1.7.2...v1.8.0
tkem/cachetools (cachetools)
v7.1.8Compare Source
===================
maxsizeinCache.__init__.pyca/cryptography (cryptography)
v50.0.1Compare Source
pydantic/pydantic (pydantic)
v2.13.5Compare Source
v2.13.5 (2026-08-28)
What's Changed
Fixes
pydantic-corestruct fields by @Viicos in #13624pydantic-coreforGeneralFieldsSerializerby @Viicos in #13629astral-sh/ruff (ruff)
v0.16.6Compare Source
Released on 2026-09-03.
Preview features
pytest-fixture-autouseto therestrictioncategory (#28219)flake8-pytest-style] Add an autofix forPT020(#27993)flake8-tidy-imports] Prevent fix loop betweenTID254andTID255(#28262)isort] Exclude pragma comments from line length calculation (I001) (#27313)Bug fixes
flake8-async,pylint] Recognizebuiltins.open(ASYNC230,PLW1514) (#28021)flake8-bugbear] Fix panic onmatchsubjects (B031) (#27781)flake8-datetimez] Rejecttzinfo=Nonefordatetimebounds (DTZ901) (#28022)flake8-pytest-style] Avoid duplicatePT017diagnostics (#27918)ruff] Removelint.externalhint for Ruff-specific suppressions (RUF102) (#27923)Rule changes
flake8-use-pathlib] Add display-only fix foros.listdir(PTH208) (#28027)Documentation
lint.per-file-ignores(#28106)flake8-async] Document thread offloading (ASYNC240) (#28008)pyupgrade] Clarify defaultencodingargument handling (UP012) (#27315)Other changes
Contributors
v0.16.5Compare Source
Released on 2026-08-27.
Preview features
Bug fixes
flake8-async] Detect blocking generic HTTP requests (ASYNC210) (#28024)flake8-datetimez] Allow timezone-safestrptimechains (DTZ007) (#28023)flake8-simplify] Respect side effects inlambdadefaults (SIM401) (#28000)Server
ClientOptionsdoc comment (#27978)Documentation
Contributors
v0.16.4Compare Source
Released on 2026-08-20.
Preview features
flake8-use-pathlib] Add autofix forPTH116(#26460)refurb] Restrictdelete-full-sliceto lists (FURB131) (#27711)refurb] SkipFURB101andFURB103when theopenargument is a file descriptor (#27643)Bug fixes
InvalidInstructionon Windows CPUs that do not supportPOPCNT(#27803)pyflakes] Emit semantic syntax errors in string type definitions asF722(#27835)pylint] Allowos._exitimports inimport-private-name(PLC2701) (#27738)Rule changes
ruff] Addctypes.LittleEndianStructureand related types to existing exception (RUF012) (#27753)nonlocal(#27628)Server
Documentation
Other changes
Contributors
astral-sh/ty (ty)
v0.0.78Compare Source
Released on 2026-09-02.
Bug fixes
Preview features
Diagnostics
disjoint-castrule (#28129)Core type checking
ParamSpecbindings inferred against type context (#28084)lambdafunctions are always truthy (#28254)Performance
Contributors
v0.0.77Compare Source
Released on 2026-08-31.
Bug fixes
Core type checking
__init_subclass__calls (#28138)TypedDictmethods (#28111)Performance
Contributors
v0.0.76Compare Source
Released on 2026-08-31.
Preview features
Bug fixes
LSP server
Core type checking
Selfthrough generic type aliases (#28117)==andmatch(#28103)Finalvariance in stubs (#28119)Performance
Contributors
v0.0.75Compare Source
Released on 2026-08-26.
Preview features
Bug fixes
Selfbounds of inherited methods (#27990)LSP server
Documentation
Library support
Diagnostics
Core type checking
ParamSpecsignatures inferred from bound receivers (#28020)Selfbinding inParamSpecprotocols (#28016)TypedDictvariance inference (#28052)yield fromsend/return types from the iterator returned by__iter__(#27987)TypeVarTuples in tuple annotations (#27950)TypeVarTuples (#27943)TypeVarTuple(#27957)typing.Unionas a class on Python 3.14+ (#28003)collections.abc.Callableis an instance oftype(#27991)Contributors
v0.0.74Compare Source
Released on 2026-08-22.
Bug fixes
TypedDictdictionary compatibility (#27951)TypedDicttypes (#27914)LSP server
untrustedWorkspaceoption to the LSP (#27828)Documentation
Diagnostics
unsound-assignmentrule for variables (#27874)LiteralStringsuggestions in string annotations (#27931)invalid-type-formfor non-generic class annotations (#27889)Core type checking
__slots__(#27730)Performance
Contributors
v0.0.73Compare Source
Released on 2026-08-18.
LSP server
Library support
functools.partial(#27774)Diagnostics
Core type checking
TypedDictor callable (#27740)TypeAliasTyperuntime origin (#27813)Performance
py.typedcontents (#27805)Contributors
Kludex/uvicorn (uvicorn)
v0.52.4: Version 0.52.4Compare Source
Fixed
Dateheaders from accepted WebSocket handshakes withwebsockets-sansio(#3078)Full Changelog: https://github.com/Kludex/uvicorn/compare/0.52.3...0.52.4
Configuration
📅 Schedule: (in timezone Europe/Amsterdam)
🚦 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 has been generated by Mend Renovate CLI.
43522290aab8b29bc243b8b29bc24314560957661456095766a32b67d460a32b67d46015ac78bb4315ac78bb43450da40bb8450da40bb846f2ea97e146f2ea97e1b4d47b1b59b4d47b1b59aec8c56cddaec8c56cddb658343cc2View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.