From 4fdc3658207a3ca15efb72740d3b1c310098d140 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 2 Aug 2023 18:31:22 +0200 Subject: [PATCH] Declare support for 3.12. --- .github/workflows/ci.yml | 9 ++++++++- CHANGELOG.rst | 5 +++++ noxfile.py | 2 +- pyproject.toml | 5 ++++- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 884bba5e..7b1a163c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,14 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: | + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 + pypy3.10 + allow-prereleases: true - name: Set up nox uses: wntrblm/nox@2023.04.22 - name: Enable UTF-8 on Windows diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 84df7c66..30a57b67 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,8 @@ +v4.18.5 +======= + +* Declare support for Py3.12 + v4.18.4 ======= diff --git a/noxfile.py b/noxfile.py index 5d176965..6c19a021 100644 --- a/noxfile.py +++ b/noxfile.py @@ -42,7 +42,7 @@ def _session(fn): return _session -@session(python=["3.8", "3.9", "3.10", "3.11", "pypy3"]) +@session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]) @nox.parametrize("installable", INSTALLABLE) def tests(session, installable): diff --git a/pyproject.toml b/pyproject.toml index d351619b..7e134771 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,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 :: File Formats :: JSON", @@ -68,8 +69,8 @@ format-nongpl = [ jsonschema = "jsonschema.cli:main" [project.urls] -Homepage = "https://github.com/python-jsonschema/jsonschema" Documentation = "https://python-jsonschema.readthedocs.io/" +Homepage = "https://github.com/python-jsonschema/jsonschema" Issues = "https://github.com/python-jsonschema/jsonschema/issues/" Funding = "https://github.com/sponsors/Julian" Tidelift = "https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pypi-jsonschema&utm_medium=referral&utm_campaign=pypi-link" @@ -170,6 +171,8 @@ ignore = [ "D407", # Plz spaces after section headers "D412", + # We support 3.8 + 3.9 + "UP007", ] extend-exclude = ["json"]