Skip to content

Commit

Permalink
ci: pin lite build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
datakurre committed Jul 23, 2023
1 parent 997b064 commit c528736
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ channels:

dependencies:
- opencv
- python >=3.6,<3.9.0a0
- python >=3.6,<3.12.0a0
- jupyterlab >=3.2.9,<3.3
- nodejs >=14,<15
- geckodriver >=0.26.0,<0.27.0
Expand Down
1 change: 0 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dependencies:
# pretties
- ipylab
- ipywidgets
- jupyterlab-fonts
- jupyter-videochat
- jupyterlab-webrtc-docprovider
- wxyz_lab
Expand Down
28 changes: 19 additions & 9 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _clean_wheels():
),
# Not sure, why these were not discovered from conda environment
doit.tools.CmdAction(
[PY, "-m", "pip", "wheel", "--no-deps", "--prefer-binary", "jupyterlab-widgets==1.1.0", "jupyter-videochat", "jupyterlab-drawio", "jupyterlab-webrtc-docprovider"],
[PY, "-m", "pip", "wheel", "--no-deps", "--prefer-binary", "jupyterlab-drawio"],
cwd=str(LITE),
shell=False,
),
Expand All @@ -216,21 +216,31 @@ def _build():
"lite",
"build",
"--debug",
"--LiteBuildConfig.federated_extensions",
f"{list(LITE.glob('jupyterlab_webrtc_docprovider*'))[-1]}",
"--LiteBuildConfig.federated_extensions",
f"{list(LITE.glob('jupyter_videochat*'))[-1]}",
"--LiteBuildConfig.federated_extensions",
f"{list(LITE.glob('jupyterlab_widgets*'))[-1]}",
"--contents",
str(LITE / "contents"),
"--LiteBuildConfig.federated_extensions",
f"{list(LITE.glob('jupyterlab_drawio*'))[-1]}",
"--LiteBuildConfig.federated_extensions",
f"{list(LITE.glob('jupyterlab_robotmode*'))[-1]}",
"--LiteBuildConfig.federated_extensions",
EXT_WHL,
],
cwd=str(LITE)
)
subprocess.check_call(
[
"mkdir",
"-p",
"_",
],
cwd=str(LITE)
)
subprocess.check_call(
[
"mv",
"_output",
"_/_",
],
cwd=str(LITE)
)

yield dict(
name="build",
Expand Down

0 comments on commit c528736

Please sign in to comment.