Files
David Peter b0015ad905 [ty] Fix variance inference for frozen Pydantic models on 3.12 and earlier (#30452)
## Summary

Fixes astral-sh/ty#5035.

When targeting Python 3.12 or earlier, infer covariance for read-only
fields on Pydantic models frozen through a class keyword or
`ConfigDict`. Use the same setter lookup as assignment checking so a
custom `__setattr__` keeps the model invariant. On Python 3.13 and
later, the synthesized `__replace__` still makes these models invariant.
2026-11-18 11:06:08 +01:00
..

mdtests with external dependencies

This directory contains mdtests that make use of external packages. See the mdtest README.md for more information.