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

(From OE-Core rev: 346cce305dcffa98bfabf8b14e5015a80b5d21ab)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
  • Loading branch information
kraj authored and mbriand committed Oct 24, 2024
1 parent 4ad7236 commit f49189c
Show file tree
Hide file tree
Showing 2 changed files with 499 additions and 0 deletions.
Loading

0 comments on commit f49189c

Please sign in to comment.