From 93b0c2660274292738ab960855daadd4a2419ed1 Mon Sep 17 00:00:00 2001 From: ol-iver Date: Sat, 10 Feb 2024 17:11:43 +0100 Subject: [PATCH] Support python 3.12 --- .github/workflows/python-code-format.yml | 2 +- .github/workflows/python-publish-pypi.yml | 4 ++-- .github/workflows/python-tests.yml | 2 +- pyproject.toml | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-code-format.yml b/.github/workflows/python-code-format.yml index 7a8d937..3e2c636 100644 --- a/.github/workflows/python-code-format.yml +++ b/.github/workflows/python-code-format.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/python-publish-pypi.yml b/.github/workflows/python-publish-pypi.yml index 7d67841..d583f30 100644 --- a/.github/workflows/python-publish-pypi.yml +++ b/.github/workflows/python-publish-pypi.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Verify version run: | python -m pip install setuptools @@ -60,7 +60,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 7b72455..9b08bc1 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] name: Testing Python ${{ matrix.python-version }} steps: diff --git a/pyproject.toml b/pyproject.toml index 5c0d042..9980618 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] requires-python = ">=3.7" dependencies = [