Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/pypi_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- macos-13 # intel
- macos-14 # apple silicon
- macos-15-intel # intel
- macos-15 # apple silicon
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_SKIP: pp* *musllinux* cp36-* cp37-*
CIBW_BUILD: cp310-* # ctypes wrapper -> py3-none wheel, one interpreter per platform suffices
CIBW_SKIP: '*musllinux*'
CIBW_BEFORE_BUILD_LINUX: yum -y install boost-devel
CIBW_ARCHS_LINUX: ${{ fromJSON('["x86_64", "aarch64"]')[matrix.os == 'ubuntu-24.04-arm'] }} # poor man ternary https://github.com/orgs/community/discussions/25725#discussioncomment-3248924
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
Expand All @@ -74,8 +75,8 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- macos-13 # intel
- macos-14 # apple silicon
- macos-15-intel # intel
- macos-15 # apple silicon
steps:
- name: Download wheel
uses: actions/download-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: File Formats',
'Topic :: Scientific/Engineering :: Atmospheric Science',
Expand All @@ -62,6 +63,7 @@ cmake.args = [
"-DSERIALBOX_ASYNC_API=false"
]
wheel.expand-macos-universal-tags = true
wheel.py-api = "py3" # ctypes wrapper, no libpython linkage: one wheel works for all Python 3
wheel.install-dir = "serialbox"
wheel.packages = []
wheel.license-files = []
Loading