From 3a2338e53bfdefd352bf22b2d531d7a374444422 Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Sun, 26 Nov 2023 16:01:46 +0100 Subject: [PATCH] Fixed #489 -- Add support for Python 3.12 --- .github/workflows/tests.yml | 1 + .pre-commit-config.yaml | 6 +++--- CHANGELOG.txt | 6 ++++++ setup.cfg | 1 + tox.ini | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a719751f..670a8acb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db154b8e..c1fd8229 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.14.0 + rev: v3.15.0 hooks: - id: pyupgrade - args: [--py36-plus] + args: [--py38-plus] - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.11.0 hooks: - id: black language_version: python3 diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 996b763a..5a15c1d7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,9 @@ +4.1.0 (unreleased) +------------------ + +* Added support for Python 3.12 + + 4.0.0 (2022-10-07) ------------------ diff --git a/setup.cfg b/setup.cfg index c73c92ac..26b33524 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 Topic :: Internet :: WWW/HTTP [options] diff --git a/tox.ini b/tox.ini index b638f4c9..a741f0e1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,311} + py{38,39,310,311,312} [testenv] extras = tests