Repository: python-websockets/websockets (language: python)

Issue:
No Python 3.12 support in pyproject.toml
Please update project to specifically support Python 3.12 support.

Python 3.12 is currently missing in pyproject.toml



Discussion / hints:

Fix patch:
diff --git a/docs/project/changelog.rst b/docs/project/changelog.rst
index 200ca7ef..963353d0 100644
--- a/docs/project/changelog.rst
+++ b/docs/project/changelog.rst
@@ -30,6 +30,11 @@ notice.
 
 *In development*
 
+New features
+............
+
+* Validated compatibility with Python 3.12.
+
 12.0
 ----
 
diff --git a/pyproject.toml b/pyproject.toml
index f24616dd..a7b4a6a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,6 +23,7 @@ classifiers = [
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
+    "Programming Language :: Python :: 3.12",
 ]
 dynamic = ["version", "readme"]
 
diff --git a/tox.ini b/tox.ini
index 939d8c0c..538b638d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,6 +5,7 @@ envlist =
     py39
     py310
     py311
+    py312
     coverage
     black
     ruff


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b128defb..8161f1cb 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -61,6 +61,7 @@ jobs:
           - "3.9"
           - "3.10"
           - "3.11"
+          - "3.12"
           - "pypy-3.8"
           - "pypy-3.9"
         is_main: