# TODO: macos-14 uses arm macs (only python 3.10+) - make arm wheel on it
- "macos-13"
- "ubuntu-22.04"
+ - "ubuntu-22.04-arm"
linux_archs:
# this is only meaningful on linux. windows and macos ignore exclude all but one arch
- "aarch64"
# create pure python build
- os: ubuntu-22.04
wheel_mode: pure-python
- python: "cp-311*"
+ python: "cp-312*"
exclude:
- os: "windows-2022"
linux_archs: "aarch64"
- os: "macos-13"
linux_archs: "aarch64"
+ - os: "ubuntu-22.04"
+ linux_archs: "aarch64"
+ - os: "ubuntu-22.04-arm"
+ linux_archs: "x86_64"
fail-fast: false
(cat setup.cfg) | %{$_ -replace "tag_build.?=.?dev",""} | set-content setup.cfg
# See details at https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation
- - name: Set up QEMU on linux
- if: ${{ runner.os == 'Linux' }}
- uses: docker/setup-qemu-action@v3
- with:
- platforms: all
+ # no longer needed since arm runners are now available
+ # - name: Set up QEMU on linux
+ # if: ${{ runner.os == 'Linux' }}
+ # uses: docker/setup-qemu-action@v3
+ # with:
+ # platforms: all
- name: Build compiled wheels
if: ${{ matrix.wheel_mode == 'compiled' }}
jobs:
run-test:
- name: test-${{ matrix.python-version }}-${{ matrix.build-type }}-${{ matrix.architecture }}-${{ matrix.os }}
+ name: test-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.build-type }}
runs-on: ${{ matrix.os }}
strategy:
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- "ubuntu-22.04"
+ - "ubuntu-22.04-arm"
- "windows-latest"
- "macos-latest"
- "macos-13"
- "3.10"
- "3.11"
- "3.12"
- - "3.13.0-alpha - 3.13"
+ - "3.13"
- "pypy-3.10"
build-type:
- "cext"
pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
- os: "ubuntu-22.04"
pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
+ - os: "ubuntu-22.04-arm"
+ pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
exclude:
architecture: x86
- os: "ubuntu-22.04"
architecture: arm64
+ # linux-arm do not have x86 / x64 python
+ - os: "ubuntu-22.04-arm"
+ architecture: x86
+ - os: "ubuntu-22.04-arm"
+ architecture: x64
# windows des not have arm64 python
- os: "windows-latest"
architecture: arm64
architecture: arm64
- os: "macos-13"
architecture: x86
- # pypy does not have cext or x86
+ # pypy does not have cext or x86 or arm on linux
- python-version: "pypy-3.10"
build-type: "cext"
+ - os: "ubuntu-22.04-arm"
+ python-version: "pypy-3.10"
- os: "windows-latest"
python-version: "pypy-3.10"
architecture: x86
- "3.10"
- "3.11"
- "3.12"
- - "3.13.0-alpha - 3.13"
+ - "3.13"
tox-env:
- mypy
- pep484