From 94cf950aaee4f10e6a54ab015ec49c2260e6f963 Mon Sep 17 00:00:00 2001 From: Tobias Reiher <15232394+treiher@users.noreply.github.com> Date: Wed, 27 Dec 2023 19:08:39 +0100 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/tests.yml | 6 +++--- CHANGELOG.md | 1 + pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 58257ea..5fcef4f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -57,7 +57,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] target: [black, ruff, mypy] steps: - uses: actions/checkout@v3 @@ -82,7 +82,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Install Poetry @@ -132,7 +132,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Install Poetry diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fafdc7..6685924 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Adjustable beep volume - Automatic upgrade of database - Support for Python 3.11 +- Support for Python 3.12 ### Changed diff --git a/pyproject.toml b/pyproject.toml index c99bc37..6eeb7aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ build-backend = "poetry_dynamic_versioning.backend" [tool.black] line-length = 100 -target-version = ["py39", "py310", "py311"] +target-version = ["py39", "py310", "py311", "py312"] include = '\.pyi?$' exclude = ''' /(