diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07664ae..276d448 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,9 +52,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install dependencies - run: > - sudo apt-get update && - sudo apt-get install -y libenchant-2-dev + run: sudo apt-get update && sudo apt-get install -y libenchant-2-dev if: runner.os == 'Linux' && startsWith(matrix.noxenv, 'docs') - name: Install dependencies run: brew install enchant @@ -62,11 +60,18 @@ 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: Run nox - run: nox -s "${{ matrix.noxenv }}" + run: nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }} packaging: needs: ci diff --git a/noxfile.py b/noxfile.py index 8fcddd0..ac4ed63 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,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"]) def tests(session): session.install("pytest", ROOT) env = dict(os.environ, PYTHONWARNDEFAULTENCODING="1") diff --git a/pyproject.toml b/pyproject.toml index 962ddb2..835c2af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,12 +31,12 @@ 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 :: JSON Schema", ] dynamic = ["version"] - dependencies = [ "referencing>=0.28.0", "importlib_resources>=1.4.0;python_version<'3.9'",