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
9 changes: 5 additions & 4 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,19 @@ jobs:
env:
# Build for Python 3.10, 3.11, 3.12, 3.13
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
# Skip musllinux (Alpine) and PyPy
CIBW_SKIP: "*-musllinux* pp*"
# Skip musllinux (Alpine), PyPy, and 32-bit Linux (i686)
CIBW_SKIP: "*-musllinux* pp* *_i686"
# Skip in-container tests (CI already runs the full test suite).
# Testing inside cibuildwheel fails because scipy needs OpenBLAS
# to build from source in the manylinux container.
CIBW_TEST_SKIP: "*"
# Install Eigen and OpenBLAS before building
CIBW_BEFORE_ALL_LINUX: |
if command -v yum &> /dev/null; then
yum install -y eigen3-devel openblas-devel
yum install -y epel-release || true
yum install -y eigen3-devel openblas-devel || true
elif command -v apt-get &> /dev/null; then
apt-get update && apt-get install -y libeigen3-dev libopenblas-dev
apt-get update && apt-get install -y libeigen3-dev libopenblas-dev || true
fi
CIBW_BEFORE_ALL_MACOS: |
brew install eigen
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ USE_OPENMP = "OFF"
[tool.cibuildwheel]
# Build for Python 3.10-3.13
build = "cp310-* cp311-* cp312-* cp313-*"
# Skip musllinux and PyPy
skip = "*-musllinux* pp*"
# Skip musllinux (Alpine), PyPy, and 32-bit Linux (i686)
skip = "*-musllinux* pp* *_i686"
# Skip in-container tests (CI runs the full test suite separately).
# Testing inside cibuildwheel fails because scipy needs OpenBLAS in manylinux.
test-skip = "*"

[tool.cibuildwheel.linux]
before-all = "yum install -y eigen3-devel openblas-devel || (apt-get update && apt-get install -y libeigen3-dev libopenblas-dev)"
before-all = "(yum install -y epel-release && yum install -y eigen3-devel openblas-devel) || (apt-get update && apt-get install -y libeigen3-dev libopenblas-dev) || true"
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"

[tool.cibuildwheel.macos]
Expand Down
Loading