Skip to content

Commit f331b51

Browse files
committed
ci: pin lite build deps
1 parent 997b064 commit f331b51

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

docs/environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ dependencies:
1212
# pretties
1313
- ipylab
1414
- ipywidgets
15-
- jupyterlab-fonts
1615
- jupyter-videochat
1716
- jupyterlab-webrtc-docprovider
1817
- wxyz_lab

dodo.py

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _clean_wheels():
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==1.1.0", "jupyter-videochat", "jupyterlab-drawio", "jupyterlab-webrtc-docprovider"],
202+
[PY, "-m", "pip", "wheel", "--no-deps", "--prefer-binary", "jupyterlab-drawio"],
203203
cwd=str(LITE),
204204
shell=False,
205205
),
@@ -216,21 +216,31 @@ def _build():
216216
"lite",
217217
"build",
218218
"--debug",
219-
"--LiteBuildConfig.federated_extensions",
220-
f"{list(LITE.glob('jupyterlab_webrtc_docprovider*'))[-1]}",
221-
"--LiteBuildConfig.federated_extensions",
222-
f"{list(LITE.glob('jupyter_videochat*'))[-1]}",
223-
"--LiteBuildConfig.federated_extensions",
224-
f"{list(LITE.glob('jupyterlab_widgets*'))[-1]}",
219+
"--contents",
220+
str(LITE / "contents"),
225221
"--LiteBuildConfig.federated_extensions",
226222
f"{list(LITE.glob('jupyterlab_drawio*'))[-1]}",
227223
"--LiteBuildConfig.federated_extensions",
228-
f"{list(LITE.glob('jupyterlab_robotmode*'))[-1]}",
229-
"--LiteBuildConfig.federated_extensions",
230224
EXT_WHL,
231225
],
232226
cwd=str(LITE)
233227
)
228+
subprocess.check_call(
229+
[
230+
"mkdir",
231+
"-p",
232+
"_",
233+
],
234+
cwd=str(LITE)
235+
)
236+
subprocess.check_call(
237+
[
238+
"mv",
239+
"_output",
240+
"_/_",
241+
],
242+
cwd=str(LITE)
243+
)
234244

235245
yield dict(
236246
name="build",

0 commit comments

Comments
 (0)