Skip to content

Commit 289d94f

Browse files
committed
Fix build
1 parent c836c63 commit 289d94f

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/build-deploy.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
if: steps.docs-cache.outputs.cache-hit != 'true'
9494
name: Setup Python
9595
with:
96-
python-version: "3.10"
96+
python-version: "3.12"
9797

9898
- name: Build virtualenv
9999
if: steps.docs-cache.outputs.cache-hit != 'true'
@@ -131,16 +131,16 @@ jobs:
131131
git submodule update --init --recursive
132132
git status
133133
134-
# - name: Build virtualenv
135-
# if: steps.docs-cache.outputs.cache-hit != 'true'
136-
# run: python -m venv venv-stable
137-
#
138-
# - name: Install deps
139-
# if: steps.docs-cache.outputs.cache-hit != 'true'
140-
# run: |
141-
# venv-stable/bin/activate
142-
# [ -f requirements/CI-docs/requirements.txt ] && pip install -r requirements/CI-docs/requirements.txt
143-
# [ -f requirements/development.txt ] && pip install -r requirements/development.txt
134+
- name: Build virtualenv
135+
if: steps.docs-cache.outputs.cache-hit != 'true'
136+
run: python -m venv venv-stable
137+
138+
- name: Install deps
139+
if: steps.docs-cache.outputs.cache-hit != 'true'
140+
run: |
141+
venv-stable/bin/activate
142+
[ -f requirements/CI-docs/requirements.txt ] && pip install -r requirements/CI-docs/requirements.txt
143+
144144
- name: Build C module
145145
if: steps.docs-cache.outputs.cache-hit != 'true'
146146
run: venv-latest/bin/activate && make
@@ -150,6 +150,8 @@ jobs:
150150
run: |
151151
rm -rf docs/_build
152152
venv-latest/bin/activate
153+
# Fix ipython error
154+
pip install ipython==8.37.0
153155
cd docs
154156
# Fix section reference in demography.md
155157
if [ -f demography.md ]; then

0 commit comments

Comments
 (0)