From c1ad92ff4dca0a225203edc899d85b578fbc7395 Mon Sep 17 00:00:00 2001 From: jojobugfree Date: Fri, 10 Apr 2020 14:26:21 +0800 Subject: [PATCH] remove python3.6 support in package.sh --- package.sh | 8 +++----- requirements.txt | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/package.sh b/package.sh index 0c75a1bbfd..f49f15632f 100755 --- a/package.sh +++ b/package.sh @@ -45,18 +45,16 @@ PYTHON_VERSION=$("${PYTHON}" -V 2>&1 | awk '{print $2}' | cut -d. -f-2) if [[ $(uname) == "Linux" ]]; then if [[ "${PYTHON_VERSION}" == "3.7" ]]; then PY_TAGS="cp37-cp37m" - elif [[ "${PYTHON_VERSION}" == "3.6" ]]; then - PY_TAGS="cp36-cp36m" else - echo "Could not find 'Python 3.6' or 'Python 3.7'" + echo "Could not find 'Python 3.7'" exit 1 fi PLATFORM_TAG=$(to_lower "$(uname)_$(uname -m)") elif [[ $(uname) == "Darwin" ]]; then - if [[ "${PYTHON_VERSION}" == "3.7" || "${PYTHON_VERSION}" == "3.6" ]]; then + if [[ "${PYTHON_VERSION}" == "3.7" ]]; then PY_TAGS="py3-none" else - echo "Could not find 'Python 3.6' or 'Python 3.7'" + echo "Could not find 'Python 3.7'" exit 1 fi PLATFORM_TAG="any" diff --git a/requirements.txt b/requirements.txt index e4b61f2b6f..e182cd7a3b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,6 @@ protobuf >= 3.8.0 asttokens >= 1.1.13 pillow >= 6.2.0 scipy >= 1.3.3 -dataclasses >= 0.6 easydict >= 1.9 sympy >= 1.4 cffi >= 1.13.2