Skip to content

Commit b38181d

Browse files
PauBadiaMclaude
andcommitted
Fix notebook CI and RTD build failures
- Update notebooks.yaml to use dependency-groups instead of optional extras (.[dev,test] no longer exists after PEP 735 migration) - Add pandas.core.frame.DataFrame to nitpick_ignore in docs/conf.py (not in pandas intersphinx inventory, causes -W warning failure) - Update notebooks.yaml actions to v5/v7 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ec68b78 commit b38181d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/notebooks.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
]
3838

3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4141
with:
4242
filter: blob:none
4343
fetch-depth: 0
@@ -47,13 +47,11 @@ jobs:
4747
with:
4848
python-version: "3.13"
4949
- name: Install uv
50-
uses: astral-sh/setup-uv@v6
51-
with:
52-
enable-cache: true
53-
cache-dependency-glob: pyproject.toml
50+
uses: astral-sh/setup-uv@v7
5451
- name: Install dependencies
5552
run: |
56-
uv pip install --system ${{ matrix.pip-flags }} ".[dev,test]"
53+
uv pip install --system .
54+
uv pip install --system --group dev --group test
5755
uv pip install --system nbconvert ipykernel
5856
- name: Run ${{ matrix.notebook }} Notebook
5957
run: jupyter nbconvert --to notebook --execute ${{ env.NOTEBOOK_PATH }}/${{ matrix.notebook }}

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,5 @@
137137
# If building the documentation fails because of a missing link that is outside your control,
138138
# you can add an exception to this list.
139139
# ("py:class", "igraph.Graph"),
140+
("py:class", "pandas.core.frame.DataFrame"),
140141
]

0 commit comments

Comments
 (0)