← Back to issue list

build!: switch from using extras to dependency groups

View original Github issue

Metadata

Project
starbase
Number
#330
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged a breaking change replacing project extras with standard dependency groups. Updated the ReadTheDocs build to use uv for faster execution and fixed the PR template. Approved by a maintainer after passing CI.

Suggested action:

No scores available.

Issue body

This switches from using extras to using dependency groups, now that they are [considered standard](https://packaging.python.org/en/latest/specifications/dependency-groups/#dependency-groups). It also adjusts the readthedocs build to use uv so that we can use those groups, with a side effect of speeding up the RTD builds (more noticeable here than in bigger projects). As a drive-by, it also fixes the PR template. This is marked as a breaking change because the changes to pyproject.toml and common.mk are mutually dependent.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a breaking change replacing project extras with standard dependency groups. Updated the ReadTheDocs build to use uv for faster execution and fixed the PR template. Approved by a maintainer after passing CI.
qwen3.6-35b-a3b-mtp-q6 Merged a breaking change replacing project extras with standard dependency groups. Updated the ReadTheDocs build to use uv for faster execution and corrected the PR template. Approved by maintainers.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1018 build: use uv plugin to build rockcraft merged Merged to switch to the uv plugin for building. A failing CI check due to a dependency on PR #1019 was accepted, with the maintainer noting the tests will pass once the dependent PR is integrated.
72%
#6133 build: fix docs-install target snapcraft merged Merged a fix for the docs-install Makefile target that resolved redundant dependency installation. The change removes an extra uv sync call, ensuring docs targets work after make setup. Approved by reviewers and passed CI.
72%
#798 build: update deps craft-application merged Merged after receiving two approvals and passing all CI checks. Updates build dependencies and supersedes broken PRs #794, #779, and #802. Changes two files with 116 additions and 98 deletions.
71%
#261 build: switch to dependency groups craft-store closed Merged to switch build configuration to dependency groups, incorporating upstream changes from canonical/starbase.
70%