diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8342119..ac0ce0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install tox + python -m pip install setuptools tox # NOTE(lb): By creating a sdist and then testing/working with that, we ensure # its completeness. @@ -69,7 +69,7 @@ jobs: working-directory: ${{ github.workspace }}/tmp/sdist - name: Publish package - if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') && matrix.python-version == 3.11 + if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') && matrix.python-version == 3.12 uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ diff --git a/setup.py b/setup.py index aa3e059..4284c40 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ def readme(): '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 :: Stackless', 'Topic :: Documentation', diff --git a/tox.ini b/tox.ini index 63551b9..cacc5a2 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ # them. [tox] -envlist = {py37,py38,py39,py310,py311}-{sphinx34,sphinx33,sphinx32,sphinx24,sphinx18} +envlist = {py37,py38,py39,py310,py311,py312}-{sphinx34,sphinx33,sphinx32,sphinx24,sphinx18} minversion = 2.7.0 [testenv]