Skip to content

Build for alpine #541

@Jaza

Description

@Jaza

It would be great if there were python-oracledb wheels for Alpine Linux that get built alongside the current manylinux wheels.

I did some research, and support for musl (which Alpine and various other distros use instead of glibc) was added to the relevant tools back in 2021 - see pypa/packaging#411 .

So, it should be possible to add this support to python-oracledb , with a change like this:

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index d75527f..a106b9f 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -53,6 +53,12 @@ jobs:
           - os: ubuntu-24.04-arm
             platform: arm64
             container: quay.io/pypa/manylinux_2_28_aarch64
+          - os: alpine-3.22
+            platform: amd64
+            container: quay.io/pypa/musllinux_1_2_x86_64
+          - os: alpine-3.22-arm
+            platform: arm64
+            container: quay.io/pypa/musllinux_1_2_aarch64
 
     steps:

Team python-oracledb , if you're able to look into this when you get a chance, would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions