Skip to content

Commit

Permalink
Merge pull request #67 from ReadAlongs/dev.ej/py313
Browse files Browse the repository at this point in the history
build: build Python 3.13 wheels too
  • Loading branch information
dhdaines authored Nov 22, 2024
2 parents 693a4cb + 3950851 commit 3dc4f87
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.21.3

- uses: actions/upload-artifact@v4
with:
Expand Down
30 changes: 16 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"scikit-build-core",
"Cython"
"scikit-build-core",
"Cython"
]
build-backend = "scikit_build_core.build"

Expand All @@ -11,7 +11,7 @@ dynamic = ["version"]
description = "An even smaller speech recognizer"
readme = "README.md"
authors = [
{name = "David Huggins-Daines", email = "dhd@ecolingui.ca"}
{name = "David Huggins-Daines", email = "dhd@ecolingui.ca"}
]
keywords = ["asr", "speech"]
classifiers = [
Expand All @@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Sound/Audio :: Speech",
Expand All @@ -39,22 +40,23 @@ Issues = "https://github.com/ReadAlongs/SoundSwallower/issues"
soundswallower = "soundswallower.cli:main"

[tool.cibuildwheel]
# Build a reduced selection of binaries as there are tons of them
# Build binaries for supported versions of Python
build = [
"cp38-*",
"cp39-*",
"cp310-*",
"cp311-*",
"cp312-*",
"cp38-*",
"cp39-*",
"cp310-*",
"cp311-*",
"cp312-*",
"cp313-*",
]
# Build only universal wheels for Mac where possible, and skip 32-bit
# builds to avoid building a gigabyte of stuff all the time
skip = [
"cp*-macosx_x86_64",
"cp*-macosx_arm64",
"*_i686",
"*musl*",
"*-win32",
"cp*-macosx_x86_64",
"cp*-macosx_arm64",
"*_i686",
"*musl*",
"*-win32",
]

[tool.cibuildwheel.macos]
Expand Down

0 comments on commit 3dc4f87

Please sign in to comment.