github astral-sh/ty 0.0.1-alpha.31

pre-release6 hours ago

Release Notes

Released on 2025-12-04.

Bug fixes

  • Fix incorrect possibly-missing-attribute diagnostics for asyncio imports on Python 3.14 (#21776)
  • Fix panic for recursive type aliases (#21778)

Core type checking

  • Try ancestor pyproject.toml directories as search-paths if module resolution fails (#21745)
  • Sync vendored typeshed stubs (#21715) Typeshed diff

LSP server

  • Don't send publish diagnostics for clients supporting pull diagnostics (#21772)
  • Fix crash when hovering over string annotations with unknown symbols (#21782)

Diagnostics

  • Add subdiagnostic hint if the user wrote X = Any rather than X: Any (#21777)
  • Improve the display of various special-form types (#21775)

Contributors

Install ty 0.0.1-alpha.31

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.31/ty-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.31/ty-installer.ps1 | iex"

Download ty 0.0.1-alpha.31

File Platform Checksum
ty-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ty-x86_64-apple-darwin.tar.gz Intel macOS checksum
ty-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ty-i686-pc-windows-msvc.zip x86 Windows checksum
ty-x86_64-pc-windows-msvc.zip x64 Windows checksum
ty-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
ty-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
ty-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
ty-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
ty-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
ty-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
ty-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
ty-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
ty-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
ty-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
ty-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
ty-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum

Don't miss a new ty release

NewReleases is sending notifications on new releases.