Toblerity / Fiona

Fiona reads and writes geographic data files
https://fiona.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.14k stars 202 forks source link

muslinux wheel missing #1330

Closed jrauschenbusch closed 6 months ago

jrauschenbusch commented 6 months ago

Expected behavior and actual behavior.

There should be a wheel for musllinux, to speed up CI build times significantly when using Alpine-based Python base images.

Steps to reproduce the problem.

pip install fiona

Operating system

Alpine Linux

Fiona and GDAL version and provenance

at least until fiona 1.9.5

sgillies commented 6 months ago

@jrauschenbusch are you asking on behalf of a particular open source project?

jrauschenbusch commented 6 months ago

I'm asking in general. In my case the request is arising from the usage of geopandas. This library itself depends on a bunch of well-known libraries, including fiona. Unfortunately using Alpine container images adds a lot of time compiling dependencies with native code bindings as they must be compiled from scratch. Reason is that there are no appropriate wheels available for some libraries.

sgillies commented 6 months ago

@jrauschenbusch are you asking for wheels to use for your work at Bosch? Would your employer be interested in sponsoring? It's not free to build wheels or maintain the infrastructure over time. Fiona's C dependencies are many and complex, and changes to free CI runners break Fiona's existing builds regularly.

jrauschenbusch commented 6 months ago

What about using GitHub Actions-hosted runners which are free for public OSS projects? Together with using the same release concepts as shapely or numpy use i think it should be easier to release wheels for a large amount of OS platforms with no increase of costs (except the time to implement the accordion GitHub actions). Of course i cannot say anything about possible compile issues.

Check out cibuildwheel (musllinux support) and free runners.