Skip to content

Switch to uv as Python package manager#400

Merged
JanPetterMG merged 20 commits intomainfrom
chore/uv-migration
Mar 10, 2026
Merged

Switch to uv as Python package manager#400
JanPetterMG merged 20 commits intomainfrom
chore/uv-migration

Conversation

@JanPetterMG
Copy link
Copy Markdown
Collaborator

@JanPetterMG JanPetterMG commented Mar 7, 2026

Summary

This PR migrates the repository from pip + multiple requirements.txt files to uv for dependency management and locking.

The change consolidates Python configuration and dependencies into a single pyproject.toml located at the repository root, replacing the previous fragmented setup.

Key changes

  • Dependency management

    • Replaced four separate requirements.txt files with pyproject.toml.
    • Introduced uv as the package and environment manager.
    • Enables deterministic dependency resolution and locking.
  • Project structure

    • Moved pyproject.toml from a subdirectory to the repository root.
    • Simplifies tooling discovery and aligns with standard Python project layouts.
  • Tooling configuration

    • Removed ruff.toml.
    • Ruff configuration is now defined inside pyproject.toml.

Benefits

  • Single source of truth for dependencies and tooling.
  • Locked dependency resolution via uv.
  • Reduced configuration fragmentation.
  • Improved compatibility with modern Python tooling.

Notes

  • Dependency groups replace the previous role of separate requirements.txt files.
  • CI and scripts have been updated to install dependencies through uv.

Migration impact

No functional changes to the project itself.
This PR strictly affects dependency management and configuration layout.

@JanPetterMG JanPetterMG added documentation Improvements or additions to documentation tools Toolbox related chore This issue or pull request is a maintenance task extra Optional resources labels Mar 7, 2026
@JanPetterMG JanPetterMG changed the title Migrate from pip to vu Migrate from pip to uv Mar 8, 2026
@JanPetterMG JanPetterMG marked this pull request as ready for review March 9, 2026 22:55
@JanPetterMG JanPetterMG added this to the v2.3.0 milestone Mar 9, 2026
@JanPetterMG JanPetterMG changed the title Migrate from pip to uv Switch to uv as Python package manager Mar 9, 2026
@JanPetterMG JanPetterMG marked this pull request as draft March 10, 2026 13:16
@JanPetterMG JanPetterMG marked this pull request as ready for review March 10, 2026 15:18
@JanPetterMG JanPetterMG enabled auto-merge (squash) March 10, 2026 15:53
@JanPetterMG JanPetterMG merged commit a740db2 into main Mar 10, 2026
153 checks passed
@JanPetterMG JanPetterMG deleted the chore/uv-migration branch March 10, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore This issue or pull request is a maintenance task documentation Improvements or additions to documentation extra Optional resources tools Toolbox related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant