python-cffi / cffi

A Foreign Function Interface package for calling C libraries from Python.
https://cffi.readthedocs.io/en/latest/
Other
131 stars 42 forks source link

Fix wheel builds on musllinux_1_2 containers #114

Open nitzmahone opened 3 months ago

nitzmahone commented 3 months ago

The static wheel extension build is broken again under musllinux_1_2 - need to find a more stable configuration to smuggle through the right config to setuptools to ignore the packaged libffi headers/libs and always favor the one we built. Alpine makes that a bit of an extra challenge, since we can't reliably just remove the packaged ones without breaking busybox (and other tools), and its script-based ldconfig isn't usually capable enough to do what we need.

nitzmahone commented 2 months ago

(we're currently forcing wheel builds to use musllinux_1_1)