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 d98330332 fixed for all clouds
d98330332 is described below
commit d98330332be291c1c22d9d27b304a2cbf7fc1b75
Author: owlleg6 <[email protected]>
AuthorDate: Thu May 12 14:14:05 2022 +0300
fixed for all clouds
---
.../src/general/lib/os/debian/notebook_lib.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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 bf517f136..32badab30 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -298,13 +298,13 @@ def ensure_python3_libraries(os_user):
datalab.fab.conn.sudo('pip3 install -U keyrings.alt backoff')
datalab.fab.conn.sudo('pip3 install
setuptools=={}'.format(os.environ['notebook_setuptools_version']))
try:
- datalab.fab.conn.sudo('pip3 install tornado=={0}
ipython==7.21.0 ipykernel=={1} nbconvert=={2} sparkmagic --no-cache-dir' \
+ datalab.fab.conn.sudo('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('pip3 install tornado=={0}
ipython==7.9.0 ipykernel=={1} nbconvert=={2} sparkmagic --no-cache-dir' \
+ datalab.fab.conn.sudo('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('pip3 install -U pip=={}
--no-cache-dir'.format(os.environ['conf_pip_version']))
datalab.fab.conn.sudo('pip3 install boto3 --no-cache-dir')
datalab.fab.conn.sudo('pip3 install fabvenv fabric-virtualenv
future patchwork --no-cache-dir')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]