From 715fd1bcd781a4cfcb4a60f2cc1dbc10f3000aaf Mon Sep 17 00:00:00 2001 From: Emanuele Palazzetti Date: Fri, 8 Mar 2024 14:16:29 +0000 Subject: [PATCH] feat: add support for Python 3.12 --- .github/workflows/building.yaml | 4 ++-- .github/workflows/linting.yaml | 4 ++-- .github/workflows/testing.yaml | 6 ++++-- tox.ini | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/building.yaml b/.github/workflows/building.yaml index 34e21f7..5da6e16 100644 --- a/.github/workflows/building.yaml +++ b/.github/workflows/building.yaml @@ -23,9 +23,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Upgrade pip and install required tools run: | diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index b320837..d31f1df 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -23,9 +23,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Upgrade pip and install required tools run: | diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 181ce3f..4364cca 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -25,9 +25,11 @@ jobs: uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: | + 3.11 + 3.12 - name: Upgrade pip and install required tools run: | diff --git a/tox.ini b/tox.ini index 4737819..873a425 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = lint py3.11 + py3.12 [testenv] allowlist_externals = pytest