Split docs deps and upgrade Sphinx to 9.1.0#2843
Merged
pvcraven merged 5 commits intodevelopmentfrom Apr 20, 2026
Merged
Conversation
Sphinx 9.x requires Python >=3.12, but arcade supports >=3.10. Move all doc-building deps into a 'docs' dependency group so test CI can skip them on Python 3.10/3.11 via 'uv sync --no-group docs'. Also upgrades sphinx-rtd-theme from 3.0.2 to 3.1.0 (required for Sphinx 9.x compatibility). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RTD was using pip with extra_requirements, but deps are in [dependency-groups] not [project.optional-dependencies], so RTD never actually installed Sphinx. Switch to RTD's native uv support with 'command: sync' and 'groups: [docs]'. Also bump RTD from Python 3.10 to 3.13 and Ubuntu 24.04 (Sphinx 9.x requires Python >=3.12). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
uv does universal resolution across all versions in requires-python (>=3.10), so Sphinx 9.1.0 fails even on Python 3.13. Fix by: - Adding 'python_version >= 3.12' markers to all docs group deps - Removing docs include from dev group (keep them independent) - Code quality CI uses 'uv sync --group docs' explicitly - RTD installs both dev and docs groups Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- pygments 2.19.1 → 2.20.0 - sphinx-togglebutton 0.3.2 → 0.4.5 - sphinx-sitemap 2.6.0 → 2.9.0 - sphinx-autobuild 2024.10.3 → 2025.8.25 - docutils 0.21.2 → 0.22.4 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ':type: tuple (x, y, width, height)' syntax caused Sphinx to interpret x and y as cross-references to class attributes. Use inline code markup instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docsdependency groupuv sync --no-group docsto avoid installing Sphinx on Python 3.10/3.11 (Sphinx 9.x requires Python >=3.12)uv syncwhich installs all groupsuv sync) still gets everything sincedevincludesdocsviainclude-groupTest plan
🤖 Generated with Claude Code