From 1752be5e908f4e0e392979bf9b887dfdffcdb54e Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Mon, 19 Dec 2022 08:47:21 -0800 Subject: [PATCH] Officially support Python 3.11 --- .github/workflows/ci.yml | 2 +- setup.py | 1 + tox.ini | 10 ++++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 381d3f8..78985d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", pypy-3.7] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.7] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 9884f4b..3d6fddb 100644 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ def run_tests(self): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', diff --git a/tox.ini b/tox.ini index 3bb7cbe..a5a3784 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,8 @@ envlist = py38-flake8-{v5,v6,latest}, py39-flake8-{v5,v6,latest}, py310-flake8-{v5,v6,latest}, - py310-flake8, + py311-flake8-{v5,v6,latest}, + py311-flake8, pypy3 [gh-actions] @@ -12,7 +13,8 @@ python = 3.7: py37 3.8: py38 3.9: py39 - 3.10: py310, py310-flake8 + 3.10: py310 + 3.11: py311, py311-flake8 pypy-3.7: pypy3 [testenv] @@ -22,8 +24,8 @@ deps = flake8-v6: flake8 >= 6.0.0, < 7.0.0 flake8-latest: flake8 -[testenv:py310-flake8] -basepython = python3.10 +[testenv:py311-flake8] +basepython = python3.11 commands = flake8 {posargs} src/pep8ext_naming.py python setup.py check --restructuredtext