From 7253e348179a7245cf00f934399a0750d785ecb3 Mon Sep 17 00:00:00 2001 From: "python-templates-copier-update[bot]" Date: Sun, 16 Aug 2026 19:37:34 +0000 Subject: [PATCH] Update from Copier (2026-08-16T19-37-28Z) Signed-off-by: python-templates-copier-update[bot] --- .copier-answers.yaml | 2 +- .github/workflows/build.yaml | 28 +++++++++++++++++----------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 1498a40..35f09b2 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: ebda788 +_commit: d814faa _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: rust diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4318bfd..8164a31 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] steps: - name: Checkout @@ -79,20 +79,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} - - name: Set up QEMU - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - with: - platforms: all - if: runner.os == 'Linux' && runner.arch == 'X64' - - name: Free disk space run: | sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup /usr/share/swift df -h / shell: bash - if: matrix.os == 'ubuntu-latest' + if: runner.os == 'Linux' - - name: Build distributions (Linux) + - name: Build distributions (Linux x86_64) run: | rm -rf dist make dist-rs @@ -100,8 +94,20 @@ jobs: make dist-py-wheel make dist-check shell: bash + env: + CIBW_ARCHS_LINUX: native if: matrix.os == 'ubuntu-latest' + - name: Build distributions (Linux ARM64) + run: | + rm -rf dist + make dist-py-wheel + make dist-check + shell: bash + env: + CIBW_ARCHS_LINUX: native + if: matrix.os == 'ubuntu-24.04-arm' + - name: Build distributions (macOS/Windows) run: | rm -rf dist @@ -110,13 +116,13 @@ jobs: shell: bash env: CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0 - if: matrix.os != 'ubuntu-latest' + if: runner.os != 'Linux' - name: Test wheel uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446 with: module: python_template_rust - if: matrix.os == 'ubuntu-latest' + if: runner.os == 'Linux' - name: Test source distribution uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446