Skip to content

Commit bcaef1c

Browse files
committed
chore(python): Drop support for Python<3.9
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent a998076 commit bcaef1c

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ jobs:
443443
fail-fast: false
444444
matrix:
445445
os: [ubuntu-22.04, macos-13, windows-2022]
446-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
446+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
447447

448448
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
449449
runs-on: ${{ matrix.os }}

.github/workflows/python-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
env:
1717
PACKAGE_NAME: css_inline
18-
PYTHON_VERSION: "3.7" # to build abi3 wheels
18+
PYTHON_VERSION: "3.9" # to build abi3 wheels
1919

2020
jobs:
2121
sdist:

bindings/python/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
### Removed
1515

16-
- Builds for PyPy <3.9.
16+
- Support for Python <3.9.
1717

1818
## [0.14.6] - 2024-12-27
1919

bindings/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ crate-type = ["cdylib"]
1414
built = { version = "0.8.0", features = ["cargo-lock", "chrono"] }
1515

1616
[dependencies]
17-
pyo3 = { version = "0.25.0", features = ["extension-module", "abi3-py37"] }
17+
pyo3 = { version = "0.25.0", features = ["extension-module", "abi3-py39"] }
1818
pyo3-built = "0.6"
1919
rayon = "1"
2020
url = "2"

bindings/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ into:
4444
- Can process multiple documents in parallel
4545
- Works on Linux, Windows, macOS and in the browser via PyOdide
4646
- Supports HTML5 & CSS3
47-
- Tested on CPython 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 and PyPy 3.7, 3.8, 3.9, 3.10.
47+
- Tested on CPython 3.9, 3.10, 3.11, 3.12, 3.13 and PyPy 3.9, 3.10.
4848

4949
## Playground
5050

bindings/python/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ classifiers=[
1515
"Operating System :: Microsoft :: Windows",
1616
"Operating System :: POSIX",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.7",
19-
"Programming Language :: Python :: 3.8",
2018
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
2321
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2423
"Programming Language :: Python :: Implementation :: CPython",
2524
"Programming Language :: Python :: Implementation :: PyPy",
2625
"Programming Language :: Rust",
@@ -34,7 +33,7 @@ repository = "https://github.com/Stranger6667/css-inline"
3433

3534
[tool.ruff]
3635
line-length = 120
37-
target-version = "py37"
36+
target-version = "py39"
3837

3938
[tool.ruff.lint.isort]
4039
known-first-party = ["css_inline"]

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,311,312}
3+
envlist = py{39,310,311,312,313}
44

55
[testenv]
66
deps = -rrequirements/test.txt

0 commit comments

Comments
 (0)