From 45d7a95c84ac3d7767e3e5428023addc4c77f38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Wed, 4 Oct 2023 10:54:03 +0200 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/test.yml | 1 + Makefile | 1 + docs/changelog.rst | 1 + setup.cfg | 1 + tox.ini | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f50bd24c..77ff9a18 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" - "pypy-3.7" - "pypy-3.8" - "pypy-3.9" diff --git a/Makefile b/Makefile index ad35a6fc..927689a9 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,7 @@ test: -Wdefault:"set_output_charset() is deprecated":DeprecationWarning:: \ -Wdefault:"parameter codeset is deprecated":DeprecationWarning:: \ -Wdefault:"'cgi' is deprecated and slated for removal in Python 3.13":DeprecationWarning:: \ + -Wdefault:"datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version.":DeprecationWarning:: \ -m unittest # DOC: Test the examples diff --git a/docs/changelog.rst b/docs/changelog.rst index bc8606cb..036254e8 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -8,6 +8,7 @@ ChangeLog *New:* - Add support for Django 4.2 +- Add support for Python 3.12 *Bugfix:* diff --git a/setup.cfg b/setup.cfg index 49dd0d51..8a9c4f4e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Testing diff --git a/tox.ini b/tox.ini index c9a03758..287ea48c 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 pypy-3.7: pypy37 pypy-3.8: pypy38 pypy-3.9: pypy39