diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f2b5cc85..72bb43d1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,12 +18,13 @@ jobs: - 3.9 - '3.10' - '3.11' + - '3.12' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -39,11 +40,11 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip tox diff --git a/setup.cfg b/setup.cfg index 83a3ed7f..e98a079e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Internet :: WWW/HTTP project_urls = Documentation = https://asgi.readthedocs.io/ diff --git a/tox.ini b/tox.ini index e0e17111..a271b813 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,311}-{test,mypy} + py{38,39,310,311,312}-{test,mypy} qa [testenv] @@ -9,6 +9,8 @@ extras = tests commands = test: pytest -v {posargs} mypy: mypy . {posargs} +deps = + setuptools [testenv:qa] skip_install = true