diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index 57c4de79..bc197e42 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - python: ["3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 @@ -74,7 +74,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - uses: actions/cache@v3.0.8 id: cache @@ -109,7 +109,7 @@ jobs: steps: - uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - uses: actions/checkout@v4 with: diff --git a/changes/226.added b/changes/226.added new file mode 100644 index 00000000..3c484d83 --- /dev/null +++ b/changes/226.added @@ -0,0 +1 @@ +Python 3.12 support diff --git a/pyproject.toml b/pyproject.toml index fa8f1c28..4a7323ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] dynamic = ["version"] readme = "README.md" diff --git a/substrafl/remote/register/register.py b/substrafl/remote/register/register.py index acfdc4a1..007243ca 100644 --- a/substrafl/remote/register/register.py +++ b/substrafl/remote/register/register.py @@ -27,7 +27,7 @@ # minimal and maximal values of Python 3 minor versions supported # we need to store this as integer, else "3.11" < "3.9" (string comparison) MINIMAL_PYTHON_VERSION = 9 # 3.9 -MAXIMAL_PYTHON_VERSION = 11 # 3.11 +MAXIMAL_PYTHON_VERSION = 12 # 3.12 _DEFAULT_BASE_DOCKER_IMAGE = "python:{python_version}-slim"