chore(python): Python 3.11 support

This commit is contained in:
Dmitry Dygalo 2023-01-14 21:26:15 +01:00 committed by Dmitry Dygalo
parent d61e1f464c
commit 73a4943d88
6 changed files with 10 additions and 4 deletions

View File

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

View File

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

View File

@ -2,6 +2,10 @@
## [Unreleased] ## [Unreleased]
### Added
- Support for Python 3.11
## [0.16.1] - 2022-10-20 ## [0.16.1] - 2022-10-20
### Changed ### Changed

View File

@ -47,6 +47,7 @@ classifier = [
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython", "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 Python support
-------------- --------------
``jsonschema-rs`` supports CPython 3.7, 3.8, 3.9, and 3.10. ``jsonschema-rs`` supports CPython 3.7, 3.8, 3.9, 3.10, and 3.11.
License License
------- -------

View File

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