Skip to content

Commit

Permalink
change: update readme, trigger p311 tests (#4529)
Browse files Browse the repository at this point in the history
* change: update readme, trigger p311 tests

* change: update ci-health checks.yml

* fix: order of py311

---------

Co-authored-by: Ashwin Krishna <ashwikri@amazon.com>
  • Loading branch information
akrishna1995 and Ashwin Krishna committed Mar 25, 2024
1 parent ca9ae23 commit e163807
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codebuild-ci-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["py38", "py39", "py310"]
python-version: ["py38", "py39", "py310", "py311"]
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codebuild-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["py38", "py39", "py310"]
python-version: ["py38","py39","py310","py311"]
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ SageMaker Python SDK is tested on:
- Python 3.8
- Python 3.9
- Python 3.10
- Python 3.11

AWS Permissions
~~~~~~~~~~~~~~~
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def read_requirements(filename):
test_dependencies = read_requirements("requirements/extras/test_requirements.txt")
# test dependencies are a superset of testing and extra dependencies
test_dependencies.extend(extras["all"])
# remove torch and torchvision if python version is not 3.10
if sys.version_info.minor != 10:
# remove torch and torchvision if python version is not 3.10/3.11
if sys.version_info.minor != 10 or sys.version_info.minor != 11:
test_dependencies = [
module
for module in test_dependencies
Expand Down Expand Up @@ -126,6 +126,7 @@ def read_requirements(filename):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
install_requires=required_packages,
extras_require=extras,
Expand Down

0 comments on commit e163807

Please sign in to comment.