Skip to content

Commit ade6429

Browse files
igerberclaude
andcommitted
Sync ipython>=8.0 into pyproject docs extras + .readthedocs.yaml
Companion to commit 51022b5 which added ipython to the workflow only. Per the workflow comment "Keep in sync with pyproject.toml [project.optional-dependencies.docs] and .readthedocs.yaml post_install", add the same dep to the other two surfaces so RTD builds (which run without -W) also stop emitting silent highlighting_failure warnings on notebook code cells. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 51022b5 commit ade6429

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build:
1818
#
1919
# Keep in sync with pyproject.toml [project.dependencies]
2020
# and [project.optional-dependencies.docs].
21-
- pip install "numpy>=1.20.0" "pandas>=1.3.0" "scipy>=1.7.0" "sphinx>=6.0" "pydata-sphinx-theme>=0.15" "sphinxext-opengraph>=0.9" "sphinx-sitemap>=2.5" "nbsphinx>=0.9" "matplotlib>=3.5"
21+
- pip install "numpy>=1.20.0" "pandas>=1.3.0" "scipy>=1.7.0" "sphinx>=6.0" "pydata-sphinx-theme>=0.15" "sphinxext-opengraph>=0.9" "sphinx-sitemap>=2.5" "nbsphinx>=0.9" "matplotlib>=3.5" "ipython>=8.0"
2222

2323
# Build documentation in the "docs/" directory with Sphinx
2424
sphinx:

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ docs = [
7373
"sphinx-sitemap>=2.5",
7474
"nbsphinx>=0.9",
7575
"matplotlib>=3.5",
76+
# ipython provides the 'ipython3' Pygments lexer used by nbsphinx for
77+
# notebook code cells; without it Sphinx emits highlighting_failure
78+
# warnings on every notebook.
79+
"ipython>=8.0",
7680
]
7781

7882
[project.urls]

0 commit comments

Comments
 (0)