Skip to content

Chore/migrate root to uv#216

Open
ChrsBaur wants to merge 3 commits intomasterfrom
chore/migrate-root-to-uv
Open

Chore/migrate root to uv#216
ChrsBaur wants to merge 3 commits intomasterfrom
chore/migrate-root-to-uv

Conversation

@ChrsBaur
Copy link
Copy Markdown
Contributor

@ChrsBaur ChrsBaur commented May 3, 2026

  • New lint job in CI (tests.yml) runs ruff check and ruff format --check on hooks/ and tests/ on every push and PR.
  • Added ruff>=0.15.12 to dev dependencies with [tool.ruff] config (excludes Jinja2 template files).

Changed

  • Migrated root tooling from Poetry to uv: pyproject.toml converted to PEP 621 [project] format, poetry.lock replaced by uv.lock, GitHub Actions workflow updated to use astral-sh/setup-uv@v5 (via uvx migrate-to-uv).
  • Renamed CI workflow tests-poetry.ymltests.yml; updated badge in README.
  • Updated actions/checkout from v5 to v6 in CI.
  • Updated typer from ^0.21.1 to >=0.25.0, setuptools from ^80.10.2 to >=82.0.0 (Renovate).
  • Updated pre-commit hooks in generated project template: astral-sh/ruff-pre-commit v0.14.14 → v0.15.12, pycqa/isort 6.1.0 → 8.0.1, asottile/pyupgrade v3.20.0 → v3.21.2 (Renovate).
  • Updated uv Dockerfile base image from python:3.13-slim-bookworm to python:3.14-slim-bookworm (Renovate).

ChrsBaur added 3 commits May 4, 2026 01:41
- Converted pyproject.toml to PEP 621 [project] format with package=false
- Replaced poetry.lock with uv.lock (generated via uvx migrate-to-uv)
- Replaced tests-poetry.yml with tests.yml using astral-sh/setup-uv@v5
- Bumped actions/checkout v5 -> v6
- Bumped typer ^0.21.1 -> >=0.25.0, setuptools ^80.10.2 -> >=82.0.0
- Updated template pre-commit hooks: ruff v0.15.12, isort 8.0.1, pyupgrade v3.21.2
- Updated Dockerfile__uv runtime image to python:3.14-slim-bookworm
- Add lint job to tests.yml (ruff check + format --check on hooks/ and tests/)
- Add ruff>=0.15.12 to dev dependencies with [tool.ruff] config
- Fix 21 existing violations: deprecated typing imports, Optional -> X|None,
  unsorted imports, unnecessary open mode argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant