Skip to content

Migrate docs build from requirements.txt/pip to uv - #411

Open
animmosmith wants to merge 4 commits into
409-readme-audit-fixesfrom
399-migrate-docs-build-to-uv
Open

Migrate docs build from requirements.txt/pip to uv#411
animmosmith wants to merge 4 commits into
409-readme-audit-fixesfrom
399-migrate-docs-build-to-uv

Conversation

@animmosmith

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • uv sync --extra classification --group docs succeeds and installs sphinx/myst-nb/jupyter-book/tensorflow/etc.
  • Ran a real end-to-end sphinx-build -b html docs/ <tmp dir> using the resulting environment — build succeeded.
  • flake8 pyopia clean.
  • Fast test subset (pytest -m "not slow and not training") passes: 36 passed.

Closes #399

🤖 Generated with Claude Code

@animmosmith animmosmith self-assigned this Jul 31, 2026
@animmosmith
animmosmith requested a review from emlynjdavies July 31, 2026 14:48
@animmosmith animmosmith added documentation Improvements or additions to documentation patch / enhancement improved functionality or patch indented for changes that require bumping only the PATCH number labels Jul 31, 2026
@animmosmith
animmosmith changed the base branch from main to 409-readme-audit-fixes July 31, 2026 17:00
RTD now installs docs dependencies via `uv sync` using the classification
extra plus a new `docs` dependency group, instead of pip-installing
docs/requirements.txt. Verified with a real end-to-end `sphinx-build` using
the resulting environment.

Closes #399
README's "Build docs locally" section now syncs the docs dependency group
via uv before building, matching the RTD config. Bumped version to 2.16.20
so this PR is ready to merge right after #394, #404, #406, #408, #410.
@animmosmith
animmosmith force-pushed the 399-migrate-docs-build-to-uv branch from acc1531 to a5a0309 Compare August 5, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation patch / enhancement improved functionality or patch indented for changes that require bumping only the PATCH number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate docs build from requirements.txt/pip to uv

2 participants