Pin min notebook version (#2167)

* [TMP] Pin min notebook version

* Update Dockerfile
This commit is contained in:
Ayaz Salikhov
2024-11-04 14:55:35 +00:00
committed by GitHub
parent 5841857378
commit c2d9d1f06a
2 changed files with 6 additions and 1 deletions

View File

@@ -42,7 +42,11 @@ RUN mamba install --yes \
'jupyterhub' \
'jupyterlab' \
'nbclassic' \
'notebook' && \
# 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
# More info: https://github.com/jupyter/docker-stacks/pull/2167
'notebook>=7.2.2' && \
jupyter server --generate-config && \
mamba clean --all -f -y && \
npm cache clean --force && \

View File

@@ -76,6 +76,7 @@ EXCLUDED_PACKAGES = [
"hdf5",
"jupyterlab-git",
"mamba[version='<2.0.0']",
"notebook[version='>",
"openssl",
"pandas[version='>",
"protobuf",