Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix binder #113

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ channels:

dependencies:
# runtime dependencies
- python >=3.10,<3.11.0a0
- jupyterlab >=4.0.0,<5
- python >=3.12,<3.13.0a0
- jupyterlab >=4.0.0,<4.1.0
# labextension build dependencies
- nodejs >=18,<19
- nodejs >=20,<21
- pip
- wheel
5 changes: 2 additions & 3 deletions binder/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ def _(*args, **kwargs):
_(sys.executable, "-m", "pip", "check")

# install the labextension
_(sys.executable, "-m", "pip", "install", "-e", ".")
_(sys.executable, "-m", "pip", "install", "git+https://github.com/mamba-org/quetz-theme#egg=quetz-theme")
_(sys.executable, "-m", "jupyter", "labextension", "develop", "--overwrite", ".")
_(sys.executable, "-m", "pip", "install", ".")
# _(sys.executable, "-m", "pip", "install", "git+https://github.com/mamba-org/quetz-theme#egg=quetz-theme")

# verify the environment the extension didn't break anything
_(sys.executable, "-m", "pip", "check")
Expand Down
20 changes: 18 additions & 2 deletions packages/lab-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,22 @@
"styleModule": "style/index.js",
"jupyterlab": {
"extension": true,
"outputDir": "../../jupyter_ui_demo/labextension"
"outputDir": "../../jupyter_ui_demo/labextension",
"@jupyter/react-components": {
"bundled": true,
"singleton": true
},
"@jupyter/web-components": {
"bundled": true,
"singleton": true
},
"@microsoft/fast-element": {
"bundled": true,
"singleton": true
},
"@microsoft/fast-foundation": {
"bundled": true,
"singleton": true
}
}
}
}
Loading