python-zstandard icon indicating copy to clipboard operation
python-zstandard copied to clipboard

It should be possible to ship less wheels

Open glandium opened this issue 4 years ago • 3 comments

Since I'm looking into these things for something else and I've noticed there are a lot of wheels for this module, I figured I'd dump this information here: it is possible to build with setup.py bdist_wheel --py-limited-api=cp36, in which case you end with cp36-abi3 wheels that can be installed by any version >= 3.6.

glandium avatar Mar 03 '21 07:03 glandium

(and it should even work if the python used to build is 3.9, which would allow removing the hack for arm64 python 3.8)

glandium avatar Mar 03 '21 08:03 glandium

For context, here's some more information on "abi3 wheels": https://pyo3.rs/v0.13.2/building_and_distribution.html#py_limited_apiabi3

mhils avatar Jun 28 '22 11:06 mhils

I removed the manylinux2010 wheels in the 0.22 release.

I believe we currently rely on some APIs outside the stable abi3 API surface. But I'd need to check this. Otherwise, I'm totally on board with building against the limited ABI and reducing the number of wheels we ship.

indygreg avatar Nov 01 '23 07:11 indygreg