Skip to content

Commit 2aa706c

Browse files
committed
Fix CI/CD dependency conflicts and workflow issues
1 parent 4a2029a commit 2aa706c

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@ jobs:
2222
with:
2323
python-version: 3.9
2424

25-
- name: Build
25+
- name: Install system dependencies
2626
run: |
27-
pip install --upgrade pip
28-
pip install psychopy==2020.1.2
27+
sudo apt-get update
28+
sudo apt-get install -y graphviz
29+
30+
- name: Install Python dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install --upgrade setuptools wheel
34+
pip install -r requirements.txt
2935
pip install -r requirements-docs.txt
30-
sudo apt-get install graphviz
36+
37+
- name: Build documentation
38+
run: |
3139
sphinx-build -b html docs/source docs/build/html
3240
3341
- name: Deploy 🚀

requirements-docs.txt

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1+
# Core package
12
-e .
2-
xarray>=2022.6.0
3-
pymc>=5.0.1
4-
pydata-sphinx-theme>=0.12.0
3+
4+
# Documentation dependencies
5+
sphinx==5.3.0
56
sphinx-bootstrap-theme>=0.8.1
67
sphinxcontrib-bibtex>=2.4.2
7-
myst-nb>=0.16.0
8-
sphinx==5.3.0
98
numpydoc>=1.4.0
109
myst-parser
11-
#pingouin
10+
myst-nb>=0.16.0
11+
12+
# Theme
13+
pydata-sphinx-theme>=0.12.0
14+
15+
# Data analysis (compatible versions)
16+
xarray>=2022.6.0
1217
bokeh==2.4.3
18+
19+
# Visualization
1320
graphviz
14-
metadpy>=0.0.1
15-
watermark
21+
22+
# Optional: Commented out to avoid conflicts
23+
# pymc>=5.0.1
24+
# metadpy>=0.0.1
25+
# watermark

0 commit comments

Comments
 (0)