X Tutup
Skip to content

[3.14] gh-139588: Docs: fix PDF build#145741

Open
m-aciek wants to merge 2 commits intopython:3.14from
m-aciek:3.14-pdf-svg-dedicated-venv
Open

[3.14] gh-139588: Docs: fix PDF build#145741
m-aciek wants to merge 2 commits intopython:3.14from
m-aciek:3.14-pdf-svg-dedicated-venv

Conversation

@m-aciek
Copy link
Contributor

@m-aciek m-aciek commented Mar 10, 2026

Partial cherry-pick from fc03cdc commit. It wouldn't apply clearly automatically, because Doc/library/profiling.sampling.rst is not on 3.14 branch.


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

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 267e1c1149

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

When running `make -j`, the `_ensure-sphinxcontrib-svg2pdfconverter` and `build` prerequisites of the `latex` target could execute in parallel. If `build` started before the venv was created by `_ensure-sphinxcontrib-svg2pdfconverter`, `sphinx-build` would not be found and the build would fail.

Fix this by removing `build` from the prerequisites and invoking it explicitly from the recipe, ensuring the venv is fully set up before the Sphinx build begins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup