Skip to content

Commit

Permalink
python3: Fix platform triplet detection
Browse files Browse the repository at this point in the history
Currently, platform is based upon build_os detection which works ok
for native builds and where build_os and host_os are same i.e. glibc
based systems, but it fails for musl based systems to load correct
modules which are shared libraries e.g. python3-pydantic-core

This is already fixed upstream in 3.13+ but we need this backported
at minimum to get 3.12 or 3.11 working with musl

see
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13227
meta-homeassistant/meta-homeassistant#89
pypa/auditwheel#349
PyO3/maturin#1559

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Oct 22, 2024
1 parent 88623c4 commit 9f843b3
Show file tree
Hide file tree
Showing 2 changed files with 499 additions and 0 deletions.
Loading

0 comments on commit 9f843b3

Please sign in to comment.