You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/10/20 12:20:54 UTC
[incubator-datalab] branch epm-v2.5.2.1 updated: applied nbformat 5.3.0 version during jupyter installation
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch epm-v2.5.2.1
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/epm-v2.5.2.1 by this push:
new 9981d22fc applied nbformat 5.3.0 version during jupyter installation
9981d22fc is described below
commit 9981d22fcac9123efbe101f50906e0234a417efc
Author: owlleg6 <ow...@gmail.com>
AuthorDate: Thu May 5 15:07:17 2022 +0300
applied nbformat 5.3.0 version during jupyter installation
---
infrastructure-provisioning/src/general/conf/datalab.ini | 2 ++
.../src/general/lib/os/debian/notebook_lib.py | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/infrastructure-provisioning/src/general/conf/datalab.ini b/infrastructure-provisioning/src/general/conf/datalab.ini
index 532eec70d..02b5f4937 100644
--- a/infrastructure-provisioning/src/general/conf/datalab.ini
+++ b/infrastructure-provisioning/src/general/conf/datalab.ini
@@ -366,6 +366,8 @@ setuptools_version = 54.1.1
roxygen2_version = 7.1.1
### Nbconvert version
nbconvert_version = 5.6.1
+### nbformat_version
+nbformat_version = 5.3.0
### jupyterlab version
jupyterlab_version = 3.2.9
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 32badab30..680aed230 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -282,14 +282,14 @@ def ensure_python3_libraries(os_user):
datalab.fab.conn.sudo('-i pip3 install setuptools')
try:
datalab.fab.conn.sudo(
- '-i pip3 install tornado=={0} ipython==7.21.0 ipykernel=={1} nbconvert=={2} sparkmagic --no-cache-dir' \
+ '-i pip3 install tornado=={0} ipython==7.21.0 ipykernel=={1} nbconvert=={2} nbformat=={3} sparkmagic --no-cache-dir' \
.format(os.environ['notebook_tornado_version'], os.environ['notebook_ipykernel_version'],
- os.environ['notebook_nbconvert_version']))
+ os.environ['notebook_nbconvert_version'], os.environ['notebook_nbformat_version']))
except:
datalab.fab.conn.sudo(
- '-i pip3 install tornado=={0} ipython==7.9.0 ipykernel=={1} nbconvert=={2} sparkmagic --no-cache-dir' \
+ '-i pip3 install tornado=={0} ipython==7.9.0 ipykernel=={1} nbconvert=={2} nbformat=={3} sparkmagic --no-cache-dir' \
.format(os.environ['notebook_tornado_version'], os.environ['notebook_ipykernel_version'],
- os.environ['notebook_nbconvert_version']))
+ os.environ['notebook_nbconvert_version'], os.environ['notebook_nbformat_version']))
datalab.fab.conn.sudo(
'-i pip3 install -U pip=={} --no-cache-dir'.format(os.environ['conf_pip_version']))
datalab.fab.conn.sudo('-i pip3 install boto3 --no-cache-dir')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org