From 9cd688ed36ff7b7c76ea1d94f82a06570db6f29c Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Tue, 25 Oct 2022 21:35:58 +0200 Subject: [PATCH] Declare support for Python 3.11 --- .github/workflows/ci.yml | 10 ++++++++-- .github/workflows/deploy-release.yml | 2 +- pyproject.toml | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b533af1235..27c0b0dca3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, '3.10', pypy-3.7-v7.x] + python-version: [3.7, 3.8, 3.9, '3.10', '3.11', pypy-3.7-v7.x] os: [ubuntu-latest, windows-latest, macos-latest] include: - python-version: 3.7 @@ -18,6 +18,8 @@ jobs: py: py39 - python-version: '3.10' py: py310 + - python-version: '3.11' + py: py311 - python-version: pypy-3.7-v7.x py: pypy3 # Just to slim down the test matrix: @@ -28,6 +30,10 @@ jobs: os: windows-latest - python-version: 3.9 os: ubuntu-latest + - python-version: 3.10 + os: macos-latest + - python-version: 3.10 + os: windows-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -98,7 +104,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.10' - name: Install Hatch run: | python -m pip install -U hatch diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 4f07eef4db..d1aedce26b 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.10' - name: Install Hatch run: | python -m pip install -U hatch diff --git a/pyproject.toml b/pyproject.toml index b3ee871861..9c32c949d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",