Skip to content

Commit ca8dcfa

Browse files
fix: cffi lib
1 parent 628adcb commit ca8dcfa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/wheels_linux.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ env:
55
CIBW_TEST_REQUIRES: pytest
66
CIBW_TEST_COMMAND: "pytest {project}/tests"
77
CIBW_TEST_SOURCES: "tests"
8+
CIBW_BEFORE_BUILD: |
9+
set -eux && \
10+
curl -L -O https://github.com/libffi/libffi/archive/v3.4.6.tar.gz && \
11+
tar zxf v3.4.6.tar.gz && cd libffi-3.4.6 && \
12+
((command -v apk && apk add libtool) || true) && \
13+
./autogen.sh && \
14+
./configure --without-gcc-arch --disable-docs --with-pic --enable-shared=no && \
15+
make install && \
16+
cd .. && \
17+
rm -rf libffi-3.4.6
818
jobs:
919
build_wheels:
1020
name: Build wheels on ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sciencemode = [
5656
# Skip Python 3.6, 3.7 since we require Python >=3.8
5757
# Skip 32-bit builds as they're rarely needed for scientific libraries
5858
# Skip PyPy by default (can be enabled if needed)
59-
skip = ["cp36-*", "cp37-*", "cp38-*", "cp14t-*", "cp14-*", "*-win32", "*-manylinux_i686", "*-musllinux_i686", "pp*"]
59+
skip = ["cp36-*", "cp37-*", "cp38-*", "*-win32", "*-manylinux_i686", "*-musllinux_i686", "pp*"]
6060

6161
# Build environment setup
6262
environment = { CIBUILDWHEEL = "1" }

0 commit comments

Comments
 (0)