-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
musllinux python3.11 broken wheel #1559
Comments
After analysing the generated I discovered that:
Therefore I will now try to understand the source code of https://github.com/PyO3/maturin-action as it's probably what is setting the Any help understanding this is appreciated :) Best, |
See pypa/auditwheel#349, probably alpine updated |
Thank you very much @messense for looking into this! Martino |
1560: Fix wrong `EXT_SUFFIX` when cross compiling musllinux wheels for Python 3.11 r=messense a=messense Fixes #1559 Co-authored-by: messense <[email protected]>
To test it, you'll need to use - uses: PyO3/maturin-action@v1
with:
maturin-version: v1.0.0-beta.7 |
Thank you very much! I tested it and it works perfectly! |
@MartinoMensio Fix released in v0.14.17. |
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]> Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Bug Description
Hi,
Thanks for the great resource.
I am testing musllinux builds, and I am currently unable to generate working wheels for python3.11. When I use python3.10 or lower, the compilation works as expected.
I am not sure if this is a pyo3 isssue or a maturin issue, so please if this is not the correct place, just let me know.
Best,
Martino
Steps to Reproduce
maturin init
The last step generates:
Backtrace
Your operating system and version
MacOS Ventura 13.3
Your Python version (
python --version
)python 3.11
Your Rust version (
rustc --version
)rustc 1.68.2 (9eb3afe9e 2023-03-27)
Your PyO3 version
0.18.1
How did you install python? Did you use a virtualenv?
Buildtime:
github actions
Runtime generating error:
docker: python:3.11-alpine
Additional Info
No response
The text was updated successfully, but these errors were encountered: