Skip to content

Commit 617f1c6

Browse files
Jupyterlab (#169)
* add jupyterlab mc * config entry * cleanup packages * fix paths * skip test-eiger branch * cleanup * fix config * remove packages * build on todi * fix conflicting modules * remove cmake, ninja * update spack v0.22 -> 0.23 * cleanup * update config.yaml * update config.yaml * fix config.yaml * pin versions in post-install
1 parent 059fdbd commit 617f1c6

File tree

7 files changed

+178
-0
lines changed

7 files changed

+178
-0
lines changed

config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,3 +340,13 @@ uenvs:
340340
todi: [gh200]
341341
daint: [gh200]
342342
develop: False
343+
jupyterlab:
344+
"v4.1.8":
345+
recipes:
346+
zen2: v4.1.8/mc
347+
gh200: v4.1.8/mc
348+
deploy:
349+
daint: [gh200]
350+
santis: [gh200]
351+
eiger: [zen2]
352+
mount: "/user-tools"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
bootstrap:
2+
spec: gcc@11
3+
gcc:
4+
specs:
5+
- gcc@13
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: jupyterlab
2+
spack:
3+
commit: releases/v0.23
4+
repo: https://github.com/spack/spack.git
5+
store: /user-tools
6+
description: Jupyterlab
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
gcc-env:
2+
compiler:
3+
- toolchain: gcc
4+
spec: gcc@13
5+
mpi: null
6+
unify: true
7+
specs:
8+
9+
- py-pip
10+
views:
11+
jupyter:
12+
link: roots
13+
uenv:
14+
add_compilers: true
15+
prefix_paths:
16+
LD_LIBRARY_PATH: [lib, lib64]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
modules:
2+
# Paths to check when creating modules for all module sets
3+
prefix_inspections:
4+
bin:
5+
- PATH
6+
lib:
7+
- LD_LIBRARY_PATH
8+
lib64:
9+
- LD_LIBRARY_PATH
10+
11+
default:
12+
arch_folder: false
13+
# Where to install modules
14+
roots:
15+
tcl: /user-environment/modules
16+
tcl:
17+
all:
18+
autoload: none
19+
hash_length: 0
20+
exclude_implicits: true
21+
exclude: ['%[email protected]', 'gcc %[email protected]', '%gcc@11']
22+
projections:
23+
all: '{name}/{version}'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export PATH=/user-tools/env/jupyter/bin:$PATH
2+
# pip install --no-cache jupyterhub==4.1.5 pyfirecrest==2.1.0 SQLAlchemy==1.4.52 oauthenticator==16.0.7 jupyterlab==4.1.8
3+
pip install -r requirements.txt
4+
5+
git clone --filter=tree:0 https://github.com/eth-cscs/firecrestspawner.git
6+
git -C firecrestspawner checkout 0.1.2
7+
cd firecrestspawner
8+
pip install .
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
alembic==1.14.1
2+
anyio==4.8.0
3+
argon2-cffi==23.1.0
4+
argon2-cffi-bindings==21.2.0
5+
arrow==1.3.0
6+
asttokens==3.0.0
7+
async-generator==1.10
8+
async-lru==2.0.4
9+
attrs==25.1.0
10+
babel==2.17.0
11+
beautifulsoup4==4.13.1
12+
bleach==6.2.0
13+
certifi==2025.1.31
14+
certipy==0.2.1
15+
cffi==1.17.1
16+
charset-normalizer==3.4.1
17+
click==8.1.8
18+
colorama==0.4.6
19+
comm==0.2.2
20+
commonmark==0.9.1
21+
cryptography==44.0.0
22+
debugpy==1.8.12
23+
decorator==5.1.1
24+
defusedxml==0.7.1
25+
executing==2.2.0
26+
fastjsonschema==2.21.1
27+
fqdn==1.5.1
28+
greenlet==3.1.1
29+
h11==0.14.0
30+
httpcore==1.0.7
31+
httpx==0.28.1
32+
idna==3.10
33+
ipykernel==6.29.5
34+
ipython==8.32.0
35+
isoduration==20.11.0
36+
jedi==0.19.2
37+
Jinja2==3.1.5
38+
json5==0.10.0
39+
jsonpointer==3.0.0
40+
jsonschema==4.23.0
41+
jsonschema-specifications==2024.10.1
42+
jupyter-events==0.12.0
43+
jupyter-lsp==2.2.5
44+
jupyter-telemetry==0.1.0
45+
jupyter_client==8.6.3
46+
jupyter_core==5.7.2
47+
jupyter_server==2.15.0
48+
jupyter_server_terminals==0.5.3
49+
jupyterhub==4.1.5
50+
jupyterlab==4.1.8
51+
jupyterlab_pygments==0.3.0
52+
jupyterlab_server==2.27.3
53+
Mako==1.3.8
54+
MarkupSafe==3.0.2
55+
matplotlib-inline==0.1.7
56+
mistune==3.1.1
57+
nbclient==0.10.2
58+
nbconvert==7.16.6
59+
nbformat==5.10.4
60+
nest-asyncio==1.6.0
61+
notebook_shim==0.2.4
62+
oauthenticator==16.0.7
63+
oauthlib==3.2.2
64+
overrides==7.7.0
65+
packaging==24.2
66+
pamela==1.2.0
67+
pandocfilters==1.5.1
68+
parso==0.8.4
69+
pexpect==4.9.0
70+
platformdirs==4.3.6
71+
prometheus_client==0.21.1
72+
prompt_toolkit==3.0.50
73+
psutil==6.1.1
74+
ptyprocess==0.7.0
75+
pure_eval==0.2.3
76+
pycparser==2.22
77+
pyfirecrest==2.1.0
78+
Pygments==2.19.1
79+
PyJWT==2.10.1
80+
python-dateutil==2.9.0.post0
81+
python-json-logger==3.2.1
82+
PyYAML==6.0.2
83+
pyzmq==26.2.1
84+
referencing==0.36.2
85+
requests==2.32.3
86+
rfc3339-validator==0.1.4
87+
rfc3986-validator==0.1.1
88+
rich==12.6.0
89+
rpds-py==0.22.3
90+
ruamel.yaml==0.18.10
91+
Send2Trash==1.8.3
92+
shellingham==1.5.4
93+
six==1.17.0
94+
sniffio==1.3.1
95+
soupsieve==2.6
96+
SQLAlchemy==1.4.52
97+
stack-data==0.6.3
98+
terminado==0.18.1
99+
tinycss2==1.4.0
100+
tornado==6.4.2
101+
traitlets==5.14.3
102+
typer==0.7.0
103+
types-python-dateutil==2.9.0.20241206
104+
typing_extensions==4.12.2
105+
uri-template==1.3.0
106+
urllib3==2.3.0
107+
wcwidth==0.2.13
108+
webcolors==24.11.1
109+
webencodings==0.5.1
110+
websocket-client==1.8.0

0 commit comments

Comments
 (0)