Skip to content

Commit 1f64a12

Browse files
committed
attempt workflow fix
1 parent 24d6402 commit 1f64a12

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,17 @@ jobs:
7373
# as of 29/10/23. Ubuntu 22.04 which is used for ubuntu-latest only has an
7474
# old pandoc version (2.9.). We will hence install the latest version manually.
7575
# previou: sudo apt-get install -y pandoc
76-
wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-1-amd64.deb
77-
sudo dpkg -i pandoc-3.1.9-1-amd64.deb
78-
rm pandoc-3.1.9-1-amd64.deb
79-
pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
80-
pip install '.[docs]'
76+
# NOTE(stes): Updated to latest version as of 17/04/2025, v3.6.4.
77+
wget https://github.com/jgm/pandoc/releases/download/3.6.4/pandoc-3.6.4-1-amd64.deb
78+
sudo dpkg -i pandoc-3.6.4-1-amd64.deb
79+
rm pandoc-3.6.4-1-amd64.deb
8180
pip install -r docs/requirements.txt
8281
82+
- name: Check software versions
83+
run: |
84+
sphinx --version
85+
pandoc --version
86+
8387
- name: Build docs
8488
run: |
8589
ls docs/source/cebra-figures

docs/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ RUN apt-get update && apt-get install -y \
66
pandoc \
77
&& rm -rf /var/lib/apt/lists/*
88

9-
RUN pip install cebra[docs]
10-
RUN pip uninstall -y cebra
11-
129
COPY docs/requirements.txt .
1310
RUN pip install -r requirements.txt
1411

1512
COPY setup.cfg .
1613
COPY pyproject.toml .
1714
COPY cebra/ .
15+
16+
RUN pip install cebra[docs]
17+
RUN pip uninstall -y cebra

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ integrations =
6464
plotly
6565
seaborn
6666
docs =
67-
sphinx==7.4.7
67+
sphinx
6868
sphinx-gallery
6969
docutils
7070
pydata-sphinx-theme

0 commit comments

Comments
 (0)