Repository navigation
ci: build the docs on Python 3.13 from the doc extra - #163
Merged
Merged
Conversation
build_docs installed a 2022 conda lockfile (Python 3.9, Sphinx 4.5) on a machine executor. Once its cache expired, conda kept solving the environment until CircleCI killed the job, and Python 3.9 and Sphinx 4.5 can no longer build the package anyway (Sphinx 4.5 needs imghdr, gone in Python 3.13). The job now runs on the python/default 3.13 executor and installs the package with its doc extra. The doc extra drops the Sphinx 4 pin and adds IPython, whose lexer highlights the notebooks' ipython3 cells; conf.py sets language = 'en', which Sphinx now requires. docs/environment.yml had no other users. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nbsphinx converts the notebooks' Markdown cells with pandoc, which the conda lockfile provided and the python/default image lacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
oesteban
added a commit
that referenced
this pull request
Dec 3, 2026
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
build_docsfails before Sphinx starts. It installed a 2022 conda lockfile (Python 3.9, Sphinx 4.5); its cache expired, and conda now solves that environment until CircleCI kills the job (#160, job 5274). Python 3.9 and Sphinx 4.5 could not build the package anymore anyway.It unblocks the docs builds of #160 and of the docs PRs #151 to #153. Once this merges, master is merged into #160.
Evidence
Solving environment: ... Received "killed" signal, with no cache for anyenv-v7-key. The pinned extra on Python 3.13 stops atCould not import extension sphinx.builders.epub3 (exception: No module named 'imghdr').build_docspasses on this branch (job). Locally, as the job runs it (fresh Python 3.13,pip install -e '.[doc]',make -C docs SPHINXOPTS="-W" html, a PATH with only the environment,/usr/bin,/binand pandoc), Sphinx 9.2.0:PandocMissing in notebooks/01_Quickstart.ipynb(first run of this branch); without IPython,-Wfails on 29Pygments lexer name 'ipython3' is not knownwarnings from the notebooks; withoutlanguage = 'en', on an invalid configuration value.Merge Danger
Door: two-way
Blast Radius: CI only
The docs build and the tag-only
deploy_pypi, which requiresbuild_docs. Reverting restores the old job, which does not run without its cache. Thedocextra now installs current Sphinx, for contributors who build the docs locally.