Skip to content

Commit ef41837

Browse files
authored
[ci] Add Linux PyPy builds to CI (#203)
* Don't build for Python 3.8 anymore. * Add PyPy to build identifiers for cibuildwheel in `pyproject.tml`. * Install all supported Python versions in GH workflows.
1 parent bd87768 commit ef41837

4 files changed

Lines changed: 37 additions & 5 deletions

File tree

.github/workflows/pr_to_master.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ jobs:
4848
- uses: ilammy/msvc-dev-cmd@v1
4949
if: matrix.os == 'windows-latest'
5050

51+
- name: Install Python
52+
uses: actions/setup-python@v5
53+
with:
54+
python-version: |
55+
3.9
56+
3.10
57+
3.11
58+
3.12
59+
pypy3.9
60+
pypy3.10
61+
5162
- name: Build wheels
5263
uses: pypa/cibuildwheel@v2.16
5364
env:

.github/workflows/push_to_master.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ jobs:
4848
- uses: ilammy/msvc-dev-cmd@v1
4949
if: matrix.os == 'windows-latest'
5050

51+
- name: Install Python
52+
uses: actions/setup-python@v5
53+
with:
54+
python-version: |
55+
3.9
56+
3.10
57+
3.11
58+
3.12
59+
pypy3.9
60+
pypy3.10
61+
5162
- name: Build wheels
5263
uses: pypa/cibuildwheel@v2.16
5364
env:

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ jobs:
5151
- uses: ilammy/msvc-dev-cmd@v1
5252
if: matrix.os == 'windows-latest'
5353

54+
- name: Install Python
55+
uses: actions/setup-python@v5
56+
with:
57+
python-version: |
58+
3.9
59+
3.10
60+
3.11
61+
3.12
62+
pypy3.9
63+
pypy3.10
64+
5465
- name: Build wheels
5566
uses: pypa/cibuildwheel@v2.16
5667
env:

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ authors = [
1515
{ name="Christopher Arndt", email="info@chrisarndt.de" },
1616
]
1717
readme = "README.md"
18-
requires-python = ">=3.8"
18+
requires-python = ">=3.9"
1919
classifiers = [
2020
"Development Status :: 5 - Production/Stable",
2121
"Environment :: MacOS X",
@@ -90,7 +90,6 @@ markers = [
9090
[tool.cibuildwheel]
9191
# Switch to using build
9292
build-frontend = "build"
93-
skip = "pp*"
9493
manylinux-x86_64-image = "manylinux_2_28"
9594
manylinux-aarch64-image = "manylinux_2_28"
9695
# Run the package tests using `pytest`
@@ -99,7 +98,7 @@ test-command = "pytest -v -m ci {package}/tests"
9998

10099
# Install system library
101100
[tool.cibuildwheel.linux]
102-
build = "cp3{8,9,10,11,12}-manylinux*"
101+
build = ["cp3{9,10,11,12}-manylinux*", "pp3{9,10}-manylinux*"]
103102
archs = ["auto64"]
104103
before-all = [
105104
"dnf -y install alsa-lib-devel alsa-utils",
@@ -113,9 +112,9 @@ before-all = [
113112
repair-wheel-command = "auditwheel repair --exclude libasound.so.2 --lib-sdir . -w {dest_dir} {wheel}"
114113

115114
[tool.cibuildwheel.macos]
116-
build = "cp3{8,9,10,11,12}-macosx*"
115+
build = "cp3{9,10,11,12}-macosx*"
117116
archs = ["x86_64", "arm64"]
118117

119118
[tool.cibuildwheel.windows]
120-
build = "cp3{8,9,10,11,12}-win*"
119+
build = "cp3{9,10,11,12}-win*"
121120
archs = ["AMD64"]

0 commit comments

Comments
 (0)