Skip to content

Commit

Permalink
Declare support for 3.13
Browse files Browse the repository at this point in the history
Fixes: #1264.

Hardcode the `LATEST_STABLE` variable in `noxfile.py` to equal the latest
stable Python release.
  • Loading branch information
rominf committed Jul 8, 2024
1 parent 3a44b4b commit 40410c4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
3.10
3.11
3.12
3.13
pypy3.10
allow-prereleases: true
- name: Set up nox
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v4.22.1
=======

* Declare support for Py3.13

v4.22.0
=======

Expand Down
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"The Unlicense (Unlicense)",
]

SUPPORTED = ["3.8", "3.9", "3.10", "pypy3.10", "3.11", "3.12"]
LATEST = SUPPORTED[-1]
SUPPORTED = ["3.8", "3.9", "3.10", "pypy3.10", "3.11", "3.12", "3.13"]
LATEST_STABLE = "3.12"

nox.options.sessions = []


def session(default=True, python=LATEST, **kwargs): # noqa: D103
def session(default=True, python=LATEST_STABLE, **kwargs): # noqa: D103
def _session(fn):
if default:
nox.options.sessions.append(kwargs.get("name", fn.__name__))
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: File Formats :: JSON",
Expand Down

0 comments on commit 40410c4

Please sign in to comment.