From 90e8f2ca7c555fdff803b3a7aa62395396fb9bec Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 6 Nov 2022 13:54:30 +0200 Subject: [PATCH 1/2] Add support for Python 3.11 --- .github/workflows/ci.yml | 2 +- setup.py | 4 ++++ tox.ini | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b22d7c8..474ae94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] + python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"] os: - macos-latest - windows-latest diff --git a/setup.py b/setup.py index 62f63fa..f1299f6 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,10 @@ def get_version(): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], diff --git a/tox.ini b/tox.ini index 253c8ba..64b6ab3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py37,py38,py39,py310,pypy,pypy3,{py27,py37}-flake8,noopenssl,docstrings +envlist = py{27,37,38,39,310,311,py,py3},py{27,37}-flake8,noopenssl,docstrings [gh-actions] python = @@ -8,6 +8,7 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [testenv] pip_pre = False From 1c6499b4f700aa354c88cdf550ca6b63377e9250 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 6 Nov 2022 13:55:31 +0200 Subject: [PATCH 2/2] Bump GitHub Actions --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 474ae94..b3a71d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: uses: "actions/checkout@v3" - name: "Setup Python" - uses: "actions/setup-python@v3" + uses: "actions/setup-python@v4" with: python-version: "3.x" cache: "pip" @@ -44,7 +44,7 @@ jobs: uses: "actions/checkout@v3" - name: "Setup Python ${{ matrix.python-version }}" - uses: "actions/setup-python@v3" + uses: "actions/setup-python@v4" with: python-version: ${{ matrix.python-version }} # Fails on Python 2 + Windows