Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/pypi-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
VERSION: ${{ inputs.VERSION }}
run: uv version "${{ env.VERSION }}"

- name: Set up QEMU
if: startsWith(matrix.os, 'ubuntu')
uses: docker/setup-qemu-action@v3

# Publish the source distribution with the version that's in
# the repository, otherwise the tests will fail
- name: Compile source distribution
Expand All @@ -68,8 +72,10 @@ jobs:
config-file: "pyproject.toml"
env:
# Ignore 32 bit architectures
CIBW_ARCHS: "auto64"
CIBW_ARCHS: "auto64 aarch64"
Copy link
Member

@raulcd raulcd Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unsure whether this will work. I would expect at least macos to require arm64 instead of aarch64, but we can certainly try on CI :)

CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_2"
CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_2"
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
# Ignore tests for pypy since not all dependencies are compiled for it
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/svn-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
- name: Install UV
uses: astral-sh/setup-uv@v7

- name: Set up QEMU
if: startsWith(matrix.os, 'ubuntu')
uses: docker/setup-qemu-action@v3

# Publish the source distribution with the version that's in
# the repository, otherwise the tests will fail
- name: Compile source distribution
Expand All @@ -63,8 +67,10 @@ jobs:
config-file: "pyproject.toml"
env:
# Ignore 32 bit architectures
CIBW_ARCHS: "auto64"
CIBW_ARCHS: "auto64 aarch64"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These configs are set to musllinux_1_2 by default, got a successful run without them.

CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_2"
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
# Ignore tests for pypy since not all dependencies are compiled for it
Expand Down