build: Add Python 3.10

This commit is contained in:
Dmitry Dygalo 2022-04-25 19:00:30 +02:00 committed by Dmitry Dygalo
parent 37955910cf
commit 6f4bc34d51
7 changed files with 11 additions and 5 deletions

View File

@ -83,7 +83,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11, windows-2019]
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

View File

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [macos-11, windows-2019]
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
architecture: [x86, x64]
exclude:
- os: macos-11
@ -48,7 +48,7 @@ jobs:
matrix:
# List of the language-implementation API pairs to publish wheels for
# The list of supported is obtainable by running `docker run quay.io/pypa/manylinux2014_x86_64 ls /opt/python`
PYTHON_IMPLEMENTATION_ABI: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39]
PYTHON_IMPLEMENTATION_ABI: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310]
runs-on: ubuntu-20.04
container: quay.io/pypa/manylinux2014_x86_64 # Builds wheels on CentOS 7 (supported until 2024)
env:

View File

@ -2,6 +2,10 @@
## [Unreleased]
### Added
- Python 3.10 support
## [0.14.0] - 2022-01-31
### Added

View File

@ -47,6 +47,7 @@ classifier = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
]

View File

@ -152,7 +152,7 @@ Measured with stable Rust 1.56, CPython 3.9.7 / PyPy3 7.3.6 on i8700K (12 cores)
Python support
--------------
``jsonschema-rs`` supports CPython 3.6, 3.7, 3.8 and 3.9.
``jsonschema-rs`` supports CPython 3.6, 3.7, 3.8, 3.9, and 3.10.
License
-------

View File

@ -43,6 +43,7 @@ def call_setup():
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
],

View File

@ -3,7 +3,7 @@
# (workaround the fact that setup.py does not honor pyproject.toml)
skipsdist = True
envlist = py{36,37,38,39}
envlist = py{36,37,38,39,310}
[testenv]
deps =