Skip to content

Commit beda0e5

Browse files
committed
Declare support for 3.12.
1 parent 4674270 commit beda0e5

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,26 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v3
5454
- name: Install dependencies
55-
run: >
56-
sudo apt-get update &&
57-
sudo apt-get install -y libenchant-2-dev
55+
run: sudo apt-get update && sudo apt-get install -y libenchant-2-dev
5856
if: runner.os == 'Linux' && startsWith(matrix.noxenv, 'docs')
5957
- name: Install dependencies
6058
run: brew install enchant
6159
if: runner.os == 'macOS' && startsWith(matrix.noxenv, 'docs')
6260
- name: Set up Python
6361
uses: actions/setup-python@v4
6462
with:
65-
python-version: "3.x"
63+
python-version: |
64+
3.8
65+
3.9
66+
3.10
67+
3.11
68+
3.12
69+
pypy3.10
70+
allow-prereleases: true
6671
- name: Set up nox
6772
uses: wntrblm/[email protected]
6873
- name: Run nox
69-
run: nox -s "${{ matrix.noxenv }}"
74+
run: nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }}
7075

7176
packaging:
7277
needs: ci

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _session(fn):
2121
return _session
2222

2323

24-
@session(python=["3.8", "3.9", "3.10", "3.11", "pypy3"])
24+
@session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"])
2525
def tests(session):
2626
session.install("pytest", ROOT)
2727
env = dict(os.environ, PYTHONWARNDEFAULTENCODING="1")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ classifiers = [
3131
"Programming Language :: Python :: 3.9",
3232
"Programming Language :: Python :: 3.10",
3333
"Programming Language :: Python :: 3.11",
34+
"Programming Language :: Python :: 3.12",
3435
"Programming Language :: Python :: Implementation :: CPython",
3536
"Programming Language :: Python :: Implementation :: PyPy",
3637
"Topic :: File Formats :: JSON :: JSON Schema",
3738
]
3839
dynamic = ["version"]
39-
4040
dependencies = [
4141
"referencing>=0.28.0",
4242
"importlib_resources>=1.4.0;python_version<'3.9'",

0 commit comments

Comments
 (0)