From 76c378b3c697b8f50f0594b2702abab415f51c35 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 20 Nov 2023 12:49:16 +0000 Subject: [PATCH] Add Python 3.11 support --- .github/workflows/test_and_deploy.yml | 2 +- setup.cfg | 1 + tox.ini | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 9bf652b..2899c76 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/setup.cfg b/setup.cfg index 1a38fe6..e22207a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Operating System :: OS Independent License :: OSI Approved :: BSD License project_urls = diff --git a/tox.ini b/tox.ini index 8210342..718568e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,13 @@ # For more information about tox, see https://tox.readthedocs.io/en/latest/ [tox] -envlist = py{38,39,310}-{linux,macos,windows} +envlist = py{38,39,310,311}-{linux,macos,windows} [gh-actions] python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [gh-actions:env] PLATFORM =