Skip to content

Commit 2e8b69f

Browse files
committed
Fix doc build
1 parent d572b3a commit 2e8b69f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build-deploy-docs:
1818
name: Docs
19-
runs-on: ubuntu-18.04
19+
runs-on: ubuntu-latest
2020
steps:
2121
- name: Cancel Previous Runs
2222
uses: styfle/[email protected]
@@ -39,12 +39,15 @@ jobs:
3939
id: cache
4040
with:
4141
path: venv
42-
key: docs-venv-v1-${{ hashFiles('requirements/CI-docs/requirements.txt') }}
42+
key: docs-venv-v2-${{ hashFiles('requirements/CI-docs/requirements.txt') }}
4343

4444
- name: Build virtualenv
4545
if: steps.cache.outputs.cache-hit != 'true'
4646
run: python -m venv venv
4747

48+
- name: Downgrade pip to allow conflicting deps
49+
run: venv/bin/activate && pip install pip==20.0.2
50+
4851
- name: Install deps
4952
run: venv/bin/activate && pip install -r requirements/CI-docs/requirements.txt
5053

requirements/CI-docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ tskit==0.5.3
1313
tskit-book-theme==0.3.2
1414
tqdm==4.64.0
1515
zarr==2.11.3
16+
jsonschema[format-nongpl]==4.17.3

0 commit comments

Comments
 (0)