python-cffi / cffi

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

CI refresh for 1.17.0b1 #79

Closed nitzmahone closed 4 months ago

nitzmahone commented 4 months ago

fixes #77

webknjaz commented 4 months ago

@nitzmahone I see you're unpacking the tarball. That shouldn't be necessary — cibuildwheel accepts sdists as input too.

nitzmahone commented 4 months ago

cibuildwheel seems to be "all or nothing" with injecting an sdist tarball vs project dir for container-based builds, so if you need to bring something more over from the host beyond the sdist tarball, you have to extract it yourself. I actually tried to do it that way with PyYAML, but because I needed to pull in a cached libyaml, figured we'd just extract the sdist tarball manually to make it easier to drop in a cached libffi later.

webknjaz commented 4 months ago

@nitzmahone this seems to work, though: https://github.com/python-cffi/cffi/pull/82. Could you point out what's missing there?