diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 0a1c2885a..29e175372 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -154,6 +154,82 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: wheelhouse/ + build_wheels_musl_aarch64: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + name: Install Python + with: + python-version: '3.8' + - uses: dtolnay/rust-toolchain@stable + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: all + - name: Install cibuildwheel + run: | + python -m pip install cibuildwheel==2.16.2 + - name: Build wheels + run: | + python -m cibuildwheel --output-dir wheelhouse + env: + CIBW_ARCHS_LINUX: aarch64 + CIBW_SKIP: cp36-* cp37-* cp311-* cp312-* *many* + CIBW_TEST_SKIP: cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* *many* + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse/ + build_wheels_musl_aarch64_part_2: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + name: Install Python + with: + python-version: '3.8' + - uses: dtolnay/rust-toolchain@stable + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: all + - name: Install cibuildwheel + run: | + python -m pip install cibuildwheel==2.16.2 + - name: Build wheels + run: | + python -m cibuildwheel --output-dir wheelhouse + env: + CIBW_ARCHS_LINUX: aarch64 + CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* cp310-* *many* + CIBW_TEST_SKIP: cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* *many* + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse/ build_wheels_ppc64le: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/docs/source/install.rst b/docs/source/install.rst index f55bcb711..b2f961ec2 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -93,6 +93,10 @@ source. - x86_64 - :ref:`tier-3` - + * - Linux (musl) + - aarch64 + - :ref:`tier-4` + - * - macOS (10.12 or newer) - x86_64 - :ref:`tier-1` diff --git a/releasenotes/notes/platform-updates-e9b296144e633c95.yaml b/releasenotes/notes/platform-updates-e9b296144e633c95.yaml index 876fabbc8..adbf3bd27 100644 --- a/releasenotes/notes/platform-updates-e9b296144e633c95.yaml +++ b/releasenotes/notes/platform-updates-e9b296144e633c95.yaml @@ -1,7 +1,8 @@ --- features: - | - Added support for musl Linux platforms on x86_64 and aarch64 at :ref:`tier-3`. + Added support for musl Linux platforms on x86_64 at :ref:`tier-3` + and aarch64 at :ref:`tier-4`. upgrade: - | Support for the Linux ppc64le pllatform has changed from tier 3 to tier 4