<#10176 chore(deps-dev): bump the development-depe...
# meltano-repo-activity
g
#10176 chore(deps-dev): bump the development-dependencies group with 3 updates Pull request opened by dependabot[bot] Bumps the development-dependencies group with 3 updates: mypy, ty and hatchling. Updates
mypy
from 2.1.0 to 2.2.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 (
--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 • `b3c4a5b` Mark release • `396f508` [Chore] Update changelog for 2.2 (#21691) • `9592a9e` Upload wasm wheels to PyPI (#21671) • `1dc6962` Bump ast-serialize to 0.6.0 (#21664) • `96a7913` Bump librt to 0.12.0 (#21663) • `5ef0902` Fix the exportjson tool (.ff cache to .json conversion) (#21628) • `8d621ad` Support --shadow-file with --native-parser (#21623) • `74ecdd8` Sync typeshed (#21612) • `0cd1541` [mypyc] Make function wrappers thread-safe on free-threaded builds (#21620) • `22a9cfd` [mypyc] Make list remove and index thread-safe on free-threaded builds (#21614) • Additional commits viewable in compare view Updates
ty
from 0.0.56 to 0.0.58 Release notes Sourced from ty's releases.
0.0.58
Release Notes
Released on 2026-07-09.
Bug fixes
• Fix protocol matching for class variables (#26669)
• Fix reflected binary dispatch for runtime classes (#26623)
• Support cached properties in protocols (#26681)
Diagnostics
• Add assignability context to upper-bound diagnostics (#26645)
• Add blanket ignore comment rule (#26426)
• Improve protocol attribute diagnostic context (#26644)
Library support
• Pydantic: Add fields from mixin classes (#26631)
• Pydantic: Add support for
validate_by_{name,alias}
(#26598)
• Pydantic: Add support for
validation_alias
(#26629)
• Pydantic: Fix float conversion in unions (#26655)
• Pydantic: Ignore private attributes (#26630)
• Pydantic: Make
BaseSettings
fields optional by default (#26628)
• Pydantic: Recognize frozen models via config (#26648)
• Pydantic: Support dict model configurations (#26632)
• Pydantic: Support validation of
RootModel
fields (#26634)
• Pydantic: Understand ellipsis as providing no default value (#26637)
Core type checking
• Gate membership narrowing on
__contains__
semantics (#25964)
• Handle callable classes in solver (#26090)
• Infer
ModuleType.__doc__
as
str
in the presence of a docstring (#26505)
• Infer metaclass-declared attri…
meltano/meltano