Skip to content

Commit 982186f

Browse files
committed
Drop support for Python 3.9
Python 3.9 is EOL and coverage 7.11.0 supports only Python >= 3.10
1 parent 1121854 commit 982186f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/Tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [macos-13, windows-2022, ubuntu-24.04]
16-
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
16+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1717

1818
steps:
1919
- uses: actions/checkout@v5

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
1111
[project]
1212
name = "libzim"
1313
version = "3.7.1-dev0"
14-
requires-python = ">=3.9,<3.15"
14+
requires-python = ">=3.10,<3.15"
1515
description = "A python-facing API for creating and interacting with ZIM files"
1616
authors = [
1717
{name = "openZIM", email = "[email protected]"},
@@ -30,7 +30,6 @@ classifiers = [
3030
"Intended Audience :: Developers",
3131
"Programming Language :: Cython",
3232
"Programming Language :: Python :: 3",
33-
"Programming Language :: Python :: 3.9",
3433
"Programming Language :: Python :: 3.10",
3534
"Programming Language :: Python :: 3.11",
3635
"Programming Language :: Python :: 3.12",
@@ -140,10 +139,8 @@ archs = ["x86_64", "aarch64"]
140139
archs = ["x86_64", "arm64"]
141140
# macOS arm64 is cross-compiled and can not be tested.
142141
# cibuildwheel skips it already. *_arm64 this removes the warning
143-
# skipping tests on cp <=3.9 as the wheels we produce are on unexpected combinations
144-
# because those python versions were released before our building host version
145142
# > requires changing wheel names
146-
test-skip = "*_arm64 cp39*"
143+
test-skip = "*_arm64"
147144

148145
[tool.hatch.build]
149146
exclude = [
@@ -169,7 +166,7 @@ features = ["scripts", "test"]
169166
PROFILE = "1"
170167

171168
[[tool.hatch.envs.test.matrix]]
172-
python = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
169+
python = ["3.10", "3.11", "3.12", "3.13", "3.14"]
173170

174171
[tool.hatch.envs.test.scripts]
175172
run = "inv test --args '{args}'"

0 commit comments

Comments
 (0)