deps(python): bump the python group across 1 directory with 22 updates
Bumps the python group with 22 updates in the /backend directory:
| Package | From | To |
|---|---|---|
| anyio | 4.15.1 | 4.16.0 |
| click | 8.5.0 | 8.5.1 |
| dnspython | 2.9.0 | 2.9.2 |
| fastapi | 0.162.0 | 0.162.2 |
| grpcio | 1.84.1 | 1.85.1 |
| oauthlib | 4.0.0 | 4.0.1 |
| pyasn1 | 0.6.4 | 0.6.5 |
| pydantic | 2.14.1 | 2.14.3 |
| python-dateutil | 3.0.0 | 4.0.0 |
| python-multipart | 0.0.32 | 0.0.33 |
| sse-starlette | 3.6.0 | 3.7.0 |
| wrapt | 2.5.1 | 2.5.2 |
| coverage | 7.17.0 | 7.17.2 |
| promql-parser | 0.11.0 | 0.12.0 |
| pytest | 9.1.1 | 9.2.0 |
| pytest-asyncio | 1.4.1 | 1.4.1.post1 |
| pytest-env | 1.8.1 | 1.8.5 |
| mypy | 2.4.0 | 2.4.1 |
| mypy-extensions | 1.1.0 | 1.2.0 |
| ruff | 0.17.2 | 0.17.4 |
| grimp | 3.17 | 3.19 |
| pipdeptree | 4.2.9 | 4.2.14 |
Updates anyio from 4.15.1 to 4.16.0
Release notes
Sourced from anyio's releases.
4.16.0
New features
- Added
BlockingPortal.call_async()for asynchronously calling into an event loop with optional abandonment on cancellation (#1342; PR by@davidbrochart)- Added SOCK_SEQPACKET support to
connect_unix()andcreate_unix_listener()(#1349; PR by@theunkn0wn1)Other changes
- Changed UDP sockets on the asyncio backend to make
send()wait until the datagram has been passed to the operating system (#1294; PR by@graingert)Bug fixes
- Fixed documentation implying that
use_uvloop=Truefalls back to the standard event loop when uvloop (winloop on Windows) is not installed, and showed how to skip the corresponding pytest backend variant when the dependency is missing (#645; PR by@GruffElixir)- Fixed
get_current_task()on the asyncio backend raising an opaqueTypeError: cannot create weak reference to 'NoneType' objectinstead of a clear error when called from a callback scheduled vialoop.call_soon_threadsafe()(e.g. from withinfrom_thread.run_sync()), whereasyncio.current_task()is legitimatelyNone(#773; PR by@AmirF194)- Fixed
CancelScopeon the asyncio backend swallowing a nativeTask.cancel()that was delivered in the same event loop iteration as the scope's own cancellation (such as amove_on_after()deadline expiring), which left the host task with a pending cancellation request that never raisedCancelledError(#1214)- Fixed UDP socket closing hanging if a datagram send was still in flight (#1237; PR by
@graingert)- Fixed concurrent
aclose_forcefully()calls on asyncio socket streams returning before the underlying socket was closed (#1273; PR by@graingert)- Fixed
aclose()on sockets not checkpointing, and thus failing to raise a cancellation exception when called inside a cancelled scope (affected UNIX socket streams and UNIX datagram sockets on asyncio, and all sockets on Trio) (#1288; PR by@graingert)- Fixed
aclose()on asyncio TCP socket listeners not checkpointing, and leaking the listening socket if cancelled while another task was waiting inaccept()(#1289; PR by@graingert)- Fixed
accept()on asyncio UNIX socket listeners hanging forever, and leaving the listening socket registered with the event loop, when the listener was closed by another task (#1289; PR by@graingert)- Fixed
send()on asyncio TCP and UDP sockets returning normally, despite the data being discarded, when the socket was closed by another task (or, for TCP, the connection was lost) whilesend()was waiting for the operating system to accept the data (#1289; PR by@graingert)- Fixed
SocketStream.send()on the asyncio backend handing its data to a paused transport after a previoussend()was cancelled (#1299; PR by@graingert)- Fixed
sleep()treating a negative delay (including-inf) inconsistently across backends (asyncio returned immediately; Trio raisedValueError) by raisingValueErroron all backends (#1306; PR by@BetterAndBetterII)- Fixed
create_tcp_listener()occasionally failing with a message likeCould not create 2 listeners with a consistent portwhen an ephemeral port is requested and IPv6 is enabled and the dual-stack path is not available or a specific local host name was given (#1313)- Fixed
AsyncFilenot shielding against cancellation while closing (#1314)- Fixed
TemporaryDirectory.cleanup()reacting to cancellation prematurely when the host task was already cancelled, causing the actual cleanup operation to be skipped (#1316; PR by@Yasser-Ameur)- Fixed a NaN deadline being accepted on asyncio while Trio raised
ValueError, which silently disabled the timeout (fail_after(math.nan)returned instead of raisingTimeoutError);CancelScopenow rejects it on both backends (#1317; PR by@dylanpulver)- Fixed
FileReadStreamandFileWriteStreamleaving files open when cancelled during context manager exit, including unflushed writes (#1318; PR by@Kuang-xianxin)- Fixed
Condition.notify()andCondition.notify_all()failing when the underlying lock was acquired directly rather than through the condition (#1319; PR by@GruffElixir)- Fixed importing AnyIO with loaders that do not provide
__file__, such as PyOxidizer, raisingTypeErrorinstead of falling back to eager imports (#1322; PR by@skulitom)- Fixed text receive streams silently discarding incomplete characters at end-of-file instead of applying the configured decoding error handler (#1339; PR by
@Aurelucien)- Fixed
Semaphore(fast_acquire=True)losing its fast-acquire behavior when instantiated outside a running event loop (#1348; PR by@feiiiiii5)- Fixed
BlockingPortalProviderpermanently failing with anAttributeErroron every subsequent use if the first attempt to start its blocking portal failed (#1350; PR by@Yasser-Ameur)- Fixed
create_udp_socket()silently ignoring thelocal_portargument whenlocal_hostwas omitted, making the socket bind to a random ephemeral port instead of the requested one (#1351; PR by@januththedev)- Fixed worker threads on the asyncio backend never returning to the idle pool (and thus never being reused or pruned) when a
to_thread.run_sync()call was cancelled after it had been queued for the worker but before the worker thread had picked it up (#1352; PR by@Zac-HD)- Fixed pytest plugin running Hypothesis async tests only on the first parametrized backend instead of each backend (#1353; PR by
@DYNOSuprovo)- Fixed
TypeErrorwhen subclassing an existingTypedAttributeSetsubclass, and this subclass contains type annotations (#1358; PR by@pasmud)- Fixed
Lock.locked()(andCondition.locked()) raisingNoEventLoopErrorwhen the lock was created outside a running event loop (#1362; PR by@00200200)- Fixed
connect_tcp()leaking a connected socket when an enclosing cancel scope was cancelled before the connection attempt task group exited (#1364; PR by@charan-rathore)- Fixed
create_connected_udp_socket()silently ignoringlocal_portwhenlocal_hostwas not given: the local address was left unset, so the OS picked an ephemeral port instead of the requested one (#1365; PR by@feiiiiii5)- Fixed
BlockingPortalProvidernot passing the exception raised in itswithblock on to thestart_blocking_portal()context manager it wraps (#1366; PR by@feiiiiii5)- Fixed
anyio.itertools.islice()not consuming the firststartitems whenstop <= start(#1372; PR by@Rodrigo-Palma)- Fixed
BufferedByteReceiveStream.receive_exactly()andreceive_until()returning buffered data after explicit closure instead of raisingClosedResourceError(#1378; PR by@kokotatan)- Fixed a TLS stream sending records the peer could no longer decrypt after a cancelled
send()lost an already-encrypted record; the stream now raisesBrokenResourceErroron further use instead (#1385; PR by@Kayvan-Zahiri)- Fixed
close()on memory object streams not waking up tasks blocked insend()orreceive()on the same stream (#1391)- Fixed
anyio.itertools.product()acquiring and consuming unused input iterables whenrepeat=0(#1394; PR by@sricharanreddycheruku)- Fixed
SpooledTemporaryFilerolling over to disk on writes whenmax_sizeis zero (the default) (#1397; PR by@fhgffy)- Fixed Trio UDP sockets remaining open when initialization failed or was cancelled (#1400; PR by
@adenzhou1350)- Fixed SpooledTemporaryFile.rollover() moving the current file position to the end of the file (#1401; PR by
@fhgffy)- Fixed cancellation during temporary directory creation leaving the directory behind while its context manager is retained (#1403; PR by
@adenzhou1350)
... (truncated)
Commits
0ddd02dReleased version 4.16.0576892eFixed certain pending tasks not woken up by the closing of memory object stre...02ff4f8AddedBlockingPortal.call_async()(#1343)1af29a4Moved documentation code snippets into separate, checked files (#1445)f01c041[pre-commit.ci] pre-commit autoupdate (#1448)95a0143Test with blockbuster and uvloop on Python 3.15 too4d51154Modernized the memory object stream tests1e4b448Fixed the as_connectable() example in the networking docs (#1442)cd21b36FixedTypedAttributeSetnot collecting annotations from superclasses (#1358)b7f8c68[pre-commit.ci] pre-commit autoupdate (#1431)- Additional commits viewable in compare view
Updates click from 8.5.0 to 8.5.1
Release notes
Sourced from click's releases.
8.5.1
This is the Click 8.5.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/click/8.5.1/ Changes: https://click.palletsprojects.com/page/changes/#version-8-5-1 Milestone: https://github.com/pallets/click/milestone/66
- Fix
copy.deepcopy()andpickleon aParameter,OptionorCommand. #3805- A
KeyboardInterruptarriving whileCommand.main()reports an abort or an error, or while it exits, no longer escapes as an unhandled traceback. The command still exits with the intended code; only the message may be lost. #3802- Add
Option.get_help_spec(), which returns the option's left help column even when the option is hidden.Option.get_help_record()still returnsNonefor hidden options, so help screens are unchanged. #3821- The
Positional argumentshelp section lists every argument of the command, not only the documented ones. An argument with nohelpgets an empty description, the same way an option with nohelpdoes. #3860Argument.get_help_record()always returns a tuple. It used to returnNonefor an argument with nohelp. #3860- Document which types are inferred from
default, and what an unrecognizedtypecallable does to a command-line value. #3036 #3808path_typenarrows the converted value's type forconvertandprompt. #3822 #3858Parameteraccepts a newhelpargument, andOptionandArgumentinherit it.Parameter.to_info_dict()now reportshelpfor every kind of parameter. #3861- A command's short help no longer stops at an abbreviation such as
vs.ore.g.inside the first sentence. A period ends the sentence only when it closes the text or the next word does not start in lowercase. #3865- With
show_envvar=True, an option's error message now prints all variables of anenvvarsequence instead of thereprof the sequence. #3884- An empty
envvar, such as[]or"", shows the same help and error message as noenvvarwhenshow_envvar=True. The help screen used to show[env var: ]. #3884- Align command's deprecated help text to options and arguments: do not translate the command's own help text, only the
(DEPRECATED)label. #3901
Changelog
Sourced from click's changelog.
Version 8.5.1
Released 2026-11-09
- Fix
copy.deepcopy()andpickleon aParameter,OptionorCommand. {pr}3805- A
KeyboardInterruptarriving whileCommand.main()reports an abort or an error, or while it exits, no longer escapes as an unhandled traceback. The command still exits with the intended code; only the message may be lost. {issue}3802- Add {meth}
Option.get_help_spec, which returns the option's left help column even when the option is hidden. {meth}Option.get_help_recordstill returnsNonefor hidden options, so help screens are unchanged. {pr}3821- The
Positional argumentshelp section lists every argument of the command, not only the documented ones. An argument with nohelpgets an empty description, the same way an option with nohelpdoes. {pr}3860- {meth}
Argument.get_help_recordalways returns a tuple. It used to returnNonefor an argument with nohelp. {pr}3860- Document which types are inferred from
default, and what an unrecognizedtypecallable does to a command-line value. {issue}3036{pr}3808path_typenarrows the converted value's type forconvertandprompt. {issue}3822{pr}3858- {class}
Parameteraccepts a newhelpargument and {class}Optionand {class}Argumentinherits it. {meth}Parameter.to_info_dictnow reportshelpfor every kind of parameter. {pr}3861- A command's short help no longer stops at an abbreviation such as
vs.ore.g.inside the first sentence. A period ends the sentence only when it closes the text or the next word does not start in lowercase. {pr}3865- With
show_envvar=True, an option's error message now prints all variables of anenvvarsequence instead of thereprof the sequence. {pr}3884- An empty
envvar, such as[]or"", shows the same help and error message as noenvvarwhenshow_envvar=True. The help screen used to show[env var: ]. {pr}3884- Align command's deprecated help text to options and arguments: do not translate the command's own help text, only the
(DEPRECATED)label. {pr}3901
Commits
cf19179Release version 8.5.11ff766dRemove documentation changelog entry.16da191Add a standalone application guide for Nuitka (#3897)473f652Remove issue and PR references outside the changelog (#3905)df7fe0bRemove issue and PR references outside the changelog4fd4206Bumppypa/gh-action-pypi-publishtov1.14.3(#3906)9048ab0Bumppypa/gh-action-pypi-publishtov1.14.3ff0c369Add a standalone application guide for Nuitka5125851Stop passing a deprecated command's help text throughgettext(#3901)6d34602Additional round-trip tests forunstyle()(#3899)- Additional commits viewable in compare view
Updates dnspython from 2.9.0 to 2.9.2
Release notes
Sourced from dnspython's releases.
dnspython 2.9.2
A malicious WKS record in text format can consume excessive memory and CPU when parsed, possibly causing the process to exit due to memory exhaustion. Thanks to Jace (GitHub
@manus-use) for discovering and reporting this issue.See What's New for details.
The minimum supported version of Python is 3.11.
My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.
This release was published to PyPI using Trusted Publishing.
dnspython 2.9.1
See What's New for details.
The minimum supported version of Python is 3.11.
My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.
This release was published to PyPI using Trusted Publishing.
Changelog
Sourced from dnspython's changelog.
2.9.2
- A maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion. Thanks to Jace (GitHub
@manus-use) for discovering and reporting this issue.2.9.1
LOC text parsing now converts the altitude, size, horizontal precision, and vertical precision fields to centimeters exactly, and requires them to be decimal numbers of meters with at most two fractional digits, as RFC 1876 section 3 specifies. They were converted with
float(), so9.29mbecame 928 cm rather than 929 cm and the text and wire forms of the record disagreed, forms such as1e3m,1_000m,+10m,nanm, andinfmwere accepted, extra fractional digits were silently dropped, and an altitude outside the representable range was accepted and then failed into_wire()with a non-DNS exception.dns.exception.SyntaxErroris now raised for all of these.The resolver now assigns a new random query id to every query.
For transports that require a 0 query id, set it in a way that does not break TSIG.
dns.message.QueryMessage.resolve_chaining()now caps the minimum TTL of a negative response with no SOA record at 300 seconds (dns.message.NEGATIVE_TTL_WITHOUT_SOA). Previously the TTL was left at its initial value of 2^32 - 1, so a single NXDOMAIN or NODATA response with no SOA, e.g. a spoofed one, stayed in the resolver cache for the life of the process.DNSSEC validation now rejects an RRSIG whose type covered or class does not match the RRset, as RFC 4035 section 5.3.1 requires. This was not checked, so a revoked DNSKEY, which may only validate the DNSKEY RRset, still validated any RRset signed with its private key if the RRSIG claimed to cover DNSKEY.
dns.tokenizer.Tokenizernow ends a line at a carriage return, or at a carriage return followed by a line feed, unless the carriage return is in a quoted string. The carriage return of CRLF line ends used to stay in the last token of each line and in the text of a comment, so e.g.dns.zone.from_text()rejected a zone with CRLF line ends.DNSSEC validation no longer uses a DNSKEY with the REVOKE flag set to validate anything other than the DNSKEY RRset. RFC 5011 section 2.1 says a revoked key must not be used for any other purpose, but it was a candidate key like any other, so as long as the revoked key was still published, data signed with its private key, e.g. by whoever compromised it, validated.
... (truncated)
Commits
854beddbump README.md version388db14Constrain WKS bitmap size.7e1832fversion bumpdddd69cblack lint185cc38release prepcf22838Randomize the id of every message the resolver sends. (#1395)e0fce7fuse a short negative TTL for a negative answer with no SOA in resolve_chainin...ad0803ccheck the RRSIG type covered and class against the RRset (#1388)8c38a04Strictly apply RFC 3597 compression rules when decompressing. (#1383)ab5ade8end a line at a carriage return in the tokenizer (#1387)- Additional commits viewable in compare view
Updates fastapi from 0.162.0 to 0.162.2
Release notes
Sourced from fastapi's releases.
0.162.2
FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with
uvx library-skillsin your project. See Develop with AI.Docs
- 📝 Add FastAPI Cloud guidance to the FastAPI skill. PR #16697 by
@tiangolo.- 📝 Add guidance for developing FastAPI apps with AI. PR #16695 by
@tiangolo.Internal
- 🔧 Add an agent skills note to GitHub releases. PR #16696 by
@tiangolo.0.162.1
Docs
- 📝 Add parameter model guidance to the FastAPI skill. PR #16693 by
@tiangolo.Translations
- 🌐 Update translations for zh-hant (update-outdated). PR #16654 by
@pr-submit[bot].- 🌐 Update translations for uk (update-outdated). PR #16655 by
@pr-submit[bot].- 🌐 Update translations for de (update-outdated). PR #16652 by
@pr-submit[bot].- 🌐 Update translations for pt (update-outdated). PR #16653 by
@pr-submit[bot].- 🌐 Update translations for fr (update-outdated). PR #16649 by
@pr-submit[bot].- 🌐 Update translations for tr (update-outdated). PR #16651 by
@pr-submit[bot].- 🌐 Update translations for ja (update-outdated). PR #16648 by
@pr-submit[bot].- 🌐 Update translations for zh (update-outdated). PR #16644 by
@pr-submit[bot].- 🌐 Update translations for hi (update-outdated). PR #16647 by
@pr-submit[bot].- 🌐 Update translations for es (update-outdated). PR #16645 by
@pr-submit[bot].- 🌐 Update translations for ru (update-outdated). PR #16650 by
@pr-submit[bot].Internal
- ⬆️ Bump pillow to 13.0.0 and dnspython to 2.9.2. PR #16685 by
@YuriiMotov.- 📝 Update FastAPI Cloud docs banner for general availability. PR #16684 by
@tiangolo.- 🔧 Update sponsors: add Encore. PR #16683 by
@tiangolo.- 🔥 Remove conference rail component and related styles. PR #16679 by
@alejsdev.- 👥 Update FastAPI People - Sponsors. PR #16656 by
@pr-submit[bot].- 👥 Update FastAPI GitHub topic repositories. PR #16660 by
@pr-submit[bot].- ⬆ Bump the github-actions group with 7 updates. PR #16658 by
@dependabot[bot].- ⬆ Bump pre-commit hooks. PR #16659 by
@pr-submit[bot].- ⬆ Bump authlib from 1.7.2 to 1.9.1. PR #16637 by
@dependabot[bot].- 🔧 Update sponsors: add MicroAuth. PR #16641 by
@tiangolo.- 🔧 Pin pytest below 9.2 for pytest-xdist compatibility. PR #16642 by
@tiangolo.- ⬆ Bump graphql-core from 3.2.7 to 3.3.1. PR #16613 by
@dependabot[bot].- ⬆ Bump black from 26.5.1 to 26.10.1. PR #16611 by
@dependabot[bot].- ⬆ Bump gitpython from 3.1.62 to 3.2.1. PR #16612 by
@dependabot[bot].- ⬆ Bump opentelemetry-api from 1.44.0 to 1.45.1. PR #16610 by
@dependabot[bot].
Commits
3adc94e🔖 Release version 0.162.2 (#16698)7e5062b📝 Update release notesafd2a57📝 Add FastAPI Cloud guidance to the FastAPI skill (#16697)119bce9📝 Update release notesbc8b188🔧 Add an agent skills note to GitHub releases (#16696)7f696db📝 Update release notesed6f37b📝 Add guidance for developing FastAPI apps with AI (#16695)8e3db51🔖 Release version 0.162.1 (#16694)4b41a6b📝 Update release notesa1c96b4📝 Add parameter model guidance to the FastAPI skill (#16693)- Additional commits viewable in compare view
Updates grpcio from 1.84.1 to 1.85.1
Release notes
Sourced from grpcio's releases.
Release v1.85.1
This is release gRPC Core 1.85.1 (googol).
For gRPC documentation, see grpc.io. For previous releases, see Releases.
This release contains refinements, improvements, and bug fixes.
Python
- Fixes Denial of service in Health Watch RPC (#43783)
- Fixes Memory leak in AsyncIO client-streaming calls with interceptors (#43783)
Core
- host/:authority handling in the HPACK parser (#43797)
Release v1.85.0
This is release 1.85.0 (googol) of gRPC Core.
For gRPC documentation, see grpc.io. For previous releases, see Releases.
This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core
- [security] Update gRPC repo roots. (#43717)
- [experiments] Add map_host_header_to_authority experiment. (#43561)
- [Security] Add MLKEM1024 as a key exchange option. (#43514)
- Remove OpenSSL1.0.2 Support. (#43466)
- [Autosharding-LB][Part-1] Implementing A119. (#43406)
- [OpenSSL] Add support for OpenSSL 4. (#41932)
- [A110] Add child channel options. (#43314)
C#
- [Build] Disambiguate protobuf_version in templates. (#43433)
Python
... (truncated)
Commits
558b7e3[Backport][v1.85.x][export] host/:authority handling in the HPACK parser (#4...54b5cf6[Release] Bump version to 1.85.1 (on v1.85.x branch) (#43788)fc9be67[Backport][v1.85.x][export] Internal change (#43783)a83eb27update g stands for correctlycc92f57[Release] Bump version to 1.85.0 (on v1.85.x branch) (#43729)7f3e5d4[Backport][v1.85.x][security] Update gRPC repo roots. (#43717)08689a5[Backport][v1.85.x][CI][macOS] Add retries to git and pip for flaky macOS job...cc11ee7[Backport][v1.85.x][export] Validate EDS locality priority against number of ...0e02b12[Release] Bump version to 1.85.0-pre1 (on v1.85.x branch) (#43591)e124571[Release] Bump core version to 58.0.0 for upcoming release (#43582)- Additional commits viewable in compare view
Updates oauthlib from 4.0.0 to 4.0.1
Release notes
Sourced from oauthlib's releases.
4.0.1
Security
- CVE-2026-49272 / GHSA-3jp2-3mrg-2vxc: The device code flow token endpoint did not validate the
device_codeparameter. A request with a knownclient_idand a bogusdevice_codecould obtain a bearer token.DeviceCodeGrant.validate_token_requestnow callsDeviceCodeGrant.validate_device_code(), which rejects missing or unknown device codes (invalid_request/invalid_grant) and delegates the code's authorization status to the newRequestValidator.validate_device_code()hook, per RFC 8628 Section 3.5. (cherry-picked from #954)Upgrade note for device flow integrators
Custom
RequestValidatorimplementations using the device flow must now implementvalidate_device_code(client_id, code, request). Return one of theDeviceCodeGrant.DEVICE_CODE_*statuses for known codes, orNonefor an unknown code. When returningAUTHORIZED, the validator must also populaterequest.userandrequest.scopesfrom the stored authorization.
Changelog
Sourced from oauthlib's changelog.
4.0.1 (2026-11-04):
OAuth2.0 Provider (Security):
Security: CVE-2026-49272 / GHSA-3jp2-3mrg-2vxc: The device code flow token endpoint did not validate the
device_codeparameter. A request with a knownclient_idand a bogusdevice_codecould obtain a bearer token.DeviceCodeGrant.validate_token_requestnow calls a newDeviceCodeGrant.validate_device_code()which rejects missing or unknown device codes (400 invalid_request/400 invalid_grant) and delegates the code's authorization status to a new requiredRequestValidator.validate_device_code()hook, per RFC 8628 Section 3.5. (cherry-picked from #954, merged as 1c91d64)Upgrade note for device flow integrators: custom
RequestValidatorimplementations using the device flow must now implementvalidate_device_code(client_id, code, request). Return one of theDeviceCodeGrant.DEVICE_CODE_*statuses (AUTHORIZED,PENDING,SLOW_DOWNorEXPIRED) for known codes, orNonefor an unknown code. When returningAUTHORIZED, the validator must also populaterequest.userandrequest.scopesfrom the stored authorization.
Commits
6e3aa05Release 4.0.1: fix CVE-2026-49272 (device_code validation in device flow)77a5f1cMerge pull request #954 from hekhuisk/improve-device-workflow- See full diff in compare view
Updates pyasn1 from 0.6.4 to 0.6.5
Release notes
Sourced from pyasn1's releases.
Release 0.6.5
Revision 0.6.5, released 26-10-2026
- GHSA-mm57-4v3p-rchx: Decoded binary REAL mantissas in linear time instead of repeatedly shifting a growing integer and slicing the remaining bytes (thanks for reporting, manus-use, manus-pi, ucsurf, adriank31)
- GHSA-2qm8-x737-gmw5: Reassembled constructed BIT STRING fragments in linear time while preserving their decoded bit values, including intermediate fragment padding (thanks for reporting, manus-use)
- GHSA-9m75-vc3g-4x39: Reassembled constructed OCTET STRING and character-string fragments and indefinite-length ANY content in linear time. Nested constructed OCTET STRING fragments now contribute their decoded octets (thanks for reporting, alimony, manus-pi, adriank31)
- GHSA-fm9c-5rcf-2q5p: Bounded schemaless container type tracking after two distinct tag sets to prevent quadratic CPU use from colliding long tag IDs (thanks for reporting, droideck)
Changelog
Sourced from pyasn1's changelog.
Revision 0.6.5, released 26-10-2026
- GHSA-mm57-4v3p-rchx: Decoded binary REAL mantissas in linear time instead of repeatedly shifting a growing integer and slicing the remaining bytes (thanks for reporting, manus-use, manus-pi, ucsurf, adriank31)
- GHSA-2qm8-x737-gmw5: Reassembled constructed BIT STRING fragments in linear time while preserving their decoded bit values, including intermediate fragment padding (thanks for reporting, manus-use)
- GHSA-9m75-vc3g-4x39: Reassembled constructed OCTET STRING and character-string fragments and indefinite-length ANY content in linear time. Nested constructed OCTET STRING fragments now contribute their decoded octets (thanks for reporting, alimony, manus-pi, adriank31)
- GHSA-fm9c-5rcf-2q5p: Bounded schemaless container type tracking after two distinct tag sets to prevent quadratic CPU use from colliding long tag IDs (thanks for reporting, droideck)
Commits
5d16736Prepare release 0.6.5a36e3a3Fix quadratic CPU use in schemaless container decoding4ce0079Remove quadratic constructed OCTET STRING and ANY reassembly73ba7b0Remove quadratic constructed BIT STRING reassemblyce3ec33Remove quadratic binary REAL mantissa decoding- See full diff in compare view
Updates pydantic from 2.14.1 to 2.14.3
Release notes
Sourced from pydantic's releases.
v2.14.3 2026-11-04
v2.14.3 (2026-11-04)
What's Changed
Packaging
Build wheels for GraalPy 3.13 by
@msimacekin #14136.The previous v2.14.2 release published GraalPy 3.11 wheels, which were not working due to a PyO3 version bump. A CI workflow issue made it so that the wheel wasn't tested before publishing. This is now fixed: starting in v2.14.3, we no longer publish GraalPy 3.11 wheels, and GraalPy 3.13 wheels are now published together with the existing 3.12 one.
Performance
- Improve schema generation for fixed type handlers by
@alexmojakiin #14130- Skip general schema dispatch for builtin scalars by
@alexmojakiin #14141- Skip annotation handler setup when annotations are empty by
@alexmojakiin #14149- Fix quadratic serialization time with per-index
include/excludeon sequences by@Viicosin #14160- Avoid type lookups when checking for
Noneduring serialization by@Viicosin #14167- Improve performance of model serialization by
@Viicosin #14171- Improve performance of dict serialization by
@Viicosin #14172- Improve performance of type inference during serialization by
@Viicosin #14173- Avoid cloning the field name when using the default value during validation by
@Viicosin #14175- Do not evaluate
model_configannotations by@Viicosin #14195- Avoid slow runtime
Protocolcheck when expandingGroupedMetadataannotations by@Viicosin #14196- Use a lightweight
@contextmanagerimplementation internally by@Viicosin #14199Fixes
- Fix various issues about GC tracking in
pydantic-coreby@Viicosin #13819- Include
nullin serialization JSON Schema forunless-nonefield serializers by@Kropiunigin #13848- Fix
RecursionErrorwhen copying or unpickling models withdefer_buildby@Viicosin #14115- Remove dead
default_factorycheck in unsupportedField()attribute by@owtaylorin #14129- Disallow non string extra keys during validation by
@Viicosin #14135- Fix deeply nested data being reported as a cyclic reference by
@Viicosin #14164New Contributors
@owtaylormade their first contribution in #14129v2.14.2 2026-10-29
v2.14.2 (2026-10-29)
This release addresses 2 security issues, https://github.com/pydantic/pydantic/security/advisories/GHSA-qpmf-fgh3-ff25 and https://github.com/pydantic/pydantic/security/advisories/GHSA-3r8g-cqwr-jr29.
Packaging
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.14.0 (2026-10-08)
What's Changed
The highlights of the v2.14 release are available in the blog post. Several minor changes (considered non-breaking changes according to our versioning policy) are also included in this release. Make sure to look into them before upgrading.
This release drops support for Python 3.9 and adds support for Python 3.15.
New Features
- Add support for
multiple_ofconstraint infractionandtimedeltacore schemas by@Viicosin #13873- Add
__namespace__parameter tocreate_model()by@Viicosin #13895Changes
- Add an
ordered-dictcore schema by@Viicosin #13796- Add a
countercore schema by@Viicosin #13824- Do not mutate
model_configattribute by@Viicosin #13825- Reject newlines in
NameEmailvalidation by@Viicosin #13897Fixes
...Description has been truncated
Summary by cubic
Bumps 22 Python dependencies in
backend/across runtime, test, and lint groups. Several updates include security fixes:grpcio1.85.1 fixes a DoS in Health Watch RPC and an AsyncIO memory leak,dnspython2.9.2 fixes excessive memory/CPU use from malicious WKS records,pyasn10.6.5 removes quadratic CPU decoding paths,pydantic2.14.3 includes fixes for two security advisories, andoauthlib4.0.1 fixes CVE-2026-49272 in the device code flow.python-dateutilalso moves to a new major version (4.0.0).Migration
- If the backend uses the OAuth2 device flow, custom
RequestValidatorimplementations must now implementvalidate_device_code().