Skip to content

fix: pin sphinx<9 to fix docs build#708

Merged
skrawcz merged 1 commit intoapache:mainfrom
andreahlert:fix/pin-sphinx-version
Mar 28, 2026
Merged

fix: pin sphinx<9 to fix docs build#708
skrawcz merged 1 commit intoapache:mainfrom
andreahlert:fix/pin-sphinx-version

Conversation

@andreahlert
Copy link
Copy Markdown
Collaborator

Closes #707

sphinx-toolbox 4.1.2 imports sphinx.ext.autodoc.logger, removed in Sphinx 9.x. The CI installs Sphinx unpinned and started pulling 9.1.0 around Mar 18, breaking build-docs on all PRs since.

This pins sphinx<9 in the [documentation] extra until sphinx-toolbox ships a compatible release.

sphinx-toolbox 4.1.2 imports sphinx.ext.autodoc.logger which was
removed in Sphinx 9.x. Pin until sphinx-toolbox releases a fix.

Closes apache#707
@andreahlert andreahlert requested a review from skrawcz March 28, 2026 18:54
@andreahlert andreahlert self-assigned this Mar 28, 2026
@skrawcz skrawcz merged commit ecb5533 into apache:main Mar 28, 2026
10 checks passed
@andreahlert andreahlert deleted the fix/pin-sphinx-version branch March 28, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build-docs CI failing: Sphinx 9.x incompatible with sphinx-toolbox

2 participants