tych0 / xcffib

A drop-in replacement for xpyb based on cffi
Apache License 2.0
94 stars 26 forks source link

do not depend on cffi for PyPy #167

Closed mgorny closed 5 months ago

mgorny commented 5 months ago

Make the dependency on cffi conditional to non-PyPy interpreters, in order to make the package installable on modern PyPy versions and ensure that the wheel metadata is static, irrespectively of which Python implementation is used to build it. The previous hack would attempt to install exactly the same cffi version that was used on PyPy which in the best case was redundant, and in the worst case made the package non-installable if PyPy used a non-public cffi version.

Fixes #166

tych0 commented 5 months ago

Nice, I didn't know this was possible. Thanks! Do you need a release?

mgorny commented 5 months ago

Thanks. No, not really, we've just patched it in Gentoo for the time being.