8000 Linux wheels need glibc 2.34; no sdist · Issue #9 · project-minigraf/minigraf-python · GitHub
[go: up one dir, main page]

Skip to content

Linux wheels need glibc 2.34; no sdist #9

Open

Description

@adityamukho

The Linux wheels are manylinux_2_34, and there is no sdist, so pip install minigraf fails on Ubuntu 20.04, Debian 11, Amazon Linux 2 and RHEL 8. Python is a Tier 1 binding.

Tried: maturin build --zig --compatibility manylinux2014, the 2.17 floor that minigraf-java and minigraf-c use. maturin reports success, but the wheel has no generated bindings. minigraf/minigraf_ffi/ holds only the native library and an empty __init__.py, so import minigraf fails. UniFFI's bindgen finds nothing in the zig-linked library. The consumer test from #10 caught this; package.yml now fails a wheel without minigraf_ffi.py.

Options:

  • Build the Linux wheels in a manylinux2014 container (PyO3/maturin-action with manylinux: 2014), without zig.
  • Find what the zig link drops (the UniFFI metadata symbols) and keep it.

Either way, the consumer test needs an extra leg running in a glibc 2.17 image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0