Release Notes
Released on 2026-11-13.
Bug fixes
- Avoid spurious syntax warnings when applying fixes (#30404)
- Fix a panic checking class decorators with inferred return types (#30399)
- Infer nested classes as read-only attributes (#29346)
- Infer value types for bare
FinalandClassVar(#30293) - Preserve excluded types when inferring type variable upper bounds (#30237)
- Preserve inherited value types on repeated bare ClassVar annotations (#30396)
- Respect return constraints when promoting literal arguments (#30153)
LSP server
- Resolve pytest fixtures registered through pytest_plugins (#29588)
Contributors
Install ty 0.0.103
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.103/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.103/ty-installer.ps1 | iex"Download ty 0.0.103
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/tyYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>