mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +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' \
|
'jupyterhub' \
|
||||||
'jupyterlab' \
|
'jupyterlab' \
|
||||||
'nbclassic' \
|
'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 && \
|
jupyter server --generate-config && \
|
||||||
mamba clean --all -f -y && \
|
mamba clean --all -f -y && \
|
||||||
npm cache clean --force && \
|
npm cache clean --force && \
|
||||||
|
@@ -76,6 +76,7 @@ EXCLUDED_PACKAGES = [
|
|||||||
"hdf5",
|
"hdf5",
|
||||||
"jupyterlab-git",
|
"jupyterlab-git",
|
||||||
"mamba[version='<2.0.0']",
|
"mamba[version='<2.0.0']",
|
||||||
|
"notebook[version='>",
|
||||||
"openssl",
|
"openssl",
|
||||||
"pandas[version='>",
|
"pandas[version='>",
|
||||||
"protobuf",
|
"protobuf",
|
||||||
|
Reference in New Issue
Block a user