GitHub
07/24/2026, 8:56 PMmypy from 2.2.0 to 2.3.0
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Packaging changes
• No longer provide mypyc-accelerated wheels for macOS x86_64 [mypyc-wheels #119](mypyc/mypy_mypyc-wheels#119)
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 () by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.--native-parser
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 thatis not (and likely won't be) fully memory safe, and the user is expected to avoid race conditions. The newly introducedvechelps 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.librt.threading.Lock
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
Updates ty from 0.0.58 to 0.0.60
Release notes
Sourced from ty's releases.
0.0.60
Release Notes
Released on 2026-07-15.
Bug fixes
• Expand transparent callable workaround with overloads and(#26761)Awaitable[T]
• Separate type-mapping caches by transformation mode (#26857)
• Avoid recursive protocol union redundancy checks (#26689)
• Handle recursive protocols in redundant-cast checks (#26708)
LSP server
• Prevent type that is written with a code span from being incorrectly re-wrapped during docstring Markdown rendering (#26723)
Library support
• Pydantic: Supportand custom initializers (#26764)populate_by_name
• Pydantic: Warn about immediately discarded extra arguments (#26762)
Diagnostics
• Narrow TypeGuard keyword arguments and remove(#26809)invalid-type-guard-call
• Support own-line suppression comments (#26785)
Core type checking
• Derive descriptor setter domains for protocols (#26683)
• Handle cycles in derived constraint relations (#26814)
• Implement unified generic call inference (#26141)
• Preserve constraints from bound receivers (#26776)
• Project exact-length narrowing through TypeVars (#26852)
• Resolve PEP 695 aliases in type[...] annotations (#26842)
• Retain sequence pattern narrowing in successfulcases (#26807)match
• Support class and static protocol methods (#26574)
• Support class objects satisfying instance-method protocols (<https://redirect.github.com/astra…meltano/meltano
GitHub
07/24/2026, 9:17 PM