Skip to content

core: bump mypy from 2.1.0 to 2.3.0 - #24724

Merged
BeryJu merged 2 commits into
mainfrom
dependabot/uv/mypy-2.3.0
Aug 4, 2026
Merged

BeryJu merged 2 commits into
mainfrom
dependabot/uv/mypy-2.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bumps mypy from 2.1.0 to 2.3.0.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Packaging changes

Mypy 2.3

We've just uploaded mypy 2.3.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.

The Upcoming Switch to the New Native Parser

We are planning to enable the new native parser (--native-parser) by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.

Mypyc Free-threading Memory Safety

Free-threaded Python builds that don't have the GIL require additional synchronization primitives or lock-free algorithms to ensure memory safety when there are race conditions (for example, when a thread reads a list item while another thread writes the same list item concurrently). This release greatly improves memory safety of free threading.

List operations are now memory-safe on free threaded Python builds, even in the presence of race conditions. This has some performance cost. For list-heavy workloads, using librt.vecs.vec instead of list is often significantly faster, but note that vec is not (and likely won't be) fully memory safe, and the user is expected to avoid race conditions. The newly introduced librt.threading.Lock helps with this. Using variable-length tuples can also be more efficient than lists, since tuples are immutable and don't require expensive synchronization to ensure memory safety.

Instance attribute access is also (mostly) memory safe now on free-threaded builds in the presence of race conditions. We are planning to fix the remaining unsafe cases in a future release.

Full list of changes:

  • Make attribute access memory safe on free-threaded builds (Jukka Lehtosalo, PR 21705)
  • Fix unsafe borrowing of instance attributes with free-threading (Jukka Lehtosalo, PR 21688)
  • Make list get/set item more memory safe on free-threaded builds (Jukka Lehtosalo, PR 21683)
  • Don't borrow list items on free-threaded builds (Jukka Lehtosalo, PR 21679)
  • Make multiple assignment from list memory-safe on free-threaded builds (Jukka Lehtosalo, PR 21684)

... (truncated)

Commits
  • 8aabf84 Drop +dev from version
  • 4d8ad2a Update changelog for 2.3 release (#21728)
  • 2c21546 [mypyc] Update documentation of race conditions under free threading (#21726)
  • a9f62a3 [mypyc] Make attribute access memory safe on free-threaded builds (#21705)
  • 0faa413 Use PYODIDE environment variable for Emscripten cross-compilation detection...
  • 3d75cdb [mypyc] Borrow final attributes more aggressively (#21702)
  • 24c237d [mypyc] Improve documentation of Final (#21713)
  • b5be217 [mypyc] Update free threading Python compatibility docs (#21711)
  • cbcb51a Narrow for frozendict membership check (#21709)
  • af2bc0f Sync typeshed (#21707)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mypy](https://github.com/python/mypy) from 2.1.0 to 2.3.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v2.1.0...v2.3.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 4, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 4, 2026 04:09
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 4, 2026
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 6a432c9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a71660bdf02270008f81310
😎 Deploy Preview https://deploy-preview-24724--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.19%. Comparing base (0ecbe0f) to head (2966f88).
⚠️ Report is 13 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24724      +/-   ##
==========================================
- Coverage   91.22%   91.19%   -0.04%     
==========================================
  Files        1128     1128              
  Lines       70739    70739              
  Branches     3874     3874              
==========================================
- Hits        64533    64507      -26     
- Misses       6171     6197      +26     
  Partials       35       35              
Flag Coverage Δ
conformance 35.14% <ø> (+<0.01%) ⬆️
e2e 39.91% <ø> (+<0.01%) ⬆️
integration 31.23% <ø> (-0.47%) ⬇️
rust 38.90% <ø> (ø)
unit 92.90% <ø> (+<0.01%) ⬆️
unit-migrate 92.92% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 2966f88
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a71bcc7884f190008be7b87
😎 Deploy Preview https://deploy-preview-24724--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@BeryJu
BeryJu merged commit a54ebda into main Aug 4, 2026
145 checks passed
@BeryJu
BeryJu deleted the dependabot/uv/mypy-2.3.0 branch August 4, 2026 10:49
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-2966f8892aade58a4011963a34243f314647ebcd
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-2966f8892aade58a4011963a34243f314647ebcd

Afterwards, run the upgrade commands from the latest release notes.

kensternberg-authentik added a commit that referenced this pull request Aug 6, 2026
* main:
  docs: fix broken link in 2026.11 release notes draft (#24746)
  providers/oauth2: token exchange delegation (#24356)
  core, web: update translations (#24717)
  enterprise/requests: only show requests tab when usable (#24705)
  website/integrations: Update absorb-lms (#24731)
  website/integrations: Update kimai for slo, urls, and issuer (#24730)
  core: bump mypy from 2.1.0 to 2.3.0 (#24724)
  website/docs: Add feedback from previous agent pr (#24713)
  core: bump aiohttp from 3.14.1 to 3.14.3 (#24712)
  ci: bump taiki-e/install-action from 2.85.5 to 2.85.6 in /.github/actions/setup (#24729)
  core: bump github.com/go-openapi/runtime from 0.32.6 to 0.33.0 (#24719)
  core: bump gorm.io/driver/postgres from 1.6.1 to 1.6.2 (#24720)
  website: bump openapi-to-postmanv2 from 6.3.1 to 6.3.2 in /website (#24721)
  core: bump pnpm/pnpm from 11.18.0 to 11.19.0 in /lifecycle/container (#24722)
  core: bump goauthentik/fips-python from `6b3c0fc` to `ca59498` in /lifecycle/container (#24723)
  ci: bump docker/login-action from 3 to 4 (#24725)
  core: bump astral-sh/uv from 0.12.0 to 0.12.1 in /lifecycle/container (#24726)
  core: bump pnpm/pnpm from 11.18.0 to 11.19.0 in /website (#24727)
  core: bump clap from 4.6.4 to 4.6.5 (#24728)
  website/docs: document API scope and domain join required by the authentik Agent (#24599)
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant