From 852e50e4c14eb2ea2d9cda339e44e5bd36078a26 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Cong Date: Tue, 5 Sep 2023 11:46:55 +0200 Subject: [PATCH 1/2] chore: Support Python 3.11 --- .github/workflows/build.yml | 5 +++-- .github/workflows/integration-tests.yml | 2 +- README.md | 2 +- setup.py | 1 + tox.ini | 3 +++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91092083..6ece196b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: - 'pypy-3.8' - '3.9' - '3.10' + - '3.11' name: Build with Python ${{ matrix.python-version }} steps: - name: Checkout @@ -39,10 +40,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Set up Python 3.6 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.9' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index bb2ca794..e0669c4a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -16,7 +16,7 @@ jobs: matrix: python-version: - '3.6' - - '3.8' + - '3.11' steps: - name: Checkout uses: actions/checkout@v2 diff --git a/README.md b/README.md index 11669b01..371540a6 100644 --- a/README.md +++ b/README.md @@ -445,7 +445,7 @@ tox The tox tests include code style checks via pep8 and pylint. -The tox tests are configured to run on Python 3.6, 3.7, 3.8, 3.9, 3.10 +The tox tests are configured to run on Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy (our CI is configured to run PyPy tests on pypy-3.6, pypy-3.7, pypy-3.8). # Questions, Bugs, and Feature Requests? diff --git a/setup.py b/setup.py index f25d829a..c2dc2d8a 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,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', 'Operating System :: OS Independent', diff --git a/tox.ini b/tox.ini index 49be5f96..e841d2ff 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,7 @@ envlist = pypy38, py39, py310, + py311, docs, coverage, integration-tests @@ -29,6 +30,7 @@ python = pypy-3.8: pypy38 3.9: py39 3.10: py310 + 3.11: py311 [testenv] commands = @@ -83,6 +85,7 @@ recreate = True deps = wheel setuptools + virtualenv<20.22.0 allowlist_externals = rm [testenv:py36-upload] From 30868cb1e5e4d0bb4167501604b5a7145196a724 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Cong Date: Tue, 5 Sep 2023 11:49:48 +0200 Subject: [PATCH 2/2] Update version --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ece196b..fe792be7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,10 +40,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Set up Python 3.9 + - name: Set up Python 3.6 uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.6' - name: Install dependencies run: | python -m pip install --upgrade pip