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

Jupyterlab #169

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
10 changes: 10 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,13 @@ uenvs:
todi: [gh200]
daint: [gh200]
develop: False
jupyterlab:
"v4.1.8":
recipes:
zen2: v4.1.8/mc
gh200: v4.1.8/mc
deploy:
daint: [gh200]
santis: [gh200]
eiger: [zen2]
mount: "/user-tools"
5 changes: 5 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/compilers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bootstrap:
spec: gcc@11
gcc:
specs:
- gcc@13
6 changes: 6 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: jupyterlab
spack:
commit: releases/v0.23
repo: https://github.com/spack/spack.git
store: /user-tools
description: Jupyterlab
16 changes: 16 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/environments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
gcc-env:
compiler:
- toolchain: gcc
spec: gcc@13
mpi: null
unify: true
specs:
- [email protected]
- py-pip
views:
jupyter:
link: roots
uenv:
add_compilers: true
prefix_paths:
LD_LIBRARY_PATH: [lib, lib64]
23 changes: 23 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
modules:
# Paths to check when creating modules for all module sets
prefix_inspections:
bin:
- PATH
lib:
- LD_LIBRARY_PATH
lib64:
- LD_LIBRARY_PATH

default:
arch_folder: false
# Where to install modules
roots:
tcl: /user-environment/modules
tcl:
all:
autoload: none
hash_length: 0
exclude_implicits: true
exclude: ['%[email protected]', 'gcc %[email protected]', '%gcc@11']
projections:
all: '{name}/{version}'
8 changes: 8 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/post-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export PATH=/user-tools/env/jupyter/bin:$PATH
# pip install --no-cache jupyterhub==4.1.5 pyfirecrest==2.1.0 SQLAlchemy==1.4.52 oauthenticator==16.0.7 jupyterlab==4.1.8
pip install -r requirements.txt

git clone --filter=tree:0 https://github.com/eth-cscs/firecrestspawner.git
git -C firecrestspawner checkout 0.1.2
cd firecrestspawner
pip install .
110 changes: 110 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
alembic==1.14.1
anyio==4.8.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-generator==1.10
async-lru==2.0.4
attrs==25.1.0
babel==2.17.0
beautifulsoup4==4.13.1
bleach==6.2.0
certifi==2025.1.31
certipy==0.2.1
cffi==1.17.1
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
comm==0.2.2
commonmark==0.9.1
cryptography==44.0.0
debugpy==1.8.12
decorator==5.1.1
defusedxml==0.7.1
executing==2.2.0
fastjsonschema==2.21.1
fqdn==1.5.1
greenlet==3.1.1
h11==0.14.0
httpcore==1.0.7
httpx==0.28.1
idna==3.10
ipykernel==6.29.5
ipython==8.32.0
isoduration==20.11.0
jedi==0.19.2
Jinja2==3.1.5
json5==0.10.0
jsonpointer==3.0.0
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
jupyter-events==0.12.0
jupyter-lsp==2.2.5
jupyter-telemetry==0.1.0
jupyter_client==8.6.3
jupyter_core==5.7.2
jupyter_server==2.15.0
jupyter_server_terminals==0.5.3
jupyterhub==4.1.5
jupyterlab==4.1.8
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
Mako==1.3.8
MarkupSafe==3.0.2
matplotlib-inline==0.1.7
mistune==3.1.1
nbclient==0.10.2
nbconvert==7.16.6
nbformat==5.10.4
nest-asyncio==1.6.0
notebook_shim==0.2.4
oauthenticator==16.0.7
oauthlib==3.2.2
overrides==7.7.0
packaging==24.2
pamela==1.2.0
pandocfilters==1.5.1
parso==0.8.4
pexpect==4.9.0
platformdirs==4.3.6
prometheus_client==0.21.1
prompt_toolkit==3.0.50
psutil==6.1.1
ptyprocess==0.7.0
pure_eval==0.2.3
pycparser==2.22
pyfirecrest==2.1.0
Pygments==2.19.1
PyJWT==2.10.1
python-dateutil==2.9.0.post0
python-json-logger==3.2.1
PyYAML==6.0.2
pyzmq==26.2.1
referencing==0.36.2
requests==2.32.3
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rich==12.6.0
rpds-py==0.22.3
ruamel.yaml==0.18.10
Send2Trash==1.8.3
shellingham==1.5.4
six==1.17.0
sniffio==1.3.1
soupsieve==2.6
SQLAlchemy==1.4.52
stack-data==0.6.3
terminado==0.18.1
tinycss2==1.4.0
tornado==6.4.2
traitlets==5.14.3
typer==0.7.0
types-python-dateutil==2.9.0.20241206
typing_extensions==4.12.2
uri-template==1.3.0
urllib3==2.3.0
wcwidth==0.2.13
webcolors==24.11.1
webencodings==0.5.1
websocket-client==1.8.0