diff --git a/build.json b/build.json index ee04e8f6..bac7ade3 100644 --- a/build.json +++ b/build.json @@ -1,7 +1,7 @@ { "variable": { "PYTHON_VERSION": { - "default": "3.9.13" + "default": "3.10.11" }, "PGSQL_VERSION": { "default": "15" diff --git a/requirements-dev.txt b/requirements-dev.txt index 6da4c94d..d4d4fe31 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,3 +5,4 @@ pytest pytest-docker doit dunamai +pyyaml<=5.3.1 diff --git a/stack/full-stack/Dockerfile b/stack/full-stack/Dockerfile index 2a39b0ec..82d4e54b 100644 --- a/stack/full-stack/Dockerfile +++ b/stack/full-stack/Dockerfile @@ -22,7 +22,7 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \ fi RUN fix-permissions "${CONDA_DIR}" -RUN fix-permissions "/home/${NB_USER}/.aiida" +RUN fix-permissions "/home/${NB_USER}" USER ${NB_USER} diff --git a/stack/lab/Dockerfile b/stack/lab/Dockerfile index 9b36cc98..0fdeac66 100644 --- a/stack/lab/Dockerfile +++ b/stack/lab/Dockerfile @@ -85,7 +85,7 @@ WORKDIR "/home/${NB_USER}" RUN mkdir -p /home/${NB_USER}/apps -# When a Jupyter notebook server looses a connection to the frontend, +# NOTE 1: When a Jupyter notebook server looses a connection to the frontend, # it keeps the messages in a buffer. If there is a background thread running # and trying to update the frontend, the buffer grows indefinitely, # eventually consuming all available RAM. @@ -95,8 +95,10 @@ RUN mkdir -p /home/${NB_USER}/apps # but that may come with other problems for people with flaky internet connections. # Instead, here we configure Jupyter to kill all kernels that have been alive for # more than 12 hours. We also close all inactive terminals after 10 minutes. +# NOTE 2: show_banner=False disables the banner for upgrading to Notebook 7. ENV NOTEBOOK_ARGS \ "--NotebookApp.default_url='/apps/apps/home/start.ipynb'" \ + "--NotebookApp.show_banner=False" \ "--ContentsManager.allow_hidden=True" \ "--MappingKernelManager.buffer_offline_messages=True" \ "--MappingKernelManager.cull_busy=True" \