From 320543688a8f8e867ace1f1309d6c7ef8a22e7a8 Mon Sep 17 00:00:00 2001 From: cainmagi Date: Tue, 19 Apr 2022 05:25:50 +0000 Subject: [PATCH] 1.4 12. Fix a bug caused by `typing-extensions` and `immutables` when using `python=3.6`. --- README.md | 2 +- scripts/install-jlab | 2 +- scripts/install-jlab-conda | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0f64c2d..ae8b7ff 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,7 @@ The following tests has been passed. 9. Fix some bugs caused by missing of `libffi`, `libssl`, and `rustc`+`cargo`. 10. Bump the default base image and the base script location to new versions. 11. Fix the dependency issue of `black`, and `numpy` when using `python=3.6`. -12. Fix a bug caused by typing-extensions when using `python=3.6`. +12. Fix a bug caused by `typing-extensions` and `immutables` when using `python=3.6`. ### ver 1.3 @ 6/19/2021 diff --git a/scripts/install-jlab b/scripts/install-jlab index 88401b0..c49a317 100644 --- a/scripts/install-jlab +++ b/scripts/install-jlab @@ -211,7 +211,7 @@ then if [ "x${CUR_PYTHON_VER}" = "xpy37+" ] then msg "Installing Jupyter Lab, ver 3.3.3." - python3 -m pip install typing-extensions==4.1.1 jupyterlab==3.3.3 || fail + python3 -m pip install typing-extensions==4.2.0 jupyterlab==3.3.3 || fail else if [ "x${CUR_PYTHON_VER}" = "xpy36" ] then diff --git a/scripts/install-jlab-conda b/scripts/install-jlab-conda index e3a44ee..fa46e7d 100644 --- a/scripts/install-jlab-conda +++ b/scripts/install-jlab-conda @@ -144,7 +144,7 @@ then CONDA_TEMP_PKGS="\"immutables>=0.17\" \"typing-extensions>=4.2.0\"" else if [ "x${CUR_PYTHON_VER}" = "xpy36" ]; then - CONDA_TEMP_PKGS="immutables=0.17 typing-extensions=4.2.0" + CONDA_TEMP_PKGS="immutables=0.15 typing-extensions=4.1.1" else CONDA_TEMP_PKGS="\"immutables<0.15\" \"typing-extensions>=3.10.0,<4\"" fi @@ -222,7 +222,7 @@ then CONDA_TEMP_PKGS="\"immutables>=0.17\" \"typing-extensions>=4.2.0\"" else if [ "x${CUR_PYTHON_VER}" = "xpy36" ]; then - CONDA_TEMP_PKGS="immutables=0.17 typing-extensions=4.2.0" + CONDA_TEMP_PKGS="immutables=0.15 typing-extensions=4.1.1" else CONDA_TEMP_PKGS="\"immutables<0.15\" \"typing-extensions>=3.10.0,<4\"" fi @@ -300,7 +300,7 @@ then CONDA_TEMP_PKGS="\"immutables>=0.17\" \"typing-extensions>=4.2.0\"" else if [ "x${CUR_PYTHON_VER}" = "xpy36" ]; then - CONDA_TEMP_PKGS="immutables=0.17 typing-extensions=4.2.0" + CONDA_TEMP_PKGS="immutables=0.15 typing-extensions=4.1.1" else CONDA_TEMP_PKGS="\"immutables<0.15\" \"typing-extensions>=3.10.0,<4\"" fi