This is an automated email from the ASF dual-hosted git repository.
olehmykolaishyn pushed a commit to branch DATALAB-2795
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2795 by this push:
new c820988cc applied nbformat 5.3.0 version during jupyter installation
c820988cc is described below
commit c820988cc442ccb66b43f7934d6761d0657bbc27
Author: owlleg6 <[email protected]>
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 f095d250f..d648504e8 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 248175289..4c796996e 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -280,14 +280,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: [email protected]
For additional commands, e-mail: [email protected]