Skip to content

Commit a7cb3e3

Browse files
authored
Merge pull request #124 from robots-from-jupyter/rtd
Fix readthedocs lite build to use pinned dependency versions
2 parents 6b0c333 + 26866da commit a7cb3e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/rtd-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
issue_number: context.issue.number,
2121
owner: context.repo.owner,
2222
repo: context.repo.repo,
23-
body: `[![lite-badge](https://.rtfd.io/en/latest/_static/badge.svg)](https://robotkernel--${PR_NUMBER}.org.readthedocs.build/en/${PR_NUMBER}/_/lab/index.html) :point_left: Try it on ReadTheDocs`
23+
body: `[![lite-badge](https://juputerlite.rtfd.io/en/latest/_static/badge.svg)](https://robotkernel--${PR_NUMBER}.org.readthedocs.build/en/${PR_NUMBER}/_/lab/index.html) :point_left: Try it on ReadTheDocs`
2424
})

docs/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44

55
dependencies:
66
# docs
7-
- jupyter-book
7+
- jupyter-book==0.12.3
88
- black
99
- sphinx-autoapi
1010
# apps (for labextension version compatibility)

dodo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ def _clean_wheels():
193193
actions=[
194194
(doit.tools.create_folder, [LITE / "pypi"]),
195195
doit.tools.CmdAction(
196-
[PY, "-m", "pip", "wheel", "--prefer-binary", wheel],
196+
[PY, "-m", "pip", "wheel", "--prefer-binary", "--no-deps", wheel],
197197
cwd=str(LITE / "pypi"),
198198
shell=False,
199199
),
200200
# Not sure, why these were not discovered from conda environment
201201
doit.tools.CmdAction(
202-
[PY, "-m", "pip", "wheel", "--no-deps", "--prefer-binary", "jupyterlab-widgets", "jupyter-videochat", "jupyterlab-drawio", "jupyterlab-webrtc-docprovider"],
202+
[PY, "-m", "pip", "wheel", "--no-deps", "--prefer-binary", "jupyterlab-widgets==1.1.0", "jupyter-videochat", "jupyterlab-drawio", "jupyterlab-webrtc-docprovider"],
203203
cwd=str(LITE),
204204
shell=False,
205205
),

0 commit comments

Comments
 (0)