Skip to content

Commit a260c61

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

File tree

2 files changed

+174
-29
lines changed

2 files changed

+174
-29
lines changed

.github/workflows/docs.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,38 @@ jobs:
2424
access_token: ${{ github.token }}
2525

2626
- uses: actions/checkout@v3
27-
# As we are using pull-request-target which uses the workflow from the base
28-
# of the PR, we need to be specific
2927
with:
30-
ref: ${{ github.event.pull_request.head.ref }}
31-
repository: ${{ github.event.pull_request.head.repo.full_name }}
3228
submodules: true
3329

3430
- uses: actions/setup-python@v4
3531
with:
36-
python-version: 3.8
32+
python-version: "3.10"
3733

3834
- uses: actions/cache@v3
39-
id: cache
35+
id: venv-cache
4036
with:
4137
path: venv
42-
key: docs-venv-v2-${{ hashFiles('requirements/CI-docs/requirements.txt') }}
38+
key: docs-venv-v1-${{ hashFiles('requirements/CI-docs/requirements.txt') }}
4339

44-
- name: Build virtualenv
45-
if: steps.cache.outputs.cache-hit != 'true'
46-
run: python -m venv venv
47-
48-
- name: Downgrade pip to allow conflicting deps
49-
run: venv/bin/activate && pip install pip==20.0.2
50-
51-
- name: Install deps
52-
run: venv/bin/activate && pip install -r requirements/CI-docs/requirements.txt
40+
- name: Create venv and install deps (one by one to avoid conflict errors)
41+
if: steps.venv-cache.outputs.cache-hit != 'true'
42+
run: |
43+
python -m venv venv
44+
. venv/bin/activate
45+
pip install --upgrade pip wheel
46+
cat requirements/CI-docs/requirements.txt | sed -e '/^\s*#.*$/d' -e '/^\s*$/d' | xargs -n 1 pip install --no-dependencies
47+
5348
5449
- name: Build C module
5550
if: env.MAKE_TARGET
56-
run: venv/bin/activate && make $MAKE_TARGET
51+
run: |
52+
. venv/bin/activate
53+
make $MAKE_TARGET
5754
5855
- name: Build Docs
59-
run: venv/bin/activate && cd docs && make dist
56+
run: |
57+
. venv/bin/activate
58+
cd docs && make dist
6059
6160
- name: Trigger docs site rebuild
6261
if: github.ref == 'refs/heads/main'
Lines changed: 157 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,162 @@
1+
alabaster==0.7.13
2+
anyio==3.6.2
3+
argon2-cffi==21.3.0
4+
argon2-cffi-bindings==21.2.0
5+
arrow==1.2.3
6+
asciitree==0.3.3
7+
asttokens==2.2.1
8+
attrs==21.4.0
9+
Babel==2.11.0
10+
backcall==0.2.0
11+
beautifulsoup4==4.11.1
12+
bleach==5.0.1
13+
certifi==2022.12.7
14+
cffi==1.15.1
15+
charset-normalizer==3.0.1
16+
click==8.1.3
17+
cloudpickle==2.2.1
18+
colorama==0.4.6
19+
coloredlogs==15.0.1
20+
comm==0.1.2
121
cyvcf2==0.30.18
2-
daiquiri==3.0.1
22+
daiquiri==3.2.1
23+
dask==2022.1.0
24+
debugpy==1.6.5
25+
decorator==5.1.1
26+
defusedxml==0.7.1
27+
demes==0.2.2
28+
docutils==0.17.1
29+
entrypoints==0.4
30+
executing==1.2.0
31+
fasteners==0.18
32+
fastjsonschema==2.16.2
33+
fqdn==1.5.1
34+
fsspec==2023.1.0
35+
gitdb==4.0.10
36+
GitPython==3.1.30
37+
greenlet==2.0.1
38+
humanfriendly==10.0
339
humanize==4.4.0
40+
idna==3.4
41+
imagesize==1.4.1
42+
importlib-metadata==6.0.0
43+
ipykernel==6.20.2
44+
ipython==8.8.0
45+
ipython-genutils==0.2.0
46+
ipywidgets==7.7.2
47+
isoduration==20.11.0
48+
jedi==0.18.2
49+
Jinja2==3.1.2
50+
jsonpointer==2.3
51+
jsonschema==4.17.3
452
jupyter-book==0.13.1
5-
lmdb==1.3.0
6-
msprime>=1.1.1
7-
numpy==1.21.6 # Held at 1.21.6 for Python 3.7 compatibility
8-
pandas==1.2.4
9-
sphinx-argparse==0.3.1
10-
sphinx-issues==1.2.0
53+
jupyter-cache==0.4.3
54+
jupyter-events==0.6.3
55+
jupyter-server-mathjax==0.2.6
56+
jupyter-sphinx==0.3.2
57+
jupyter_client==7.4.9
58+
jupyter_core==5.1.3
59+
jupyter_server==2.1.0
60+
jupyter_server_terminals==0.4.4
61+
jupyterlab-pygments==0.2.2
62+
jupyterlab-widgets==1.1.1
63+
latexcodec==2.0.1
64+
linkify-it-py==1.0.3
65+
lmdb==1.4.0
66+
locket==1.0.0
67+
lxml==4.9.2
68+
markdown-it-py==1.1.0
69+
MarkupSafe==2.1.2
70+
matplotlib-inline==0.1.6
71+
mdit-py-plugins==0.2.8
72+
mistune==0.8.4
73+
msprime==1.2.0
74+
myst-nb==0.13.2
75+
myst-parser==0.15.2
76+
nbclassic==0.4.8
77+
nbclient==0.5.13
78+
nbconvert==6.5.4
79+
nbdime==3.1.1
80+
nbformat==5.7.3
81+
nest-asyncio==1.5.6
82+
newick==1.6.0
83+
notebook==6.5.2
84+
notebook_shim==0.2.2
85+
numcodecs==0.11.0
86+
numpy==1.24.1
87+
packaging==23.0
88+
pandas==1.5.3
89+
pandocfilters==1.5.0
90+
parso==0.8.3
91+
partd==1.3.0
92+
pexpect==4.8.0
93+
pickleshare==0.7.5
94+
platformdirs==2.6.2
95+
prometheus-client==0.15.0
96+
prompt-toolkit==3.0.36
97+
psutil==5.9.4
98+
ptyprocess==0.7.0
99+
pure-eval==0.2.2
100+
pybtex==0.24.0
101+
pybtex-docutils==1.0.2
102+
pycparser==2.21
103+
pydata-sphinx-theme==0.8.1
104+
Pygments==2.14.0
105+
pyrsistent==0.19.3
106+
python-dateutil==2.8.2
107+
python-json-logger==2.0.4
108+
pytz==2022.7.1
109+
PyYAML==6.0
110+
pyzmq==25.0.0
111+
requests==2.28.2
112+
rfc3339-validator==0.1.4
113+
rfc3986-validator==0.1.1
114+
ruamel.yaml==0.17.21
115+
ruamel.yaml.clib==0.2.7
116+
Send2Trash==1.8.0
117+
six==1.16.0
118+
smmap==5.0.0
119+
sniffio==1.3.0
120+
snowballstemmer==2.2.0
11121
sortedcontainers==2.4.0
12-
tskit==0.5.3
122+
soupsieve==2.3.2.post1
123+
Sphinx==4.5.0
124+
sphinx-argparse==0.4.0
125+
sphinx-book-theme==0.3.3
126+
sphinx-comments==0.0.3
127+
sphinx-copybutton==0.5.1
128+
sphinx-external-toc==0.2.4
129+
sphinx-issues==3.0.1
130+
sphinx-jupyterbook-latex==0.4.7
131+
sphinx-multitoc-numbering==0.1.3
132+
sphinx-thebe==0.1.2
133+
sphinx-togglebutton==0.3.2
134+
sphinx_design==0.1.0
135+
sphinxcontrib-bibtex==2.5.0
136+
sphinxcontrib-devhelp==1.0.2
137+
sphinxcontrib-htmlhelp==2.0.0
138+
sphinxcontrib-jsmath==1.0.1
139+
sphinxcontrib-qthelp==1.0.3
140+
sphinxcontrib-serializinghtml==1.1.5
141+
sphinxcontrib.applehelp==1.0.3
142+
SQLAlchemy==1.4.46
143+
stack-data==0.6.2
144+
svgwrite==1.4.3
145+
terminado==0.17.1
146+
tinycss2==1.2.1
147+
toolz==0.12.0
148+
tornado==6.2
149+
tqdm==4.64.1
150+
traitlets==5.8.1
151+
tskit==0.5.4
13152
tskit-book-theme==0.3.2
14-
tqdm==4.64.0
15-
zarr==2.11.3
16-
jsonschema[format-nongpl]==4.17.3
153+
uc-micro-py==1.0.1
154+
uri-template==1.2.0
155+
urllib3==1.26.14
156+
wcwidth==0.2.6
157+
webcolors==1.12
158+
webencodings==0.5.1
159+
websocket-client==1.4.2
160+
widgetsnbextension==3.6.1
161+
zarr==2.13.6
162+
zipp==3.11.0

0 commit comments

Comments
 (0)