Skip to content

Bump the python-versions group across 1 directory with 13 updates - #89

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/src/apps/mcp/python-versions-59cd11bc85
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/src/apps/mcp/python-versions-59cd11bc85

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps the python-versions group with 13 updates in the /src/apps/mcp directory:

Package From To
gunicorn 26.2.0 27.0.1
certifi 2026.10.23 2026.11.20
charset-normalizer 3.5.2 3.5.3
click 8.5.0 8.5.1
filelock 4.2.9 4.3.1
httpcore2 2.16.0 2.16.2
httpx2 2.16.0 2.16.2
packaging 26.3 26.4
pydantic 2.14.2 2.14.4
pydantic-core 2.50.2 2.50.5
python-multipart 0.0.33 0.0.34
regex 2026.9.29 2026.11.23
sse-starlette 3.6.0 3.7.1

Updates gunicorn from 26.2.0 to 27.0.1

Release notes

Sourced from gunicorn's releases.

gunicorn 27.0.1

Bug Fixes

  • ASGI: serve the next request on a kept-alive HTTP/1.1 connection as soon as the previous response is complete. It used to wait until the application returned, so a background task (Starlette, FastAPI) held up every request behind it on the same connection (#3819).
  • ASGI: refuse an informational (1xx) response sent after the final response has started, instead of writing it out of order (RFC 9110 §15.2).
  • gthread: when a worker stops (max_requests, reload, SIGTERM), keep its kept-alive connections open for up to 2 seconds and answer a request that arrives on one with Connection: close, instead of closing them right away. A client reusing such a connection, such as one following a redirect, lost its request (RFC 9112 §9.6) (#3821).

Full changelog: https://github.com/benoitc/gunicorn/blob/master/docs/content/news.md

gunicorn 27.0.0

Breaking Changes

  • Reject with 400 a request whose Transfer-Encoding does not end with chunked, such as gzip or identity alone, with or without Content-Length (RFC 9112 §6.3). The WSGI workers used to read such a body until the connection closed and the ASGI worker treated it as empty. Clients that send Transfer-Encoding: identity must stop sending it.

Bug Fixes

  • Reject whitespace between a header name and the colon (RFC 9112 §5.1).
  • Trim only spaces and tabs around Transfer-Encoding values (RFC 9110 §5.6.3) (#3364).
  • Reject a Content-Length that is not plain digits (RFC 9110 §8.6).
  • Reject chunk data not followed by CRLF (RFC 9112 §7.1).
  • Reject control characters in the request path (RFC 9112 §3.2) (#3371).
  • Return 414 URI Too Long for a request line over limit_request_line (RFC 9112 §3) (#2487).
  • ASGI: never write more body bytes than the app's Content-Length, and close the connection when the body is shorter (RFC 9112 §6.3).
  • ASGI: close the connection when the app returns before finishing its response (RFC 9112 §6.3).
  • ASGI: reject response header names and values that are not valid (RFC 9110 §5.1, §5.5).
  • WSGI: reject a response status that is not three digits followed by a valid reason phrase (RFC 9112 §4).

... (truncated)

Commits
  • e143c8d gunicorn 27.0.1
  • 89cf093 Merge pull request #3822 from benoitc/fix/gthread-keepalive-on-stop
  • 4d6e86e gthread: keep kept-alive connections briefly when the worker stops
  • 710d1b2 Merge pull request #3820 from benoitc/fix/asgi-keepalive-after-response
  • e00038f asgi: keep waiting for a call that left request body unread
  • a1f2063 tests: background tasks in the Starlette and FastAPI compat apps
  • 6122ae3 asgi: serve the next keep-alive request once the response is complete
  • 332b3da asgi: refuse a 1xx response sent after the final response started
  • 65798f4 Merge pull request #3815 from benoitc/release/27.0.0
  • 237de69 gunicorn 27.0.0
  • Additional commits viewable in compare view

Updates certifi from 2026.10.23 to 2026.11.20

Commits

Updates charset-normalizer from 3.5.2 to 3.5.3

Release notes

Sourced from charset-normalizer's releases.

Version 3.5.3

3.5.3 (2026-11-23)

Changed

  • Faster noise scoring in both the pure-Python and Cython implementations by reusing Unicode character properties. The Cython extensions also speed up language ranking and checks for suspicious transitions between Unicode blocks.
  • Reduced detection overhead by skipping redundant UTF-8 sample alignment checks and repeated logging checks when tracing is disabled.
  • Raised the setuptools upper bound to <84.3, allowing source builds with setuptools 84.1 and 84.2. (#828)

Fixed

  • Fixed detection of registered multibyte codecs when a sample boundary splits a character. The detector now strictly decodes the full input with the custom codec before sampling the resulting text.
  • Kept single-byte candidates in consideration when a Chinese, Japanese or Korean decoding has measurable noise and no matching language.
  • Recognized ASCII information separators (0x1C through 0x1F) as whitespace when scoring text, including record-separated JSON. (#821)
  • Removed the leading GB18030 signature from lazily decoded matches on large inputs. (#820)
  • Fixed UTF-7 text with a signature being misidentified as ASCII when a sample started in the middle of a long encoded sequence. (#839)
  • Fixed language detection returning names such as English— when only an alternative language profile met the coherence threshold. (#823)
  • CharsetMatch.output() now updates a UTF-8 declaration when transcoding to another encoding and preserves the last successful output if a later conversion fails. (#819, #814)
  • The legacy detect() function now reports ISO-8859-1 for Latin-1 by default. (#813)
  • Both python -m charset_normalizer and python -m charset_normalizer.cli now propagate the CLI exit status. (#817)
  • CLI JSON output with --with-alternative now always uses a top-level array, including for a single result or a file with no match. (#822)
  • normalizer --normalize now appends the detected encoding to extensionless filenames when creating a copy (for example, README becomes README.cp1252). (#838)
  • Excluded Python 3.16's utf_7_imap mailbox codec from detection to prevent errors when probing unrelated encodings. (#825)
Changelog

Sourced from charset-normalizer's changelog.

3.5.3 (2026-11-23)

Changed

  • Faster noise scoring in both the pure-Python and Cython implementations by reusing Unicode character properties. The Cython extensions also speed up language ranking and checks for suspicious transitions between Unicode blocks.
  • Reduced detection overhead by skipping redundant UTF-8 sample alignment checks and repeated logging checks when tracing is disabled.
  • Raised the setuptools upper bound to <84.3, allowing source builds with setuptools 84.1 and 84.2. (#828)

Fixed

  • Fixed detection of registered multibyte codecs when a sample boundary splits a character. The detector now strictly decodes the full input with the custom codec before sampling the resulting text.
  • Kept single-byte candidates in consideration when a Chinese, Japanese or Korean decoding has measurable noise and no matching language.
  • Recognized ASCII information separators (0x1C through 0x1F) as whitespace when scoring text, including record-separated JSON. (#821)
  • Removed the leading GB18030 signature from lazily decoded matches on large inputs. (#820)
  • Fixed UTF-7 text with a signature being misidentified as ASCII when a sample started in the middle of a long encoded sequence. (#839)
  • Fixed language detection returning names such as English— when only an alternative language profile met the coherence threshold. (#823)
  • CharsetMatch.output() now updates a UTF-8 declaration when transcoding to another encoding and preserves the last successful output if a later conversion fails. (#819, #814)
  • The legacy detect() function now reports ISO-8859-1 for Latin-1 by default. (#813)
  • Both python -m charset_normalizer and python -m charset_normalizer.cli now propagate the CLI exit status. (#817)
  • CLI JSON output with --with-alternative now always uses a top-level array, including for a single result or a file with no match. (#822)
  • normalizer --normalize now appends the detected encoding to extensionless filenames when creating a copy (for example, README becomes README.cp1252). (#838)
  • Excluded Python 3.16's utf_7_imap mailbox codec from detection to prevent errors when probing unrelated encodings. (#825)
Commits
  • 0b45fe2 chore: release 3.5.3 (#843)
  • 6f5ffe3 chore(deps): bump pypa/cibuildwheel from 4.2.1 to 4.3.5 (#831)
  • 63a18e5 chore(deps): bump actions/setup-python from 7.0.0 to 7.1.0 (#832)
  • d5309e6 Fix --normalize output name for files without an extension (#838)
  • 9c196df Sample UTF-7 chunks from the decoded payload (#839)
  • c6b0556 chore(ci): reorder steps deps chain
  • a9c5126 chore(ci): fix cibw test command
  • c65b72b Merge pull request #842 from jawah/pre-v3.5.3
  • 7abdb20 chore: draft pending 3.5.3 changelog entries
  • 82b1692 docs: update README
  • 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() and pickle on a Parameter, Option or Command. #3805
  • A KeyboardInterrupt arriving while Command.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 returns None for hidden options, so help screens are unchanged. #3821
  • The Positional arguments help section lists every argument of the command, not only the documented ones. An argument with no help gets an empty description, the same way an option with no help does. #3860
  • Argument.get_help_record() always returns a tuple. It used to return None for an argument with no help. #3860
  • Document which types are inferred from default, and what an unrecognized type callable does to a command-line value. #3036 #3808
  • path_type narrows the converted value's type for convert and prompt. #3822 #3858
  • Parameter accepts a new help argument, and Option and Argument inherit it. Parameter.to_info_dict() now reports help for every kind of parameter. #3861
  • A command's short help no longer stops at an abbreviation such as vs. or e.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 an envvar sequence instead of the repr of the sequence. #3884
  • An empty envvar, such as [] or "", shows the same help and error message as no envvar when show_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() and pickle on a Parameter, Option or Command. {pr}3805
  • A KeyboardInterrupt arriving while Command.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_record still returns None for hidden options, so help screens are unchanged. {pr}3821
  • The Positional arguments help section lists every argument of the command, not only the documented ones. An argument with no help gets an empty description, the same way an option with no help does. {pr}3860
  • {meth}Argument.get_help_record always returns a tuple. It used to return None for an argument with no help. {pr}3860
  • Document which types are inferred from default, and what an unrecognized type callable does to a command-line value. {issue}3036 {pr}3808
  • path_type narrows the converted value's type for convert and prompt. {issue}3822 {pr}3858
  • {class}Parameter accepts a new help argument and {class}Option and {class}Argument inherits it. {meth}Parameter.to_info_dict now reports help for every kind of parameter. {pr}3861
  • A command's short help no longer stops at an abbreviation such as vs. or e.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 an envvar sequence instead of the repr of the sequence. {pr}3884
  • An empty envvar, such as [] or "", shows the same help and error message as no envvar when show_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
  • cf19179 Release version 8.5.1
  • 1ff766d Remove documentation changelog entry.
  • 16da191 Add a standalone application guide for Nuitka (#3897)
  • 473f652 Remove issue and PR references outside the changelog (#3905)
  • df7fe0b Remove issue and PR references outside the changelog
  • 4fd4206 Bump pypa/gh-action-pypi-publish to v1.14.3 (#3906)
  • 9048ab0 Bump pypa/gh-action-pypi-publish to v1.14.3
  • ff0c369 Add a standalone application guide for Nuitka
  • 5125851 Stop passing a deprecated command's help text through gettext (#3901)
  • 6d34602 Additional round-trip tests for unstyle() (#3899)
  • Additional commits viewable in compare view

Updates filelock from 4.2.9 to 4.3.1

Release notes

Sourced from filelock's releases.

4.3.1

New Contributors

🐍 PyPI release

📜 Full Changelog

4.3.0

Features

  • On Windows, release_with_timeout limits the caller's wait for release. If it raises ReleasePendingError, call wait on the exception from any thread for the result. On POSIX, release is synchronous (#1107) by @​gaborbernat. (#1100)

Bug fixes

  • lock_descriptor raises TypeError unless blocking is a bool (#969) by @​feiiiiii5 and @​gaborbernat.
  • On POSIX filesystems with atomic exchange, SoftFileLock restores a live marker after an interrupted exchange and removes its own unfinished marker during cleanup (#1080) by @​gaborbernat. (#993)
  • Unix soft fallback markers exclude group and other writes even on filesystems without atomic exchange (#1057) by @​gaborbernat. (#994)
  • SoftFileLock, MarkerSoftFileLock and SoftFileLease remove empty markers after a signal interrupts marker creation or stale-marker replacement (#1049) by @​gaborbernat. (#996)
  • Unix locks select the soft fallback per resolved path, including after a directory change. The lock keeps its Unix type and supports pid, is_lock_held_by_us, break_lock() and lifetime during fallback (#1057) by @​gaborbernat. (#1000)
  • On POSIX, ReadWriteLock and AsyncReadWriteLock raise RuntimeError in detected subinterpreters, including InterpreterPoolExecutor workers and mod_wsgi or uWSGI subinterpreters. Use the main interpreter or a separate process. Detection on embedded CPython 3.11 requires _xxsubinterpreters or ctypes access to the interpreter C API (#1106) by @​gaborbernat. (#1003)
  • On Windows, SoftFileLock treats a symlink as an occupied marker and leaves its target untouched (#1049) by @​gaborbernat. (#1009)
  • SoftFileLock and SoftFileLease clean up markers and descriptors across interrupted acquires and releases. POSIX unlink errors propagate, with a retry after close on filesystems that require it. Retry release if a timeout interrupts restoration of a displaced marker (#1062) by @​gaborbernat. (#1014)
  • A singleton shared by relative and absolute paths refuses acquisition if a directory change redirects its stored lock path (#1098) by @​gaborbernat. (#1018)
  • ReadWriteLock raises RuntimeError if a directory change redirects a singleton's cached database path (#1058) by @​gaborbernat. (#1019)
  • SoftFileLock, MarkerSoftFileLock and SoftFileLease remove their pending recovery marker even if another process replaces the break name during rollback (#1082) by @​gaborbernat. (#1025)
  • Single-threaded SQLite read and write lock waits allow Python signal handlers to run. Waiting writers keep their place ahead of new readers (#1105) by @​gaborbernat. (#1027)
  • On POSIX, SoftFileLock tries to leave a one-byte recovery record if a full filesystem prevents marker cleanup. With atomic exchange, a later caller can reclaim it when space is available (#1101) by @​Yshuro and @​gaborbernat. (#1029)
  • Windows soft-lock recovery no longer reads proc/self/ns/pid from the drive root when identifying a marker's host (#1036) by @​gaborbernat.
  • On Unix filesystems without flock, waiters can reclaim an interrupted acquire's recovery marker after two seconds if atomic exchange and space for the marker are available (#1057) by @​gaborbernat. (#1046)
  • SoftReadWriteLock recreates a missing generation directory during read or write acquisition, even if a holder record survives (#1103) by @​gaborbernat. (#1102)
  • On POSIX, soft locks close the inspection descriptor if opening an existing marker is interrupted (#1113) by @​gaborbernat. (#1111)
  • Unix locks can use the soft fallback when the directory denies the temporary probe and atomic exchange is unavailable. If native locking works there, new lock files exclude group and other writes by default. Set mode=0o660 for group sharing. The probe removes its temporary name before testing and closes its descriptor on interruption (#1115) by @​gaborbernat. (#1112)
  • ReadWriteLock prevents database redirection in shared, non-sticky directories by placing its hard link in a fresh private directory. Cleanup recognizes older link layouts (#1096) by @​gaborbernat.
  • AsyncFileLock, AsyncReadWriteLock and AsyncSoftReadWriteLock discard executor calls whose submission failed. A queued release can no longer drop a later task's lock (#986) by @​gaborbernat.
  • SoftReadWriteLock scans up to 256 orphan holder records and 256 temporary files per sweep, resuming where it stopped. Each listing removes up to 256 obsolete generations. The lock raises a protocol error above 65,536 generation entries (#1097) by @​gaborbernat.
  • SoftReadWriteLock uses fixed-size fingerprints to bound memory use per holder record during cleanup (#1097) by @​gaborbernat.
  • StrictSoftFileLock backs off above 1,024 public claims and raises SoftFileLockProtocolError above 16,380 directory entries before publication. Sentinel cleanup counts only the lock's own records (#1040) by @​gaborbernat.
  • StrictSoftFileLock creates sentinels and claims without group or other write permissions. Run chmod go-w on older writable sentinels. On Linux, a contender waits if fs.protected_hardlinks prevents it from probing another account's claim (#985) by @​gaborbernat.
  • Timeout and lock_path_occupant now escape control characters and other bytes outside printable non-space ASCII in recorded hostnames (#1090) by @​radhika1314 and @​gaborbernat.
  • A SoftReadWriteLock heartbeat checks the holder token before writing. If another file replaces the record and reuses its inode, the lock reports a lost hold (#982) by @​gaborbernat.
  • A SoftReadWriteLock waiter paused past stale_threshold gets a fresh token so cleanup of its old record cannot remove the new hold (#1097) by @​gaborbernat.
  • A failed acquire rolls back its own nesting level. Releasing that level from a hook or signal handler raises RuntimeError. Balanced nested holds still work. Retrying an interrupted release on a shared instance affects only the original hold. An indefinite acquire raises RuntimeError if a signal handler returns holding the same path through another instance (#1060) by @​gaborbernat.
  • A forked child with its parent's numeric PID in another Linux PID namespace preserves the parent's locks and private SQLite database link (#1075) by @​gaborbernat.
  • After an ambiguous Unix unlock error, FileLock rejects reentrant acquires until an explicit release() retry resolves the hold (#1098) by @​gaborbernat.

... (truncated)

Changelog

Sourced from filelock's changelog.

########### Changelog ###########

.. towncrier-draft-entries:: Unreleased

.. towncrier release notes start

.. _release-4-3-1:


4.3.1 (2026-11-23)


.. _release-4-3-0:


4.3.0 (2026-11-22)


.. _release-4-3-0-added:

Added

  • On Windows, :meth:~filelock.StrictSoftFileLock.release_with_timeout limits the caller's wait for release. If it raises :class:~filelock.ReleasePendingError, call :meth:~filelock.ReleasePendingError.wait on the exception from any thread for the result. On POSIX, release is synchronous (:pr:1107) by :user:gaborbernat. (:pr:1100)

.. _release-4-3-0-fixed:

Fixed

  • :func:~filelock.lock_descriptor raises :class:TypeError unless blocking is a :class:bool (:pr:969) by :user:feiiiiii5 and :user:gaborbernat.
  • On POSIX filesystems with atomic exchange, :class:~filelock.SoftFileLock restores a live marker after an interrupted exchange and removes its own unfinished marker during cleanup (:pr:1080) by :user:gaborbernat. (:pr:993)
  • Unix soft fallback markers exclude group and other writes even on filesystems without atomic exchange (:pr:1057) by :user:gaborbernat. (:pr:994)
  • SoftFileLock, MarkerSoftFileLock and SoftFileLease remove empty markers after a signal interrupts marker creation or stale-marker replacement (:pr:1049) by :user:gaborbernat. (:pr:996)
  • Unix locks select the soft fallback per resolved path, including after a directory change. The lock keeps its Unix type and supports pid, is_lock_held_by_us, break_lock() and lifetime during fallback (:pr:1057) by :user:gaborbernat. (:pr:1000)
  • On POSIX, :class:~filelock.ReadWriteLock and :class:~filelock.AsyncReadWriteLock raise :class:RuntimeError in detected subinterpreters, including InterpreterPoolExecutor workers and mod_wsgi or uWSGI subinterpreters. Use the main interpreter or a separate process. Detection on embedded CPython 3.11 requires _xxsubinterpreters or ctypes access to the interpreter C API (:pr:1106) by :user:gaborbernat. (:pr:1003)
  • On Windows, :class:~filelock.SoftFileLock treats a symlink as an occupied marker and leaves its target untouched

... (truncated)

Commits
  • 7bd2d72 release 4.3.1
  • 98663e3 🧪 test: account for NetBSD lock capabilities (#1125)
  • d9c87b3 🧪 test: check async release ordering on slow runners (#1127)
  • e8066d1 🧪 test(strict): isolate Windows claim withdrawal (#1123)
  • 54e61ea release 4.3.0
  • f213ea2 ♻️ refactor(api): document lock types and share marker and proxy logic (#1122)
  • 2a5a975 ♻️ refactor: group locks by backend (#1121)
  • 61470e9 🧪 test: allow time to acquire a free lock (#1120)
  • 7c9bc7b 🔒 fix(unix): refuse planted hard links for on_acquired callbacks (#1118)
  • 59676b6 📝 docs: shorten unreleased changelog entries (#1119)
  • Additional commits viewable in compare view

Updates httpcore2 from 2.16.0 to 2.16.2

Release notes

Sourced from httpcore2's releases.

v2.16.2

🩹 Type aliases evaluate at runtime again

httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will notice it if your code, or a library you depend on, uses the aliases in httpx2._types inside a runtime typing construct. On 2.16.1, import mistralai.client failed on Python 3.11 to 3.13.

pip install --upgrade httpx2==2.16.2
  • Optional[QueryParamTypes] and QueryParamTypes | None work again (#1346). In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes, CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings. Optional[...] raised SyntaxError for QueryParamTypes and HeaderTypes, and | None raised TypeError for all seven. They are Union[...] objects again, as in 2.16.0.

httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.

Full changelog: v2.16.1...v2.16.2

v2.16.1

🚦 Concurrent HTTP/2 uploads no longer stall

httpx2 and httpcore2 2.16.1 are a patch release. Every change is a fix. You will notice it most if you run several HTTP/2 uploads over one connection, where requests could hang until the read timeout.

pip install --upgrade httpx2==2.16.1
  • Uploads sharing an HTTP/2 connection finish instead of waiting for the read timeout (#1163). Once the flow control window was exhausted, a waiting upload could miss the WINDOW_UPDATE that another task had already read, then block on a read the server had nothing to answer. httpcore2 now rechecks the window after acquiring the read lock.
  • A missing Host header raises LocalProtocolError (#1319). An HTTP/2 request sent directly to an httpcore2 connection without Host raised IndexError before.

🧭 Redirects, proxies and Digest auth

  • A redirect with an invalid Location returns the response when redirects are not followed (#1064). httpx2 raised RemoteProtocolError and discarded the response. You now get the response with its headers, and response.next_request is None.
  • *.example.com in NO_PROXY matches subdomains (#1277). The entry never matched before, so those requests still went through the proxy. It now behaves like .example.com.
  • Digest challenges with mixed-case parameter names are accepted (#1315). A challenge such as Digest Realm="r", Nonce="n" raised ProtocolError before. Whitespace around = is allowed too.

📦 Signed releases

  • The publish workflow generates PEP 740 attestations (#1339). Every distribution is signed before uv publish uploads it. Releases since the move to uv publish had no provenance on PyPI.

Full changelog: v2.16.0...v2.16.1

Commits

Updates httpx2 from 2.16.0 to 2.16.2

Release notes

Sourced from httpx2's releases.

v2.16.2

🩹 Type aliases evaluate at runtime again

httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will notice it if your code, or a library you depend on, uses the aliases in httpx2._types inside a runtime typing construct. On 2.16.1, import mistralai.client failed on Python 3.11 to 3.13.

pip install --upgrade httpx2==2.16.2
  • Optional[QueryParamTypes] and QueryParamTypes | None work again (#1346). In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes, CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings. Optional[...] raised SyntaxError for QueryParamTypes and HeaderTypes, and | None raised TypeError for all seven. They are Union[...] objects again, as in 2.16.0.

httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.

Full changelog: v2.16.1...v2.16.2

v2.16.1

🚦 Concurrent HTTP/2 uploads no longer stall

httpx2 and httpcore2 2.16.1 are a patch release. Every change is a fix. You will notice it most if you run several HTTP/2 uploads over one connection, where requests could hang until the read timeout.

pip install --upgrade httpx2==2.16.1
  • Uploads sharing an HTTP/2 connection finish instead of waiting for the read timeout (#1163). Once the flow control window was exhausted, a waiting upload could miss the WINDOW_UPDATE that another task had already read, then block on a read the server had nothing to answer. httpcore2 now rechecks the window after acquiring the read lock.
  • A missing Host header raises LocalProtocolError (#1319). An HTTP/2 request sent directly to an httpcore2 connection without Host raised IndexError before.

🧭 Redirects, proxies and Digest auth

  • A redirect with an invalid Location returns the response when redirects are not followed (#1064). httpx2 raised RemoteProtocolError and discarded the response. You now get the response with its headers, and response.next_request is None.
  • *.example.com in NO_PROXY matches subdomains (#1277). The entry never matched before, so those requests still went through the proxy. It now behaves like .example.com.
  • Digest challenges with mixed-case parameter names are accepted (#1315). A challenge such as Digest Realm="r", Nonce="n" raised ProtocolError before. Whitespace around = is allowed too.

📦 Signed releases

  • The publish workflow generates PEP 740 attestations (#1339). Every distribution is signed before uv publish uploads it. Releases since the move to uv publish had no provenance on PyPI.

Full changelog: v2.16.0...v2.16.1

Changelog

Sourced from httpx2's changelog.

2.16.2 (November 16th, 2026)

Fixed

  • Restore the Union form of the type aliases in httpx2._types, such as QueryParamTypes and HeaderTypes. In 2.16.1 they were strings, so Optional[QueryParamTypes] raised SyntaxError and QueryParamTypes | None raised TypeError at runtime. (#1346)

2.16.1 (November 16th, 2026)

Fixed

  • Return the response when a redirect has an invalid Location header and redirects are not followed, instead of raising RemoteProtocolError. response.next_request is None in that case. (#1064)
  • Match subdomains for NO_PROXY entries written as *.example.com, the same as .example.com. The entry never matched before, so those requests still went through the proxy. (#1277)
  • Parse Digest challenge parameter names case-insensitively, and allow whitespace around =. A challenge such as Digest Realm="r", Nonce="n" raised ProtocolError before. (#1315)
Commits

Updates packaging from 26.3 to 26.4

Release notes

Sourced from packaging's releases.

26.4

What's Changed

Removals

  • Drop support for EOL Python 3.9. (#1354)

Features

  • Add prepare_environment() and Marker.evaluate_prepared() to evaluate many markers against one prepared environment. Pylock.select() now uses them. (#1469)
  • Add __replace__ to Requirement, Specifier, and SpecifierSet, for copy.replace() on Python 3.13+. (#1377, #1457)
  • Add VersionRange.from_bounds() to make a range from explicit bounds. (#1475)
  • Add VersionRange.snap_bounds() to move range endpoints onto known versions. (#1477)
  • Add VersionRange.relation() and RangeRelation, which give containment and disjointness in one pass. (#1473)
  • Add interpreter_abi(). (#611)
  • Marker.evaluate() accepts a set of names for extra, to evaluate a marker against several selected extras at once. (#1438)
  • Add message, source, and span attributes to InvalidRequirement and InvalidMarker for syntax errors. (#1547, #1554)

Behavior adaptations

  • str() of markers joined with & or | has fewer parentheses when unambiguous. Evaluation and parsed markers do not change. (#1510)
  • The pylock and direct_url dataclasses use __slots__. Pickles from 26.3 still load. (#1366, #1548)
  • Version.__replace__() raises TypeError for unknown keyword arguments instead of ignoring them. (#1378)

Fixes for versions and specifiers

  • Parse plain strings in the iterable form of SpecifierSet, and raise TypeError for elements that are not Specifier or str. (#1485)
  • Reject an empty arbitrary-equality version (===) in specifiers and requirements. (#1430)
  • Reject non-ASCII letters in ~= pre, post, and dev segments....

    Description has been truncated

Bumps the python-versions group with 13 updates in the /src/apps/mcp directory:

| Package | From | To |
| --- | --- | --- |
| [gunicorn](https://github.com/benoitc/gunicorn) | `26.2.0` | `27.0.1` |
| [certifi](https://github.com/certifi/python-certifi) | `2026.10.23` | `2026.11.20` |
| [charset-normalizer](https://github.com/jawah/charset_normalizer) | `3.5.2` | `3.5.3` |
| [click](https://github.com/pallets/click) | `8.5.0` | `8.5.1` |
| [filelock](https://github.com/tox-dev/filelock) | `4.2.9` | `4.3.1` |
| [httpcore2](https://github.com/pydantic/httpx2) | `2.16.0` | `2.16.2` |
| [httpx2](https://github.com/pydantic/httpx2) | `2.16.0` | `2.16.2` |
| [packaging](https://github.com/pypa/packaging) | `26.3` | `26.4` |
| [pydantic](https://github.com/pydantic/pydantic) | `2.14.2` | `2.14.4` |
| [pydantic-core](https://github.com/pydantic/pydantic) | `2.50.2` | `2.50.5` |
| [python-multipart](https://github.com/Kludex/python-multipart) | `0.0.33` | `0.0.34` |
| [regex](https://github.com/mrabarnett/mrab-regex) | `2026.9.29` | `2026.11.23` |
| [sse-starlette](https://github.com/sysid/sse-starlette) | `3.6.0` | `3.7.1` |



Updates `gunicorn` from 26.2.0 to 27.0.1
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@26.2.0...27.0.1)

Updates `certifi` from 2026.10.23 to 2026.11.20
- [Commits](certifi/python-certifi@2026.10.23...2026.11.20)

Updates `charset-normalizer` from 3.5.2 to 3.5.3
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](jawah/charset_normalizer@3.5.2...3.5.3)

Updates `click` from 8.5.0 to 8.5.1
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.md)
- [Commits](pallets/click@8.5.0...8.5.1)

Updates `filelock` from 4.2.9 to 4.3.1
- [Release notes](https://github.com/tox-dev/filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](tox-dev/filelock@4.2.9...4.3.1)

Updates `httpcore2` from 2.16.0 to 2.16.2
- [Release notes](https://github.com/pydantic/httpx2/releases)
- [Commits](pydantic/httpx2@v2.16.0...v2.16.2)

Updates `httpx2` from 2.16.0 to 2.16.2
- [Release notes](https://github.com/pydantic/httpx2/releases)
- [Changelog](https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md)
- [Commits](pydantic/httpx2@v2.16.0...v2.16.2)

Updates `packaging` from 26.3 to 26.4
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@26.3...26.4)

Updates `pydantic` from 2.14.2 to 2.14.4
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.14.2...v2.14.4)

Updates `pydantic-core` from 2.50.2 to 2.50.5
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@core-v2.50.2...core-v2.50.5)

Updates `python-multipart` from 0.0.33 to 0.0.34
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.33...0.0.34)

Updates `regex` from 2026.9.29 to 2026.11.23
- [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt)
- [Commits](mrabarnett/mrab-regex@2026.9.29...2026.11.23)

Updates `sse-starlette` from 3.6.0 to 3.7.1
- [Release notes](https://github.com/sysid/sse-starlette/releases)
- [Commits](sysid/sse-starlette@v3.6.0...v3.7.1)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-version: 27.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-versions
- dependency-name: certifi
  dependency-version: 2026.11.20
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-versions
- dependency-name: charset-normalizer
  dependency-version: 3.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: click
  dependency-version: 8.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: filelock
  dependency-version: 4.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-versions
- dependency-name: httpcore2
  dependency-version: 2.16.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: httpx2
  dependency-version: 2.16.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: packaging
  dependency-version: '26.4'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-versions
- dependency-name: pydantic
  dependency-version: 2.14.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: pydantic-core
  dependency-version: 2.50.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: python-multipart
  dependency-version: 0.0.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-versions
- dependency-name: regex
  dependency-version: 2026.11.23
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-versions
- dependency-name: sse-starlette
  dependency-version: 3.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-versions
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants