Skip to content

new feature: Release python build distributions for musllinux on PyPI #6114

@zhu0629

Description

@zhu0629

Feature Description

Release python build distributions for musllinux on PyPI.

Problem and Solution

Support install opendal on alpine by pip

61.94 PEP517 build of a dependency failed
61.94 
61.94 Backend subprocess exited when trying to invoke build_wheel
61.94 
61.94     | Command '['/tmp/tmp6q9gslgp/.venv/bin/python', '/usr/local/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/tmp/tmpjliolkml']' returned non-zero exit status 1.
61.94     | 
61.94     | Running `maturin pep517 build-wheel -i /tmp/tmp6q9gslgp/.venv/bin/python --compatibility off`
61.94     | 💥 maturin failed
61.94     |   Caused by: Cargo metadata failed. Do you have cargo in your PATH?
61.94     |   Caused by: No such file or directory (os error 2)
61.94     | Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmp6q9gslgp/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
61.94 
61.94 Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with opendal (0.45.18)
61.94 
61.94   - not supporting PEP 517 builds
61.94   - not specifying PEP 517 build requirements correctly
61.94   - the build requirements are incompatible with your operating system or Python version
61.94   - the build requirements are missing system dependencies (eg: compilers, libraries, headers).
61.94 
61.94 You can verify this by running pip wheel --no-cache-dir --use-pep517 "opendal (==0.45.18)".
61.94 

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bindings/pythonenhancementNew feature or requestreleases-note/featThe PR implements a new feature or has a title that begins with "feat"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions