Skip to content

Conversation

@davidism
Copy link
Member

@davidism davidism commented May 12, 2025

Use uv to manage dev dependencies.

  • tox-uv sets up envs with uv and dependency groups
  • the min and dev test envs need to use a uv pip command to install specific versions after env setup, as there's no way to tell uv to use a different lock file or to tell tox-uv to use dependency groups and individual installs.
  • pre-commit-uv sets up envs with uv
  • workflows use uv to install dependencies, but still use setup-python to install python itself, since that's already cached by github.
  • use uv to build during publish workflow
  • read the docs uses a custom build step
  • tox config is moved into pyproject.toml
  • use new license metadata
  • add a tox r -e docs-auto to start a local server that rebuilds on docs changes

New env setup steps are:

  1. install uv
  2. uv sync
  3. uv tox (or activate venv as before)

@davidism davidism added this to the 3.1.1 milestone May 12, 2025
@davidism davidism merged commit 941efd4 into stable May 12, 2025
13 checks passed
@davidism davidism deleted the uv branch May 12, 2025 01:04
konstin added a commit to astral-sh/uv that referenced this pull request May 12, 2025
pallets/flask#5727 broke our ecosystem checks, for now we're pinning the Git refs to unblock CI.
konstin added a commit to astral-sh/uv that referenced this pull request May 12, 2025
pallets/flask#5727 broke our ecosystem checks,
for now we're pinning the Git refs to unblock CI.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants