onekey-sec/unblob

Make unblob wheel compatible with more Linux platforms

vlaci opened this issue · 1 comments

vlaci commented

The current unblob wheel available on pypi is built with platform tags cp38-cp38-manylinux_2_31_x86_64 which means it requires:

  • CPython 3.8
  • ABI compatibility with CPython 3.8
  • Linux on x86_64 requiring glibc 2.31

The following are missing to have the best experience for PyPi users:

  • relax the glibc requirement by using pypa/manylinux2014_x86_64 docker image to build it
  • release an aarch64 wheel (e.g. using using pypa/manylinux2014_aarch64 as a sandbox)
  • release a universal2 wheel for OSX. This is easiest to do via building the wheel through maturin1, instead of poetry

For some context, here is the relevant part of how it's done on pyperscan for linux2 and for MacOS

Footnotes

  1. Maturin also rupports cross compiling to aarch64 Linux using the zig toolchain

  2. Relevant part of justfile

vlaci commented

Fixed via #571