Skip to content

Commit e163807

Browse files
akrishna1995Ashwin Krishna
andauthored
change: update readme, trigger p311 tests (#4529)
* change: update readme, trigger p311 tests * change: update ci-health checks.yml * fix: order of py311 --------- Co-authored-by: Ashwin Krishna <[email protected]>
1 parent ca9ae23 commit e163807

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/codebuild-ci-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
python-version: ["py38", "py39", "py310"]
29+
python-version: ["py38", "py39", "py310", "py311"]
3030
steps:
3131
- name: Configure AWS Credentials
3232
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/codebuild-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["py38", "py39", "py310"]
32+
python-version: ["py38","py39","py310","py311"]
3333
steps:
3434
- name: Configure AWS Credentials
3535
uses: aws-actions/configure-aws-credentials@v4

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ SageMaker Python SDK is tested on:
9393
- Python 3.8
9494
- Python 3.9
9595
- Python 3.10
96+
- Python 3.11
9697

9798
AWS Permissions
9899
~~~~~~~~~~~~~~~

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def read_requirements(filename):
8787
test_dependencies = read_requirements("requirements/extras/test_requirements.txt")
8888
# test dependencies are a superset of testing and extra dependencies
8989
test_dependencies.extend(extras["all"])
90-
# remove torch and torchvision if python version is not 3.10
91-
if sys.version_info.minor != 10:
90+
# remove torch and torchvision if python version is not 3.10/3.11
91+
if sys.version_info.minor != 10 or sys.version_info.minor != 11:
9292
test_dependencies = [
9393
module
9494
for module in test_dependencies
@@ -126,6 +126,7 @@ def read_requirements(filename):
126126
"Programming Language :: Python :: 3.8",
127127
"Programming Language :: Python :: 3.9",
128128
"Programming Language :: Python :: 3.10",
129+
"Programming Language :: Python :: 3.11",
129130
],
130131
install_requires=required_packages,
131132
extras_require=extras,

0 commit comments

Comments
 (0)