-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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.
- Loading branch information
1 parent
bd87768
commit 04a5856
Showing
4 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,17 @@ jobs: | |
- uses: ilammy/msvc-dev-cmd@v1 | ||
if: matrix.os == 'windows-latest' | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: | | ||
3.9 | ||
3.10 | ||
3.11 | ||
3.12 | ||
pypy3.9 | ||
pypy3.10 | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,17 @@ jobs: | |
- uses: ilammy/msvc-dev-cmd@v1 | ||
if: matrix.os == 'windows-latest' | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: | | ||
3.9 | ||
3.10 | ||
3.11 | ||
3.12 | ||
pypy3.9 | ||
pypy3.10 | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,17 @@ jobs: | |
- uses: ilammy/msvc-dev-cmd@v1 | ||
if: matrix.os == 'windows-latest' | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: | | ||
3.9 | ||
3.10 | ||
3.11 | ||
3.12 | ||
pypy3.9 | ||
pypy3.10 | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ authors = [ | |
{ name="Christopher Arndt", email="[email protected]" }, | ||
] | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: MacOS X", | ||
|
@@ -90,7 +90,6 @@ markers = [ | |
[tool.cibuildwheel] | ||
# Switch to using build | ||
build-frontend = "build" | ||
skip = "pp*" | ||
manylinux-x86_64-image = "manylinux_2_28" | ||
manylinux-aarch64-image = "manylinux_2_28" | ||
# Run the package tests using `pytest` | ||
|
@@ -99,7 +98,7 @@ test-command = "pytest -v -m ci {package}/tests" | |
|
||
# Install system library | ||
[tool.cibuildwheel.linux] | ||
build = "cp3{8,9,10,11,12}-manylinux*" | ||
build = ["cp3{9,10,11,12}-manylinux*", "pp3{9,10}-manylinux*"] | ||
archs = ["auto64"] | ||
before-all = [ | ||
"dnf -y install alsa-lib-devel alsa-utils", | ||
|
@@ -113,9 +112,9 @@ before-all = [ | |
repair-wheel-command = "auditwheel repair --exclude libasound.so.2 --lib-sdir . -w {dest_dir} {wheel}" | ||
|
||
[tool.cibuildwheel.macos] | ||
build = "cp3{8,9,10,11,12}-macosx*" | ||
build = "cp3{9,10,11,12}-macosx*" | ||
archs = ["x86_64", "arm64"] | ||
|
||
[tool.cibuildwheel.windows] | ||
build = "cp3{8,9,10,11,12}-win*" | ||
build = "cp3{9,10,11,12}-win*" | ||
archs = ["AMD64"] |