Bump the python-packages group across 1 directory with 14 updates

Closed
DE
2mo ago
+356-371

Bumps the python-packages group with 14 updates in the / directory:

PackageFromTo
pydocket0.25.20.26.1
exa-py2.22.22.25.0
inline-snapshot0.35.40.36.0
pytest-mock3.15.13.16.0
beartype0.22.90.23.0rc2
mcp-types2.2.02.3.0
azure-identity1.25.31.26.0
cassetter0.13.00.14.0
hypothesis6.168.06.168.5
griffecli2.3.02.3.2
mypy2.3.12.4.0
ruff0.16.80.16.10
logfire5.1.05.1.1
logfire-api5.1.05.1.1

Updates pydocket from 0.25.2 to 0.26.1

Release notes

Sourced from pydocket's releases.

python/v0.26.1 - Papers, please

Thanks to @​uesleilima for sending in a great feature to support Redis credential providers!

What's Changed

New Contributors

Full Changelog: https://github.com/chrisguidry/docket/compare/0.26.0...python/v0.26.1

0.26.0 - The max edition

Be careful when you set reasoning to max, you may get more than you bargained for!

What does it look like I'm doing??

In preparation for adding Docket implementations in some new languages :crab: :hamster:, I'm shoring up the Python implementation and its tests. During that process, Opus 5.5 on max found a lot of things to work through. All of these are material reliability improvements in the handling of cancellations and shutdown, and all have been tested against the major downstream libraries, like Prefect and FastMCP.

Also big thanks for the first contribution, @​skulitom!

What's Changed

New Contributors

... (truncated)

Commits
  • 7a7c3fd Accept a redis-py credential provider in place of URL credentials (#484)
  • 46fb8a0 Run the same scenarios against each docket implementation (#521)
  • e4a1c4e Move the Lua scripts into protocol/ for every language to share (#520)
  • 9859976 Move pydocket into python/ as the first uv workspace member (#518)
  • ab7e40d Test Redis 6.2 and 8.10 and Valkey 9.1, and require redis-py 6 (#517)
  • b1d7441 Make the worker crash test lose its cancel on every run (#516)
  • 36ea4b5 Stop the worker's infrastructure tasks without relying on their cancel (#515)
  • 1f457b7 Deflake two tests that fail on slow CI runners (#514)
  • 81e3961 Leave a cancelled task pending only while the worker shuts down (#510)
  • 839e366 Publish the cancelled state when a claim refuses a cancelled task (#506)
  • Additional commits viewable in compare view

Updates exa-py from 2.22.2 to 2.25.0

Updates inline-snapshot from 0.35.4 to 0.36.0

Release notes

Sourced from inline-snapshot's releases.

0.36.0

Added

  • The customize hook now receives a snapshot_value argument with the corresponding existing snapshot value, or ... when there is no corresponding snapshot.
Changelog

Sourced from inline-snapshot's changelog.

0.36.0 — 2026-10-02

Added

  • The customize hook now receives a snapshot_value argument with the corresponding existing snapshot value, or ... when there is no corresponding snapshot.

Commits

Updates pytest-mock from 3.15.1 to 3.16.0

Release notes

Sourced from pytest-mock's releases.

v3.16.0

2026-09-27

  • #604: Fixed duplicate_iterators=True for async functions spied with mocker.spy.
  • #611: Fixed async mock assertion introspection to use awaited arguments instead of the latest call's arguments.
  • #606: mocker.resetall(return_value=True, side_effect=True) now also applies to non-callable mocks, such as those returned by mocker.create_autospec(SomeClass, instance=True). Previously both arguments were silently ignored for them.
  • #547: Added SpyType for annotating mocker.spy results.
  • Dropped support for EOL Python 3.9.
  • #147: Removed handling of RuntimeError: stop called on unstarted patcher, which can no longer occur in the supported Python versions.
  • Added support for Python 3.15.
Changelog

Sourced from pytest-mock's changelog.

3.16.0

2026-09-27

  • [#604](https://github.com/pytest-dev/pytest-mock/issues/604) <https://github.com/pytest-dev/pytest-mock/pull/604>_: Fixed duplicate_iterators=True for async functions spied with mocker.spy.
  • [#611](https://github.com/pytest-dev/pytest-mock/issues/611) <https://github.com/pytest-dev/pytest-mock/pull/611>_: Fixed async mock assertion introspection to use awaited arguments instead of the latest call's arguments.
  • [#606](https://github.com/pytest-dev/pytest-mock/issues/606) <https://github.com/pytest-dev/pytest-mock/pull/606>_: mocker.resetall(return_value=True, side_effect=True) now also applies to non-callable mocks, such as those returned by mocker.create_autospec(SomeClass, instance=True). Previously both arguments were silently ignored for them.
  • [#547](https://github.com/pytest-dev/pytest-mock/issues/547) <https://github.com/pytest-dev/pytest-mock/issues/547>_: Added SpyType for annotating mocker.spy results.
  • Dropped support for EOL Python 3.9.
  • [#147](https://github.com/pytest-dev/pytest-mock/issues/147) <https://github.com/pytest-dev/pytest-mock/issues/147>_: Removed handling of RuntimeError: stop called on unstarted patcher, which can no longer occur in the supported Python versions.
  • Added support for Python 3.15.
Commits

Updates beartype from 0.22.9 to 0.23.0rc2

Release notes

Sourced from beartype's releases.

Beartype 0.23.0 Release Candidate 2: For Great Glory of Codebase

FEATURE FREEZE goes "brrr." @​beartype 0.23.0rc2 is the final word in this interminable release cycle. It ends now. @​beartype 0.23.0 lands next Wednesday (September 30th), a day before CPython 3.15.0 itself lands. For the next week, the @​beartype issue tracker is frozen in time like a QA Encino Man. No new features will be resolved. No new issues will be fixed (unless they're the QA equivalent of the Deathly Hallows, in which case we all cry). One more time, we gonna celebrate:

# Via "pip", the once-great venerable master packager now fallen on hard times:
$ pip install --upgrade --pre beartype      # <-- you go, pipe-smoking pip

Via "uv", the plucky upstart spiky-haired kid wielding a sword larger than its body:

$ uv pip install --upgrade --pre beartype # <-- when you no longer have the strength to care about lock files

Via "conda", the corporate scientist in casual lab attire who wants to be your buddy, pal:

$ conda config --add channels conda-forge # <-- where did python packaging go wrong? $ conda install conda-forge::beartype # <-- it all seemed so simple, once.

Flying socker boy: @​beartype 0.23.0rc2. Lamb: your codebase. Soccer ball: your bugs.

@​beartype 0.23.0rc2 knows that no one is laughing anymore. You've had your fill of this release cycle! Frankly, so have we. An entire year of only crushing bugs has taken its toll on many receding hairlines. The reason there are no new features in @​beartype 0.23.0 is the same reason I have no hair. When your younger self writes 100,000 lines of buggy code without testing anything, your older self is guaranteed to suffer. Don't do what the young @​leycec did, people. Upgrade to @​beartype 0.23.0 instead and let something else crush your bugs for once.

@​beartype 0.23.0rc2 is helping @​leycec and his beautiful science wife to eat food. Thanks entirely to...

GitHub Sponsors: Befriend the Bear and Get a Bear for Life

This release comes courtesy these proud GitHub Sponsors, without whom everyone in the @​leycec family would currently be eating grasshoppers in the abandoned back lot again:

If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @​beartype and secure your own workflow is by subscribing to [Tidelift][] through [SonarQube Advanced Security][]. Security giant [Sonar][] recently acquired [Tidelift][], guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.

Thanks so much, masters of fintech and lifted tides.

The Masters of Fintech and Lifted Tides. That's who.

Plum and CrossHair Users: "You Know What to Do"

@​beartype 0.23.0rc2 resolves a variety of compatibility issues for both Plum and CrossHair users. Other downstream dependencies leveraging our public beartype.door.TypeHint API are also likely to benefit.

Everyone else may promptly fall asleep. These are not the QA droids you're looking for. :joy_cat: -> :sob:

sleeping in a burned out coliseum doesn't mean you've hit a new low... does it?

Lastly but Beastly (but not Leastly)...

... (truncated)

Commits
  • c62a014 Beartype 0.23.0 Release Candidate 2: For Great Glory of Codebase
  • ef90676 beartype.door.TypeHint safe memoization x 2.
  • 2b29eaf beartype.door.TypeHint safe memoization x 1.
  • 0d760a1 beartype.door.TypeHint memoization.
  • 6e8ba2d PEP 695 circular type aliases.
  • 61561b1 TypeHint.__eq__ and __hash__ consistency x 4.
  • 6a06c9e TypeHint.__eq__ and __hash__ consistency x 3.
  • 5fa5e69 CrossHair import hook.
  • 70aec93 beartype.typing missing attribute exception x 2.
  • cee4d5a beartype.typing missing attribute exception x 1.
  • Additional commits viewable in compare view

Updates mcp-types from 2.2.0 to 2.3.0

Release notes

Sourced from mcp-types's releases.

v2.3.0

pip install -U mcp. Docs: https://py.sdk.modelcontextprotocol.io/

Mostly fixes, plus three new options. A few things behave differently, so skim these first:

Behaviour changes

httpx2>=2.10.0 is now required (#3600)

  • It was >=2.5.0. The new max_sse_event_size option needs it.
  • Nothing to do unless you pin httpx2 below 2.10.

A tool with an invalid x-mcp-header annotation fails at registration (#3620)

  • @mcp.tool(), add_tool and Tool.from_function raise InvalidSignature, naming the tool and the problem.
  • Until now the server started, and 2026-07-28 clients silently dropped the tool from their listing.
  • Refused: anything other than a plain str, int or bool parameter (so also str | None, float, lists and enums), a header name that isn't a valid token, and two names that differ only by case.
  • For an optional header parameter, give the schema directly: Annotated[str | None, WithJsonSchema({"type": "string", "x-mcp-header": "Region"})] = None.

Empty _meta and params are no longer sent (#3628)

  • On 2025-11-25 and earlier connections, 2.x sent "_meta": {} on every request. Some servers reject that. It is now left out, as in v1.
  • ping and list requests without a cursor go out with no params member.
  • On the receiving side ctx.meta is None rather than {}, and middleware sees ctx.params as None for a request without params.
  • 2026-07-28 connections are unchanged.

initialize leaves out experimental when none is configured (#3614)

  • It used to send "experimental": {}. server/discover already left it out.
  • Client code reading capabilities.experimental on a legacy connection should handle None.

Mcp-Param-* validation looks the tool up by name (#3630)

  • MCPServer no longer runs tools/list for every tools/call, so middleware no longer sees that extra request.
  • The registered schema is what gets checked. Middleware that filters or rewrites tools/list no longer affects it.

An interactive OAuth login no longer counts against request timeouts (#3635)

  • The timeout pauses while OAuthClientProvider waits on redirect_handler and callback_handler.
  • This fixes Client(mode="auto") settling on 2025-11-25 when the login took longer than 10 seconds.
  • A request timeout no longer ends a login nobody finishes. Put a limit inside callback_handler if you need one.

New

  • max_sse_event_size= on streamable_http_client and StreamableHttpParameters. The default stays 1 MiB per SSE event; raise it, or pass None, for larger tool results (#3600).
  • MCPServer(subscriptions=False) stops serving subscriptions/listen and advertises listChanged and subscribe as false (#3626).
  • Server(get_tool_input_schema=...) lets a low-level server supply a tool's schema for header validation without running its tools/list handler (#3630).
  • Client.call_tool re-lists the tools and retries once after a HeaderMismatch (-32020) rejection (#3627).

Fixes

  • ctx: Context[AppState] works on prompts and resource templates, not only on tools (#3624).
  • An explicit "structuredContent": null is checked against the output schema instead of being treated as missing (#3621).
  • A progress_callback that raises no longer fails the call on an in-process Client(server) (#3623).
  • Client OpenTelemetry spans record JSON-RPC error responses. With mode="auto", connecting to a server without server/discover now shows one ERROR span for the probe (#3629).
  • stdio_client resolves the executable off the event loop on Windows (#3510).

... (truncated)

Commits
  • 2118f14 docs: refresh translations for recent English changes (#3636)
  • ed9b2d6 Stop counting an interactive OAuth login against request timeouts (#3635)
  • d5cebd1 Keep inline-snapshot disabled when pytest runs in a terminal (#3634)
  • c15566c Link What's new to the Header parameters page (#3632)
  • 4d29994 Let a newer Deploy Docs run cancel the one in progress (#3633)
  • 0acea60 Bump urllib3 from 2.7.0 to 2.8.0 (#3607)
  • c54075c Look the tool schema up by name for Mcp-Param-* validation instead of running...
  • 9afccae Retry a tool call once after a HeaderMismatch rejection (#3627)
  • cafa33b Record JSON-RPC error responses on the client OpenTelemetry span (#3629)
  • 0b2fd3e Omit an empty _meta and empty params from outbound requests (#3628)
  • Additional commits viewable in compare view

Updates azure-identity from 1.25.3 to 1.26.0

Release notes

Sourced from azure-identity's releases.

azure-identity_1.26.0

1.26.0 (2026-09-30)

Features Added

  • ManagedIdentityCredential now supports user-assigned managed identities on Azure Arc-enabled servers. An identity can be selected by client ID, object ID, or resource ID. Token responses that do not confirm the requested identity are rejected. (#48967)

Bugs Fixed

  • Fixed synchronous Service Fabric managed identity authentication with MSAL 1.39.0 and later. Service Fabric now uses the session from an Azure Core RequestsTransport. (#48967)
  • Fixed an issue where AuthorizationCodeCredential and the asynchronous OnBehalfOfCredential could return a cached token for another account when multiple credentials shared a token cache. (#49001)

Other Changes

  • Added RequestIdPolicy to the default pipeline policies to ensure a unique x-ms-client-request-id header is sent with each request. (#46070)
  • CertificateCredential now passes the PEM private key to MSAL as a str rather than bytes, matching MSAL's documented client_credential contract. (#46801)
  • Bumped the minimum dependency on msal to >=1.39.0.
Commits
  • 30d8bb9 [identity] prepare azure-identity 1.26.0 release (#49290)
  • c7148b7 [identity] Enable user-assigned managed identity for AzureArcCredential (#48967)
  • c5b1f4f [Identity] Fix identity cache issue (#49001)
  • 9d085c1 [AutoPR azure-mgmt-compute-bulkaction]-generated-from-SDK Generation - Python...
  • efc412d [TA] fix release error (#49261)
  • 3d9b8b3 Prepare Responses 2.3.0b2 release (#49281)
  • 8e49d15 [AutoPR azure-mgmt-resiliencemanagement]-generated-from-SDK Generation - Pyth...
  • ef68c78 Preserve canonical agent reference in response snapshots (#49256)
  • 3754db9 Configurations: 'specification/applink/AppLink.Management/tspconfig.yaml', a...
  • 0929352 [Mgmt] Make review drafts and incomplete outcomes reliable (#49275)
  • Additional commits viewable in compare view

Updates cassetter from 0.13.0 to 0.14.0

Release notes

Sourced from cassetter's releases.

v0.14.0 - Assert on what your code sends

🔎 Assert on what your code sends

Cassetter 0.14.0 lets tests check what the code actually sent, catch recordings a test stopped using, and filter whole families of headers.

uv add cassetter==0.14.0
npm install --save-dev cassetter@0.14.0
cargo add cassetter@0.14.0 reqwest
go get github.com/Kludex/cassetter/go@v0.14.0
  • cassette.sent_requests holds the HTTP requests the code sent during the test (#140), whether they were replayed or went live. The default matcher ignores the body, so asserting on cassette.requests keeps passing after the code stops sending a field. Requests are captured before hooks and scrubbing and are never saved.
  • on_unplayed reports recordings a passing test didn't use (#139). Set "warn" or "fail" in vcr_config, on the marker, or with the vcr_on_unplayed ini option. Only passing tests on replay-only cassettes are checked, and unplayed interactions are listed per protocol.
  • filter_headers accepts * patterns and ! exceptions (#141). ["x-*", "!x-amzn-bedrock-*"] drops every x- header except Bedrock's. Plain names are compared faster than before.

⚠️ Upgrading

  • A filter_headers entry containing * or starting with ! is now a pattern, not a literal header name.

Full changelog: v0.13.0...v0.14.0

Commits
  • 89f2d97 Match header filters with * and keep headers with ! entries (#141)
  • 6740b25 Add an opt-in check for interactions a passing test left unplayed (#139)
  • 8a5f606 Capture the HTTP requests the code sends in cassette.sent_requests (#140)
  • cfbe47f Create the release tag from the GitHub release in RELEASING.md (#138)
  • See full diff in compare view

Updates hypothesis from 6.168.0 to 6.168.5

Commits
  • ca2a4c6 Bump hypothesis version to 6.168.5 and update changelog
  • c1c9957 Merge pull request #4894 from MarcoGorelli/django-from-field-return-type
  • d862501 Bump hypothesis version to 6.168.4 and update changelog
  • de4ec1c Merge pull request #4887 from HypothesisWorks/create-pull-request/patch
  • 8a80889 add pypy312 support
  • 9ee265d Update pinned dependencies
  • f92f61c Fix the return type of django's from_field
  • 44b82b2 Bump hypothesis version to 6.168.3 and update changelog
  • aeaafb5 Merge pull request #4888 from gpacix/fix-quadratic-statistics
  • f3f4a29 wording, remove hardcoded test
  • Additional commits viewable in compare view

Updates griffecli from 2.3.0 to 2.3.2

Updates mypy from 2.3.1 to 2.4.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Mypy 2.4

We've just uploaded mypy 2.4.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Python 3.15 Support

Mypy 2.4 supports running on Python 3.15 and type checking most Python 3.15 features. This includes the new builtin sentinel type for sentinel values (PEP 661), which mypy now supports (see below for details). Lazy imports (PEP 810) and unpacking in comprehensions (PEP 798) are also supported. Closed TypedDicts (PEP 728) have been supported since mypy 2.2, but the extra_items TypedDict argument, also introduced in PEP 728, is still unsupported. Support for extra_items will be added in a future mypy release.

Native Parser Enabled by Default

Mypy now uses the new native parser by default. It's based on the Ruff parser, and it's significantly faster than the legacy parser, which uses the stdlib ast module. The native parser also has other benefits:

  • You can target newer Python versions and use recent Python syntax even when running mypy on an older Python version. For example, you can use --python-version 3.15 when running mypy on Python 3.14.
  • Stub files can use syntax that is newer than the target Python version. For example, stubs can use the PEP 695 generic class syntax (class Box[T]: ...) when running on or targeting Python 3.10.
  • Parallel type checking requires the native parser.

The legacy parser is still available through --no-native-parser, or native_parser = False in the config file (native_parser = false under [tool.mypy] in pyproject.toml). We are planning to remove the legacy parser in early 2027. If you run into a problem with the native parser, please report it on the issue tracker.

Unlike the legacy parser, the native parser doesn't support type comments for variables defined by for and with statements. These type comments are silently ignored, and the types of the variables are

... (truncated)

Commits

Updates ruff from 0.16.8 to 0.16.10

Release notes

Sourced from ruff's releases.

0.16.10

Release Notes

Released on 2026-10-01.

Preview features

  • Add a migration guide for categories (#28087)
  • [pyupgrade] Add rule for context manager iterator annotations (UP052) (#29000)

Performance

  • Reduce memory used by diagnostics (#28951)

Server

  • Avoid running uv format in untrusted workspaces (#28873)

Documentation

  • Fix links to moved changelog sections and renamed mdtests (#28941)
  • Add Python 3.15 as a supported version (#28907)
  • Add ty as a type checker example (#28906)

Other changes

  • Update Rust toolchain to 1.99 and MSRV to 1.97 (#29047)

Contributors

Install ruff 0.16.10

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.16.10/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.16.10/ruff-installer.ps1 | iex"

Download ruff 0.16.10

... (truncated)

Changelog

Sourced from ruff's changelog.

0.16.10

Released on 2026-10-01.

Preview features

  • Add a migration guide for categories (#28087)
  • [pyupgrade] Add rule for context manager iterator annotations (UP052) (#29000)

Performance

  • Reduce memory used by diagnostics (#28951)

Server

  • Avoid running uv format in untrusted workspaces (#28873)

Documentation

  • Fix links to moved changelog sections and renamed mdtests (#28941)
  • Add Python 3.15 as a supported version (#28907)
  • Add ty as a type checker example (#28906)

Other changes

  • Update Rust toolchain to 1.99 and MSRV to 1.97 (#29047)

Contributors

0.16.9

Released on 2026-09-24.

Preview features

  • [ruff] Avoid false positives for overloaded division (RUF069) (#28309)

Bug fixes

  • [flake8-bugbear] Avoid false positives for calls with keyword arguments (B009, B010, B043) (#28776)
  • [flake8-tidy-imports] Allow lazy imports to be used in deferred annotations (TID255) (#28767)

Rule changes

  • Update LibCST-based fixes for Python 3.15 (#28616)

... (truncated)

Commits
  • 3265ed1 Bump version to 0.16.10 (#29055)
  • e786964 Authorize shared PR security-review workflow to publish findings (#29052)
  • a81291e [ty] Defer uv workspace discovery until after project configuration (#28525)
  • b6a74d2 [ty] Refresh uv project metadata when uv files change (#28529)
  • 41d30df Update Rust toolchain to 1.99 and MSRV to 1.97 (#29047)
  • 317e0a3 [ty] Bound nested callable signature display (#29049)
  • 8546752 [ty] Fix member lookup on union-bounded type variables (#29018)
  • 56180bc [ty] Specialize instance members once (#29043)
  • aa9a1ff [ty] Avoid stale I/O diagnostics when closing deleted files (#28988)
  • 2d25346 [ty] Improve unresolved-import documentation (#29039)
  • Additional commits viewable in compare view

Updates logfire from 5.1.0 to 5.1.1

Release notes

Sourced from logfire's releases.

v5.1.1

Fixes

  • Handle project setup for accounts without organizations by @​strawgate in #2470
  • Enable TCP keepalive and recycle idle connections in Logfire's HTTP sessions by @​adriangb in #2476
Changelog

Sourced from logfire's changelog.

[v5.1.1] (2026-09-25)

Fixes

  • Handle project setup for accounts without organizations by @​strawgate in #2470
  • Enable TCP keepalive and recycle idle connections in Logfire's HTTP sessions by @​adriangb in #2476
Commits
  • 6b5ac61 Release v5.1.1 (#2483)
  • c26516e [v5] Enable TCP keepalive and recycle idle connections in Logfire's HTTP sess...
  • a5c9fdb [v5] Handle project setup for accounts without organizations (#2470)
  • See full diff in compare view

Updates logfire-api from 5.1.0 to 5.1.1

Release notes

Sourced from logfire-api's releases.

v5.1.1

Fixes

  • Handle project setup for accounts without organizations by @​strawgate in #2470
  • Enable TCP keepalive and recycle idle connections in Logfire's HTTP sessions by @​adriangb in #2476
Changelog

Sourced from logfire-api's changelog.

[v5.1.1] (2026-09-25)

Fixes

  • Handle project setup for accounts without organizations by @​strawgate in #2470
  • Enable TCP keepalive and recycle idle connections in Lo...

    Description has been truncated