From 797db75c5a9efb0109d16747b5de723effd185f8 Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Mon, 13 Jun 2022 19:41:04 -0700 Subject: [PATCH 1/7] feature: support python 3.10 --- setup.py | 1 + tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 780cbaed04..a9fc86ed32 100644 --- a/setup.py +++ b/setup.py @@ -95,6 +95,7 @@ def read_requirements(filename): "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ], install_requires=required_packages, extras_require=extras, diff --git a/tox.ini b/tox.ini index 8822f897a2..7143175715 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py36,py37,py38,py39 +envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py36,py37,py38,py39,py310 skip_missing_interpreters = False @@ -74,7 +74,7 @@ commands = {env:IGNORE_COVERAGE:} coverage report -i --fail-under=86 deps = .[test] depends = - {py36,py37,py38,py39}: clean + {py36,py37,py38,py39,py310}: clean [testenv:flake8] skipdist = true From 4e1c4037e053e9f52f541086a286c47e0b98a581 Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Mon, 13 Jun 2022 20:48:34 -0700 Subject: [PATCH 2/7] fix: update scipy --- requirements/extras/scipy_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/extras/scipy_requirements.txt b/requirements/extras/scipy_requirements.txt index 9136ba9f03..be287f9d26 100644 --- a/requirements/extras/scipy_requirements.txt +++ b/requirements/extras/scipy_requirements.txt @@ -1 +1 @@ -scipy==1.5.4 +scipy==1.8.1 From d1de56a3b7eab455645e5a3ec3369b93f1981bd9 Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Mon, 13 Jun 2022 22:37:06 -0700 Subject: [PATCH 3/7] fix: remove setup update --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index a9fc86ed32..780cbaed04 100644 --- a/setup.py +++ b/setup.py @@ -95,7 +95,6 @@ def read_requirements(filename): "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", ], install_requires=required_packages, extras_require=extras, From bc6440d9cc0626e8b11fd8048a9c1e9ffe6462d2 Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Mon, 13 Jun 2022 22:47:07 -0700 Subject: [PATCH 4/7] fix: remove scipy update --- requirements/extras/scipy_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/extras/scipy_requirements.txt b/requirements/extras/scipy_requirements.txt index be287f9d26..9136ba9f03 100644 --- a/requirements/extras/scipy_requirements.txt +++ b/requirements/extras/scipy_requirements.txt @@ -1 +1 @@ -scipy==1.8.1 +scipy==1.5.4 From 55ae7cedd7ab6236541d29f4a26386cb34144db4 Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Thu, 16 Jun 2022 17:00:41 -0700 Subject: [PATCH 5/7] deprecation: remove support for python 3.6 --- .githooks/pre-push | 4 ++-- README.rst | 1 - setup.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index 719e35e88f..9235297add 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -12,5 +12,5 @@ start_time=`date +%s` tox -e sphinx,doc8 --parallel all ./ci-scripts/displaytime.sh 'sphinx,doc8' $start_time start_time=`date +%s` -tox -e py36,py37,py38,py39 --parallel all -- tests/unit -./ci-scripts/displaytime.sh 'py36,py37,py38,py39 unit' $start_time +tox -e py37,py38,py39 --parallel all -- tests/unit +./ci-scripts/displaytime.sh 'py37,py38,py39 unit' $start_time diff --git a/README.rst b/README.rst index ab62eddad0..44f724a781 100644 --- a/README.rst +++ b/README.rst @@ -87,7 +87,6 @@ Supported Python Versions SageMaker Python SDK is tested on: -- Python 3.6 - Python 3.7 - Python 3.8 - Python 3.9 diff --git a/setup.py b/setup.py index 780cbaed04..75a113f019 100644 --- a/setup.py +++ b/setup.py @@ -91,7 +91,6 @@ def read_requirements(filename): "Natural Language :: English", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", From ee40a121b5f527c3b3ac003aee8a9ab1fb79827f Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Thu, 16 Jun 2022 17:22:41 -0700 Subject: [PATCH 6/7] change: update scipy --- requirements/extras/scipy_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/extras/scipy_requirements.txt b/requirements/extras/scipy_requirements.txt index 9136ba9f03..1cf073e9f5 100644 --- a/requirements/extras/scipy_requirements.txt +++ b/requirements/extras/scipy_requirements.txt @@ -1 +1 @@ -scipy==1.5.4 +scipy==1.7.2 From cffbfb5bc0f10cbcd1b6c72f0a614a04483a8bbd Mon Sep 17 00:00:00 2001 From: Mufaddal Rohawala Date: Mon, 20 Jun 2022 14:14:26 -0700 Subject: [PATCH 7/7] change: update tox.ini --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 7143175715..47d23b0b89 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py36,py37,py38,py39,py310 +envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py37,py38,py39,py310 skip_missing_interpreters = False @@ -74,7 +74,7 @@ commands = {env:IGNORE_COVERAGE:} coverage report -i --fail-under=86 deps = .[test] depends = - {py36,py37,py38,py39,py310}: clean + {py37,py38,py39,py310}: clean [testenv:flake8] skipdist = true