Skip to content

Commit a982d2a

Browse files
committed
Harmonizing python versions
- Building wheels on 3.7 to 3.11 - Testing on CPython 3.7 to 3.11 - Testing all wheels via cibuildwheel - Excluding PyPy
1 parent efaf69f commit a982d2a

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
matrix:
3131
os: [ubuntu-22.04, macos-12]
32-
python: ["3.6.15", "3.7", "3.8", "3.9", "3.10", "3.11"]
32+
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
3333

3434
steps:
3535
- uses: actions/checkout@v3.1.0

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[build-system]
2-
requires = [ "setuptools >= 35.0.2", "wheel >= 0.29.0", "twine", "cython >= 0.29.34,<3.0" ]
2+
requires = [ "setuptools >= 35.0.2", "wheel >= 0.29.0", "cython >= 0.29.34,<3.0" ]
33
build-backend = "setuptools.build_meta"
44

55
[tool.black]
6-
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']
6+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
77

88

99
[tool.pytest.ini_options]
@@ -12,7 +12,10 @@ pythonpath = ["."]
1212

1313
[tool.cibuildwheel]
1414
build = "*"
15-
skip = "*musllinux* *-win*"
15+
skip = "pp* *musllinux* *-win*"
16+
17+
test-requires = ["pytest"]
18+
test-command = "py.test {project}/tests/"
1619

1720
[tool.cibuildwheel.linux]
1821
archs = ["x86_64", "aarch64"]

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifiers =
2424
Intended Audience :: Developers
2525
Programming Language :: Cython
2626
Programming Language :: Python :: 3
27-
Programming Language :: Python :: 3.6
2827
Programming Language :: Python :: 3.7
2928
Programming Language :: Python :: 3.8
3029
Programming Language :: Python :: 3.9
@@ -41,9 +40,9 @@ zim_safe = False
4140
packages =
4241
libzim
4342
python_requires =
44-
>=3.6,<3.12
43+
>=3.7,<3.12
4544
setup_requires =
46-
cython >= 0.29.32,<0.30
45+
cython >= 0.29.34,<0.30
4746
test_requires =
4847
pytest
4948

0 commit comments

Comments
 (0)