Skip to content

Commit 9c8cb2d

Browse files
authored
Add support to Python 3.12 (#154)
* Add support to Python 3.12 * Require less than 3.13 for benchmarking --------- Co-authored-by: Simon Beal <[email protected]>
1 parent bffc031 commit 9c8cb2d

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.github/workflows/python-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- name: Checkout code

.github/workflows/python-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
python-version: ["3.8", "3.9", "3.10", "3.11"]
27+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2828
test-run:
2929
- name: "S3"
3030
bucket: ${{ vars.S3_BUCKET }}

.github/workflows/wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- cp39-manylinux_x86_64
2929
- cp310-manylinux_x86_64
3030
- cp311-manylinux_x86_64
31+
- cp312-manylinux_x86_64
3132
permissions:
3233
id-token: write
3334
contents: read

s3torchbenchmarking/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "s3torchbenchmarking"
77
version = "0.0.1"
88
description = "Tools to run and compare benchmarks against various PyTorch connectors like the s3torchconnector."
9-
requires-python = ">=3.8,<3.12"
9+
requires-python = ">=3.8,<3.13"
1010
readme = "README.md"
1111
dependencies = [
1212
"torch >= 2.0.1",

s3torchconnector/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "s3torchconnector"
77
version = "1.1.3"
88
description = "S3 connector integration for PyTorch"
9-
requires-python = ">=3.8,<3.12"
9+
requires-python = ">=3.8,<3.13"
1010
readme = "README.md"
1111
classifiers = [
1212
"Development Status :: 5 - Production/Stable",
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.9",
1616
"Programming Language :: Python :: 3.10",
1717
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
1819
"License :: OSI Approved :: BSD License",
1920
"Operating System :: OS Independent",
2021
"Topic :: Utilities"

s3torchconnectorclient/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "s3torchconnectorclient"
77
version = "1.1.3"
88
description = "Internal S3 client implementation for s3torchconnector"
9-
requires-python = ">=3.8,<3.12"
9+
requires-python = ">=3.8,<3.13"
1010
readme = "README.md"
1111
classifiers = [
1212
"Development Status :: 5 - Production/Stable",
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.9",
1616
"Programming Language :: Python :: 3.10",
1717
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
1819
"License :: OSI Approved :: BSD License",
1920
"Operating System :: OS Independent",
2021
"Topic :: Utilities"
@@ -64,7 +65,7 @@ environment-pass = [
6465
"S3_CUSTOM_ENDPOINT_URL"
6566
]
6667
before-build = "cp README.md s3torchconnectorclient; cp LICENSE s3torchconnectorclient/; cp THIRD-PARTY-LICENSES s3torchconnectorclient/; cp NOTICE s3torchconnectorclient/"
67-
build = ["cp38*", "cp39*", "cp310*", "cp311*"]
68+
build = ["cp38*", "cp39*", "cp310*", "cp311*", "cp312*"]
6869
skip = "*musllinux* *i686"
6970

7071
[tool.cibuildwheel.linux]

0 commit comments

Comments
 (0)