mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Pin min notebook version (#2167)
* [TMP] Pin min notebook version * Update Dockerfile
This commit is contained in:
@@ -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 && \
|
||||
|
@@ -76,6 +76,7 @@ EXCLUDED_PACKAGES = [
|
||||
"hdf5",
|
||||
"jupyterlab-git",
|
||||
"mamba[version='<2.0.0']",
|
||||
"notebook[version='>",
|
||||
"openssl",
|
||||
"pandas[version='>",
|
||||
"protobuf",
|
||||
|
Reference in New Issue
Block a user