Skip to content

Docs: Only install sphinx-autobuild for make htmllive - #119607

Merged
hugovk merged 2 commits into
python:mainfrom
hugovk:sphinx-autobuild-only-for-htmllive
May 27, 2024
Merged

hugovk merged 2 commits into
python:mainfrom
hugovk:sphinx-autobuild-only-for-htmllive

Conversation

@hugovk

@hugovk hugovk commented May 27, 2024 •

Copy link
Copy Markdown
Member

Doctest is failing on the CI because sphinx-autobuild depends on watchfiles, which is Rust and had a new release 2h ago, and fails with a Python 3.14 build:

error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.12)
= help: please check if an updated version of PyO3 is available. Current version: 0.21.2
= help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI

https://github.com/python/cpython/actions/runs/9256019877/job/25462093382?pr=119541#step:7:161

we don't need sphinx-autobuild on the CI, let's only install it when doing make htmllive.


📚 Documentation preview 📚: https://cpython-previews--119607.org.readthedocs.build/

@vstinner vstinner left a comment

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.

LGTM.

@hugovk
hugovk merged commit 88e3fee into python:main May 27, 2024
@hugovk
hugovk deleted the sphinx-autobuild-only-for-htmllive branch May 27, 2024 17:29
@miss-islington-app

Copy link
Copy Markdown

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2024
)

(cherry picked from commit 88e3fee)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented May 27, 2024

Copy link
Copy Markdown

GH-119621 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2024
)

(cherry picked from commit 88e3fee)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label May 27, 2024
@bedevere-app

bedevere-app Bot commented May 27, 2024

Copy link
Copy Markdown

GH-119622 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label May 27, 2024
hugovk added a commit that referenced this pull request May 27, 2024
…9607) (#119622)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull request May 27, 2024
…9607) (#119621)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants