Skip to content

Manage docs build with a dep group - #4315

Merged
woodruffw merged 3 commits into
mainfrom
ww/docs
Aug 18, 2026
Merged

woodruffw merged 3 commits into
mainfrom
ww/docs

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Summary

This switches us to a proper dep group (named docs) for the MkDocs based doc build.

Also addresses a bunch of Dependabot advisories in the process.

Test Plan

Ran it locally, we'll see what happens in CI.

Signed-off-by: William Woodruff <[email protected]>
@woodruffw
woodruffw requested a review from AlexWaygood August 18, 2026 17:50
@woodruffw woodruffw self-assigned this Aug 18, 2026
@woodruffw woodruffw added the internal An internal refactor or improvement label Aug 18, 2026
Signed-off-by: William Woodruff <[email protected]>
Comment thread pyproject.toml Outdated
dev = ["prek==0.4.11"]
release = ["rooster"]
docs = [
"black>=23.10.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our docs build depends on black?!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 this was in the requirements.in. I'll track it down.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed and nothing broke, so I think it's okay to just delete...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was probably copied-and-pasted from Ruff before we removed Ruff's dependency on black

Signed-off-by: William Woodruff <[email protected]>
@woodruffw
woodruffw merged commit 07cd61a into main Aug 18, 2026
35 checks passed
@woodruffw
woodruffw deleted the ww/docs branch August 18, 2026 18:20
zanieb pushed a commit that referenced this pull request Aug 18, 2026
Builds on #4315.

Python tooling can currently build third-party source distributions. Set
`no-build` in the project configuration so the documentation group and
other project-managed tooling require wheels.

Co-authored-by: zaniebot <[email protected]>
zanieb added a commit that referenced this pull request Aug 18, 2026
Release workflows can restore shared GitHub caches through automatic
tool caching and Docker builds. Explicitly disable caching in release
invocations of `setup-uv`, `setup-python`, and `maturin-action`, and
remove the Docker GitHub cache configuration. Unrelated test and
benchmark caches are unchanged.

Port of astral-sh/uv#21168. This retains the docs dependency-group
migration from #4315 and disables caching on its new `setup-uv` step.

Co-authored-by: Zanie Blue <[email protected]>
zaniebot pushed a commit to zaniebot/ruff that referenced this pull request Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants