Skip to content

Commit

Permalink
Install jupyterhub-base instead of jupyterhub
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Nov 5, 2024
1 parent 2c525af commit af5e6f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/using/recipe_code/jupyterhub_version.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/jupyter/base-notebook

RUN mamba install --yes 'jupyterhub==4.0.1' && \
RUN mamba install --yes 'jupyterhub-base==4.0.1' && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
7 changes: 6 additions & 1 deletion images/base-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ USER ${NB_UID}
# files across image layers when the permissions change
WORKDIR /tmp
RUN mamba install --yes \
'jupyterhub' \
'jupyterhub-base' \
'jupyterlab' \
'nbclassic' \
# nodejs has historically been installed indirectly as a dependency. When it
# was no longer getting installed indirectly, we started installing it
# explicitly to avoid introducing a breaking change for users building on
# top of these images.
'nodejs' \
# Sometimes, when the new version of `jupyterlab` is released, latest `notebook` might not support it for some time
# Old versions of `notebook` (<v7) didn't have a restriction on the `jupyterlab` version, and old `notebook` is getting installed
# That's why we have to pin the minimum notebook version
Expand Down
1 change: 1 addition & 0 deletions tests/docker-stacks-foundation/test_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"grpcio-status",
"grpcio",
"hdf5",
"jupyterhub-base",
"jupyterlab-git",
"mamba[version='<2.0.0']",
"notebook[version='>",
Expand Down

0 comments on commit af5e6f9

Please sign in to comment.