Skip to content

Commit

Permalink
Declare support for 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Jul 18, 2023
1 parent 4674270 commit beda0e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,26 @@ 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
if: runner.os == 'macOS' && startsWith(matrix.noxenv, 'docs')
- 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
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down

0 comments on commit beda0e5

Please sign in to comment.