Skip to content

Conversation

@dsillman2000
Copy link
Owner

@dsillman2000 dsillman2000 commented Feb 7, 2026

Overview

Migrates project from Poetry to uv for dependency management, with enhanced type safety, linting, and CI/CD improvements.

Key Changes

  • Dependency Management: Replaced Poetry with uv (removed poetry.lock, added uv.lock)
  • Build System: Updated to hatchling with uv-dynamic-versioning
  • CI/CD:
    • Added comprehensive test workflow (test.yml) running uv run pytest tests/ -sv
    • Tests run on all pushes, pull requests, and releases
    • Tests across Python 3.9-3.13 matrix
    • Release workflow now includes test job as prerequisite
  • Code Quality: Added comprehensive type annotations (Optional[str]) and switched to ruff for linting/formatting
  • Bug Fix: !reference-all sorts paths retrieved for deterministic behavior.

File Changes

Modified (13 files): .github/workflows/release.yml, .pre-commit-config.yaml, Makefile, pyproject.toml, test files, and core Python modules
Added (2 files): uv.lock, .github/workflows/test.yml
Removed: poetry.lock

Migration Notes

  • Use uv sync instead of poetry install
  • Build with uv build instead of poetry
  • All existing tests pass with the new setup
  • New test workflow ensures code quality on all MRs and releases

This MR modernizes the project's tooling while maintaining compatibility and improving code quality with comprehensive testing.

@dsillman2000 dsillman2000 merged commit 5d14707 into main Feb 7, 2026
5 checks passed
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