From d0fa1a6984986aec8c41bfd28895fb53cb38fc6f Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 27 Jul 2022 11:50:26 +0100 Subject: [PATCH] Add support for python 3.11 --- .github/workflows/tox.yml | 6 +++++- setup.cfg | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 5d56f07..513f15e 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -57,6 +57,10 @@ jobs: python: "3.10" os: ubuntu-latest tox_env: py310 + - name: py311 + python: "~3.11.0-0" # see https://github.com/actions/setup-python/issues/213#issuecomment-1146676713 + os: ubuntu-latest + tox_env: py311 - name: "lint" python: "3.7" @@ -70,7 +74,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: Install dependencies diff --git a/setup.cfg b/setup.cfg index cbdf57e..f361b8a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,6 +34,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: System :: Systems Administration Topic :: Utilities keywords =