From eace76f6977e14e500574fa5cd9889518199782f Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Sat, 9 Sep 2023 20:53:07 -0400 Subject: [PATCH] Add Python 3.11 testing to CI --- .github/workflows/build.yml | 4 +++- setup.py | 1 + tox.ini | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e826947..dc2f485 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-20.04", "macos-latest"] - python: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.9"] + python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.9"] include: - os: "windows-latest" python: "3.8" @@ -20,6 +20,8 @@ jobs: python: "3.9" - os: "windows-latest" python: "3.10" + - os: "windows-latest" + python: "3.11" runs-on: ${{ matrix.os }} name: "Test: Python ${{ matrix.python }} on ${{ matrix.os }}" steps: diff --git a/setup.py b/setup.py index eec1393..3153aae 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ setup( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Utilities", ], keywords="dotfiles", diff --git a/tox.ini b/tox.ini index fb1c3a9..711fba3 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ ; All older versions, and PyPy, lack full symlink support. envlist = coverage_erase - py{38, 39, 310}-all_platforms + py{38, 39, 310, 311}-all_platforms py{36, 37}-most_platforms pypy3-most_platforms coverage_report @@ -63,6 +63,7 @@ python = 3.8: py38-all_platforms 3.9: py39-all_platforms 3.10: py310-all_platforms + 3.11: py311-all_platforms ; Run on most platforms (Linux and Mac) pypy-3.9: pypy3-most_platforms