diff --git a/binder/environment.yml b/binder/environment.yml index b363f5ee..db4fbea5 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -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 diff --git a/binder/postBuild b/binder/postBuild index e881b853..96bd1405 100755 --- a/binder/postBuild +++ b/binder/postBuild @@ -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") diff --git a/packages/lab-example/package.json b/packages/lab-example/package.json index 6831bc88..ce823bc4 100644 --- a/packages/lab-example/package.json +++ b/packages/lab-example/package.json @@ -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 + } } -} +} \ No newline at end of file