close
Skip to content

chore(python): build sdk with musllinux#2237

Merged
numinnex merged 6 commits into
apache:masterfrom
changhc:python-sdk-musllinux
Oct 7, 2025
Merged

chore(python): build sdk with musllinux#2237
numinnex merged 6 commits into
apache:masterfrom
changhc:python-sdk-musllinux

Conversation

@changhc
Copy link
Copy Markdown
Contributor

@changhc changhc commented Oct 5, 2025

Description

Updated the _build_python_wheels workflow to cover python SDK wheels built with musllinux. Python SDK for linux will have 4 variations:

  • manylinux_x86
  • manylinux_arm64
  • musllinux_x86
  • musllinux_arm64

Testing

Test build

Manually tested the built musllinux wheels on an x86 machine:

  • Download the built artefact wheels-linux-x86_64-musllinux_1_2 and unzip the archive
  • $ docker run --rm -it --entrypoint sh -v $PWD:/sdk python:3.12-alpine \
      -c 'pip install /sdk/apache_iggy-0.5.0-cp312-cp312-musllinux_1_2_x86_64.whl'
    Processing /sdk/apache_iggy-0.5.0-cp312-cp312-musllinux_1_2_x86_64.whl
    Installing collected packages: apache-iggy
    Successfully installed apache-iggy-0.5.0

@changhc changhc marked this pull request as ready for review October 6, 2025 20:48
@hubcio
Copy link
Copy Markdown
Contributor

hubcio commented Oct 7, 2025

LGTM. It also works on my fork with dry run.
https://github.com/hubcio/iggy/actions/runs/18305652329

@hubcio hubcio changed the title chore(sdk): build python sdk with musllinux chore(python): build sdk with musllinux Oct 7, 2025
@numinnex numinnex merged commit 3c86af3 into apache:master Oct 7, 2025
47 checks passed
hageshiame pushed a commit to hageshiame/iggy that referenced this pull request Nov 7, 2025
### Description

Updated the `_build_python_wheels` workflow to cover python SDK wheels
built with musllinux. Python SDK for linux will have 4 variations:
* manylinux_x86
* manylinux_arm64
* musllinux_x86
* musllinux_arm64

### Testing

[Test build](https://github.com/changhc/iggy/actions/runs/18263772305)

Manually tested the built musllinux wheels on an x86 machine:
* Download the built artefact `wheels-linux-x86_64-musllinux_1_2 ` and
unzip the archive
* ```sh
$ docker run --rm -it --entrypoint sh -v $PWD:/sdk python:3.12-alpine \
-c 'pip install
/sdk/apache_iggy-0.5.0-cp312-cp312-musllinux_1_2_x86_64.whl'
  Processing /sdk/apache_iggy-0.5.0-cp312-cp312-musllinux_1_2_x86_64.whl
  Installing collected packages: apache-iggy
  Successfully installed apache-iggy-0.5.0
  ```

---------

Co-authored-by: Hubert Gruszecki <h.gruszecki@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants