Skip to content

change: update readme, trigger p311 tests #4529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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