From e5288f740c0856affff1a7de79d230a5459ffab5 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:49:24 +0000 Subject: [PATCH 1/3] Change jupyter_server to jupyterlite-core jupyterlab --- .github/workflows/deploy-github-page.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-github-page.yml b/.github/workflows/deploy-github-page.yml index ed063653..bc077573 100644 --- a/.github/workflows/deploy-github-page.yml +++ b/.github/workflows/deploy-github-page.yml @@ -73,7 +73,7 @@ jobs: run: | micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host - python -m pip install jupyterlite-xeus jupyter_server notebook + python -m pip install jupyterlite-xeus jupyterlite-core jupyterlab notebook jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --output-dir dist cp $PREFIX/bin/xcpp.data dist/extensions/@jupyterlite/xeus/static cp $PREFIX/lib/libclangCppInterOp.so dist/extensions/@jupyterlite/xeus/static From f7927240b56c75df55a74acc4ae11d2577888cac Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:50:02 +0000 Subject: [PATCH 2/3] Add jupyterlite-core jupyterlab to emscripten build main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ee31bfb..ffddb4ca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -274,7 +274,7 @@ jobs: run: | micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host - python -m pip install jupyterlite-xeus + python -m pip install jupyterlite-xeus jupyterlite-core jupyterlab jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} cp $PREFIX/bin/xcpp.data _output/extensions/@jupyterlite/xeus/static cp $PREFIX/lib/libclangCppInterOp.so _output/extensions/@jupyterlite/xeus/static From 9dc2f4c3149ccd71d326a0eefcdf7390ad7ae4e3 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:15:46 +0000 Subject: [PATCH 3/3] Get packages from micromamba --- .github/workflows/deploy-github-page.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-github-page.yml b/.github/workflows/deploy-github-page.yml index bc077573..4029e40b 100644 --- a/.github/workflows/deploy-github-page.yml +++ b/.github/workflows/deploy-github-page.yml @@ -71,9 +71,8 @@ jobs: - name: Jupyter Lite integration shell: bash -l {0} run: | - micromamba create -n xeus-lite-host jupyterlite-core + micromamba create -n xeus-lite-host jupyterlite-core jupyterlite-xeus jupyterlite-core jupyterlab notebook micromamba activate xeus-lite-host - python -m pip install jupyterlite-xeus jupyterlite-core jupyterlab notebook jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --output-dir dist cp $PREFIX/bin/xcpp.data dist/extensions/@jupyterlite/xeus/static cp $PREFIX/lib/libclangCppInterOp.so dist/extensions/@jupyterlite/xeus/static