Skip to content

Commit 8e78865

Browse files
committed
build(python): Support Python 3.11
1 parent dc96c3f commit 8e78865

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
fail-fast: false
9191
matrix:
9292
os: [ubuntu-20.04, macos-11, windows-2019]
93-
python-version: ['3.7', '3.8', '3.9', '3.10']
93+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
9494

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

bindings/python/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- `data-css-inline="ignore"` attribute to ignore CSS inlining. [#10](https://github.com/Stranger6667/css-inline/issues/10)
8+
- Python 3.11 support.
89

910
## [0.8.4] - 2022-10-20
1011

bindings/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ features = ["http", "file"]
2222
[dependencies]
2323
url = "2"
2424
rayon = "1"
25-
pyo3 = { version = "0.17.2", features = ["extension-module", "abi3-py37"] }
25+
pyo3 = { version = "0.17.3", features = ["extension-module", "abi3-py37"] }
2626
pyo3-built = "0.4"
2727

2828
[profile.release]

bindings/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Besides performance, `css-inline` differs from other Python libraries for CSS in
156156
Python support
157157
--------------
158158

159-
`css_inline` supports CPython 3.7, 3.8, 3.9, 3.10, and PyPy 3.7, 3.8, 3.9.
159+
`css_inline` supports CPython 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy 3.7, 3.8, 3.9.
160160

161161
Extra materials
162162
---------------

bindings/python/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ classifiers=[
3030
"Programming Language :: Python :: 3.8",
3131
"Programming Language :: Python :: 3.9",
3232
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
3334
"Programming Language :: Python :: Implementation :: CPython",
3435
"Programming Language :: Python :: Implementation :: PyPy",
3536
"Programming Language :: Rust",

bindings/python/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
skipsdist = True
3-
envlist = py{37,38,39,310}
3+
envlist = py{37,38,39,310,311}
44

55
[testenv]
66
deps =

0 commit comments

Comments
 (0)