From d2e140919a51ba1b1b1f67f164b85f7b71563e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Wed, 11 Oct 2023 09:47:35 +0200 Subject: [PATCH] Support Python 3.12 --- .github/workflows/pr-check.yml | 4 ++-- .github/workflows/tests.yml | 2 +- newsfragments/388.feature.rst | 1 + pyproject.toml | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 newsfragments/388.feature.rst diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index db73cd4..b8efc15 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v4 - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.0 with: - python-version: "3.11" + python-version: "3.12" command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x" towncrier: runs-on: ubuntu-latest @@ -20,6 +20,6 @@ jobs: steps: - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.0 with: - python-version: "3.11" + python-version: "3.12" command: towncrier check --compare-with origin/main fetch-depth: 0 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e8bb86..4abb312 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,6 @@ jobs: tests: uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.4.0 with: - python-versions: '["3.8", "3.9", "3.10", "3.11"]' + python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12"]' secrets: codecov_token: ${{ secrets.CODECOV_TOKEN }} diff --git a/newsfragments/388.feature.rst b/newsfragments/388.feature.rst new file mode 100644 index 0000000..9715c7c --- /dev/null +++ b/newsfragments/388.feature.rst @@ -0,0 +1 @@ +Add support for Python 3.12 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 01ff707..8d868ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Framework :: Pyramid", "Framework :: Pytest", "Topic :: Software Development :: Libraries :: Python Modules",