Skip to content

Commit 35e075a

Browse files
Update py311 with rucio Ext 1.3.1
feat(ENV:vre-swan) add rucio-extension env vars
1 parent eaab86e commit 35e075a

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

vre-singleuser-py311/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN conda install -y -n base mamba \
2727

2828
# Install jupyterlab extensions
2929
RUN python -m pip install rucio-clients==35.8.0 \
30-
rucio-jupyterlab==1.3.0 \
30+
rucio-jupyterlab==1.3.1 \
3131
&& jupyter server extension enable --py rucio_jupyterlab --sys-prefix
3232

3333
RUN python -m pip install swanoauthrenew==1.0.1 \

vre-swan/scripts/others/userconfig.sh

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,17 @@ then
9191
fi
9292
export KRB5CCNAME=$KRB5CCNAME_NB_TERM
9393

94+
echo $PYTHONPATH
95+
echo $PATH
96+
97+
export RUCIO_HOME="/cvmfs/sw.escape.eu/rucio-jupyterlab/1.2.1"
98+
export PATH="$RUCIO_HOME/bin:$PATH"
99+
export PYTHONPATH="$PYTHONPATH:/cvmfs/sw.escape.eu/rucio-jupyterlab/1.2.1/lib/python3.11/site-packages"
100+
export RUCIO_PYTHONBIN=python
101+
102+
echo $PYTHONPATH
103+
echo $PATH
104+
94105
# As the LCG setup might set PYTHONHOME, run python with -I (Isolated Mode) to prevent
95106
# the lookup for modules in a Python 3 path and user site
96107
python -I /srv/singleuser/configure_kernels_and_terminal.py
@@ -103,13 +114,3 @@ echo "c.InteractiveShellApp.extensions.append('swankernelenv')" >> $KERNEL_PROF
103114
# Setup ESCAPE CVMFS
104115
#ls /cvmfs/sw.escape.eu
105116
#source /cvmfs/sw.escape.eu/rucio-jupyterlab/1.2.1/setup-minimal.sh
106-
107-
echo $PYTHONPATH
108-
echo $PATH
109-
110-
export RUCIO_HOME="/cvmfs/sw.escape.eu/rucio-jupyterlab/1.2.1"
111-
export PATH="$RUCIO_HOME/bin:$PATH"
112-
export PYTHONPATH="$PYTHONPATH:/cvmfs/sw.escape.eu/rucio-jupyterlab/1.2.1/lib/python3.11/site-packages"
113-
114-
echo $PYTHONPATH
115-
echo $PATH

0 commit comments

Comments
 (0)