Skip to content

Commit

Permalink
Add support to Python 3.12 (#154)
Browse files Browse the repository at this point in the history
* Add support to Python 3.12

* Require less than 3.13 for benchmarking

---------

Co-authored-by: Simon Beal <[email protected]>
  • Loading branch information
muddyfish and muddyfish authored Feb 23, 2024
1 parent bffc031 commit 9c8cb2d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
test-run:
- name: "S3"
bucket: ${{ vars.S3_BUCKET }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- cp39-manylinux_x86_64
- cp310-manylinux_x86_64
- cp311-manylinux_x86_64
- cp312-manylinux_x86_64
permissions:
id-token: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion s3torchbenchmarking/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "s3torchbenchmarking"
version = "0.0.1"
description = "Tools to run and compare benchmarks against various PyTorch connectors like the s3torchconnector."
requires-python = ">=3.8,<3.12"
requires-python = ">=3.8,<3.13"
readme = "README.md"
dependencies = [
"torch >= 2.0.1",
Expand Down
3 changes: 2 additions & 1 deletion s3torchconnector/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "s3torchconnector"
version = "1.1.3"
description = "S3 connector integration for PyTorch"
requires-python = ">=3.8,<3.12"
requires-python = ">=3.8,<3.13"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Utilities"
Expand Down
5 changes: 3 additions & 2 deletions s3torchconnectorclient/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "s3torchconnectorclient"
version = "1.1.3"
description = "Internal S3 client implementation for s3torchconnector"
requires-python = ">=3.8,<3.12"
requires-python = ">=3.8,<3.13"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Utilities"
Expand Down Expand Up @@ -64,7 +65,7 @@ environment-pass = [
"S3_CUSTOM_ENDPOINT_URL"
]
before-build = "cp README.md s3torchconnectorclient; cp LICENSE s3torchconnectorclient/; cp THIRD-PARTY-LICENSES s3torchconnectorclient/; cp NOTICE s3torchconnectorclient/"
build = ["cp38*", "cp39*", "cp310*", "cp311*"]
build = ["cp38*", "cp39*", "cp310*", "cp311*", "cp312*"]
skip = "*musllinux* *i686"

[tool.cibuildwheel.linux]
Expand Down

0 comments on commit 9c8cb2d

Please sign in to comment.