-
Notifications
You must be signed in to change notification settings - Fork 2
chore(build): migrate to astral tooling #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replaced Poetry with uv for dependency management and mypy with ty for type checking. Updated build backend to setuptools with uv lockfile support. Modified all development tooling including devbox, lefthook, Dockerfile, README, and CI workflows to use the new Astral ecosystem tools. uv's Rust-based resolver provides significantly faster dependency resolution and installation compared to Poetry. ty offers substantial performance improvements over mypy while maintaining type safety. This migration creates consistency across all Python tooling (ruff, uv, ty) within the Astral ecosystem.
b5ba3a7 to
bb65dc7
Compare
mridang
added a commit
that referenced
this pull request
Jan 29, 2026
Replaced Poetry with uv for dependency management and mypy with ty for type checking. Updated build backend to setuptools with uv lockfile support. Modified all development tooling including devbox, lefthook, Dockerfile, README, and CI workflows to use the new Astral ecosystem tools. uv's Rust-based resolver provides significantly faster dependency resolution and installation compared to Poetry. ty offers substantial performance improvements over mypy while maintaining type safety. This migration creates consistency across all Python tooling (ruff, uv, ty) within the Astral ecosystem. Configured semantic-release-pypi to use uv version command for version bumping instead of its built-in Python script which has environment handling issues.
mridang
added a commit
that referenced
this pull request
Jan 29, 2026
Replaced Poetry with uv for dependency management and mypy with ty for type checking. Updated build backend to setuptools with uv lockfile support. Modified all development tooling including devbox, lefthook, Dockerfile, README, and CI workflows to use the new Astral ecosystem tools. uv's Rust-based resolver provides significantly faster dependency resolution and installation compared to Poetry. ty offers substantial performance improvements over mypy while maintaining type safety. This migration creates consistency across all Python tooling (ruff, uv, ty) within the Astral ecosystem. Configured semantic-release-pypi to use uv version command for version bumping instead of its built-in Python script which has environment handling issues.
mridang
added a commit
that referenced
this pull request
Jan 29, 2026
Replaced Poetry with uv for dependency management and mypy with ty for type checking. Updated build backend to setuptools with uv lockfile support. Modified all development tooling including devbox, lefthook, Dockerfile, README, and CI workflows to use the new Astral ecosystem tools. uv's Rust-based resolver provides significantly faster dependency resolution and installation compared to Poetry. ty offers substantial performance improvements over mypy while maintaining type safety. This migration creates consistency across all Python tooling (ruff, uv, ty) within the Astral ecosystem. Switched from semantic-release-pypi to semantic-release-uv for native uv support in the release pipeline. Updated Dependabot to use the uv package ecosystem.
mridang
added a commit
that referenced
this pull request
Jan 29, 2026
Replaced Poetry with uv for dependency management and mypy with ty for type checking. Updated build backend to setuptools with uv lockfile support. Modified all development tooling including devbox, lefthook, Dockerfile, README, and CI workflows to use the new Astral ecosystem tools. uv's Rust-based resolver provides significantly faster dependency resolution and installation compared to Poetry. ty offers substantial performance improvements over mypy while maintaining type safety. This migration creates consistency across all Python tooling (ruff, uv, ty) within the Astral ecosystem. Switched from semantic-release-pypi to semantic-release-uv for native uv support in the release pipeline. Updated Dependabot to use the uv package ecosystem.
mridang
added a commit
that referenced
this pull request
Jan 30, 2026
Replaced Poetry with uv for dependency management and mypy with ty for type checking. Updated build backend to setuptools with uv lockfile support. Modified all development tooling including devbox, lefthook, Dockerfile, README, and CI workflows to use the new Astral ecosystem tools. uv's Rust-based resolver provides significantly faster dependency resolution and installation compared to Poetry. ty offers substantial performance improvements over mypy while maintaining type safety. This migration creates consistency across all Python tooling (ruff, uv, ty) within the Astral ecosystem. Updated semantic-release to use @semantic-release/exec with native uv commands (uv version, uv build, uv publish) for PyPI releases. Updated Dependabot to use the uv package ecosystem.
github-actions bot
pushed a commit
that referenced
this pull request
Jan 30, 2026
# [4.1.0-beta.8](v4.1.0-beta.7...v4.1.0-beta.8) (2026-01-30) ### Features * migrate from Poetry/mypy to uv/ty for improved performance ([#87](#87)) ([7340d70](7340d70))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Migrated the project from Poetry to uv and from mypy to ty. Replaced the build backend with setuptools, added a uv lockfile, and updated all dev tooling (devbox, lefthook, Dockerfile, README, CI workflows) to use uv and ty.
Motivation and Context
This migration brings several key improvements to the project's tooling and developer experience.
uv's Rust-based resolver is significantly faster than Poetry's Python-based one, providing near-instantaneous dependency resolution and installation. This aligns the project with the official Astral tooling ecosystem, recommended by the creators of ruff. The uv lockfile format is more transparent and easier to audit than Poetry's, while uv's caching and resolution strategies ensure more consistent builds across different environments.
Switching from mypy to ty provides substantial performance improvements in type checking. ty is also part of the Astral ecosystem, creating consistency across all Python tooling (ruff, uv, ty). As a modern type checker actively developed with focus on speed and accuracy, ty represents the current state of the art in Python type checking.
The overall developer experience improves significantly with faster environment setup, unified tooling within a single ecosystem, and maintained alignment as the Astral ecosystem evolves with integrated improvements.
How Has This Been Tested?
Verified formatting with
ruff format ., linting withruff check ., and type checking withty check --no-progress. The complete test suite passes viapytest --junitxml=build/reports/junit.xml, with Docker-dependent tests automatically skipped when Docker is unavailable.Checklist: