Skip to content

Commit 286eced

Browse files
committed
build(python): Add Python 3.10
1 parent 50ff5b7 commit 286eced

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
fail-fast: false
9292
matrix:
9393
os: [ubuntu-latest, macos-latest, windows-latest]
94-
python-version: ['3.6', '3.7', '3.8', '3.9']
94+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
9595

9696
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
9797
runs-on: ${{ matrix.os }}

.github/workflows/python-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [macos-latest, windows-latest]
14-
python-version: ['3.6', '3.7', '3.8', '3.9']
14+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
1515
architecture: [x86, x64]
1616
exclude:
1717
- os: macos-latest
@@ -48,7 +48,7 @@ jobs:
4848
matrix:
4949
# List of the language-implementation API pairs to publish wheels for
5050
# The list of supported is obtainable by running `docker run quay.io/pypa/manylinux2014_x86_64 ls /opt/python`
51-
PYTHON_IMPLEMENTATION_ABI: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39]
51+
PYTHON_IMPLEMENTATION_ABI: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310]
5252
runs-on: ubuntu-latest
5353
container: quay.io/pypa/manylinux2014_x86_64 # Builds wheels on CentOS 7 (supported until 2024)
5454
env:

bindings/python/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Added
6+
7+
- Python 3.10 builds.
8+
59
### Changed
610

711
- Update `PyO3` to `0.15.1`.

bindings/python/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The results above were measured with stable ``rustc 1.47.0``, ``Python 3.8.6`` o
101101
Python support
102102
--------------
103103

104-
``css_inline`` supports Python 3.6, 3.7, 3.8, and 3.9.
104+
``css_inline`` supports Python 3.6, 3.7, 3.8, 3.9, and 3.10.
105105

106106
Extra materials
107107
---------------

bindings/python/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def call_setup():
4343
"Programming Language :: Python :: 3.7",
4444
"Programming Language :: Python :: 3.8",
4545
"Programming Language :: Python :: 3.9",
46+
"Programming Language :: Python :: 3.10",
4647
"Programming Language :: Python :: Implementation :: CPython",
4748
"Programming Language :: Rust",
4849
],

0 commit comments

Comments
 (0)