Declare support for Python 3.11 (#3020)

This commit is contained in:
Oleh Prypin
2022-10-29 14:48:00 +02:00
committed by GitHub
parent 32359f3e93
commit c576f07d30
3 changed files with 10 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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",