Skip to content

Commit de8eef6

Browse files
authored
deprecation: remove support for py37 (#4101)
1 parent 5f9a6be commit de8eef6

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.githooks/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ start_time=`date +%s`
1212
tox -e sphinx,doc8 --parallel all
1313
./ci-scripts/displaytime.sh 'sphinx,doc8' $start_time
1414
start_time=`date +%s`
15-
tox -e py37,py38,py39 --parallel all -- tests/unit
16-
./ci-scripts/displaytime.sh 'py37,py38,py39 unit' $start_time
15+
tox -e py38,py39,py310 --parallel all -- tests/unit
16+
./ci-scripts/displaytime.sh 'py38,py39,py310 unit' $start_time

README.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ Supported Python Versions
8787

8888
SageMaker Python SDK is tested on:
8989

90-
- Python 3.7
9190
- Python 3.8
9291
- Python 3.9
9392
- Python 3.10

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,13 @@ def read_requirements(filename):
9292
url="https://github.com/aws/sagemaker-python-sdk/",
9393
license="Apache License 2.0",
9494
keywords="ML Amazon AWS AI Tensorflow MXNet",
95-
python_requires=">= 3.6",
95+
python_requires=">= 3.7",
9696
classifiers=[
9797
"Development Status :: 5 - Production/Stable",
9898
"Intended Audience :: Developers",
9999
"Natural Language :: English",
100100
"License :: OSI Approved :: Apache Software License",
101101
"Programming Language :: Python",
102-
"Programming Language :: Python :: 3.7",
103102
"Programming Language :: Python :: 3.8",
104103
"Programming Language :: Python :: 3.9",
105104
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py37,py38,py39,py310
7+
envlist = black-format,flake8,pylint,docstyle,sphinx,doc8,twine,py38,py39,py310
88

99
skip_missing_interpreters = False
1010

@@ -73,13 +73,13 @@ passenv =
7373
# Can be used to specify which tests to run, e.g.: tox -- -s
7474
commands =
7575
python -c "import os; os.system('install-custom-pkgs --install-boto-wheels')"
76-
pip install 'apache-airflow==2.6.3' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.6.3/constraints-3.7.txt"
76+
pip install 'apache-airflow==2.7.0' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.7.0/constraints-3.8.txt"
7777

7878
pytest --cov=sagemaker --cov-append {posargs}
7979
{env:IGNORE_COVERAGE:} coverage report -i --fail-under=86
8080
deps = .[test]
8181
depends =
82-
{py37,py38,py39,py310}: clean
82+
{py38,py39,py310}: clean
8383

8484
[testenv:flake8]
8585
skipdist = true

0 commit comments

Comments
 (0)