From 275b63114d501f45a50045a3bfc35b6ba46fc2d9 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Tue, 18 Jan 2022 15:47:37 +0800 Subject: [PATCH] fix(imperative): fix use collections error from python3.10 GitOrigin-RevId: 5dd019b336718c63a6eed96e10d7653f0b21b37d --- imperative/python/megengine/utils/module_utils.py | 1 - scripts/whl/android/utils.sh | 3 --- 2 files changed, 4 deletions(-) diff --git a/imperative/python/megengine/utils/module_utils.py b/imperative/python/megengine/utils/module_utils.py index 13513a0c6..4fbf1dafc 100644 --- a/imperative/python/megengine/utils/module_utils.py +++ b/imperative/python/megengine/utils/module_utils.py @@ -6,7 +6,6 @@ # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import contextlib -from collections import Iterable from ..module import Sequential from ..module.module import Module, _access_structure diff --git a/scripts/whl/android/utils.sh b/scripts/whl/android/utils.sh index 88b91668f..d9cad53ce 100755 --- a/scripts/whl/android/utils.sh +++ b/scripts/whl/android/utils.sh @@ -3,9 +3,6 @@ source ${SRC_DIR}/scripts/whl/utils/utils.sh ALL_PYTHON=${ALL_PYTHON} -# FIXME: now imperative py code do not support 3.10 -# but megenginelite and megbrain support it, so we -# config with 3.10.1 now FULL_PYTHON_VER="3.8.3 3.9.9 3.10.1" if [[ -z ${ALL_PYTHON} ]] then -- GitLab