Skip to content

Switch to uv #250

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Switch to uv #250

wants to merge 5 commits into from

Conversation

ghickman
Copy link
Contributor

@ghickman ghickman commented Apr 22, 2025

⚠️ Do not merge until #239 is in, I don't to update the readme twice! ⚠️

This switches the project from using uv's pip and pip-compile interfaces to the full pyproject-configured usage.

Some benefits:

  • All configuration is now in pyproject.toml, including the dependency specs from requirements.*.in
  • uv run lets us treat virtualenvs and pythons as an implementation detail of the project, uv will make sure we have everything set up correctly
  • The required python version is now defined in a standards-compliant fashion in the project block of pyproject.toml.

Note: dependency caching in CI is on by default on GitHub-hosted runners with setup-uv, which is why there is no caching configuration for that action.

@ghickman ghickman marked this pull request as ready for review April 22, 2025 14:31
Base automatically changed from bump-sphinx to main April 24, 2025 14:18
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