-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/pip/mypy-1.15.0
- Loading branch information
Showing
14 changed files
with
266 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,11 +266,11 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup Python 3.13 | ||
- name: Setup Python 3.13.2 | ||
id: python-install | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.13 | ||
python-version: 3.13.2 | ||
cache: pip | ||
cache-dependency-path: requirements/*.txt | ||
- name: Update pip, wheel, setuptools, build, twine | ||
|
@@ -364,23 +364,35 @@ jobs: | |
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
name: Build wheels on ${{ matrix.os }} ${{ matrix.qemu }} | ||
runs-on: ${{ matrix.os }}-latest | ||
name: Build wheels on ${{ matrix.os }} ${{ matrix.qemu }} ${{ matrix.musl }} | ||
runs-on: ${{ matrix.os }} | ||
needs: pre-deploy | ||
strategy: | ||
matrix: | ||
os: [ubuntu, windows, macos] | ||
os: ["ubuntu-latest", "windows-latest", "macos-latest", "ubuntu-24.04-arm"] | ||
qemu: [''] | ||
musl: [""] | ||
include: | ||
# Split ubuntu job for the sake of speed-up | ||
- os: ubuntu | ||
qemu: aarch64 | ||
- os: ubuntu | ||
# Split ubuntu/musl jobs for the sake of speed-up | ||
- os: ubuntu-latest | ||
qemu: ppc64le | ||
- os: ubuntu | ||
qemu: riscv64 | ||
- os: ubuntu | ||
musl: "" | ||
- os: ubuntu-latest | ||
qemu: ppc64le | ||
musl: musllinux | ||
- os: ubuntu-latest | ||
qemu: s390x | ||
musl: "" | ||
- os: ubuntu-latest | ||
qemu: s390x | ||
musl: musllinux | ||
- os: ubuntu-latest | ||
qemu: armv7l | ||
musl: musllinux | ||
- os: ubuntu-latest | ||
musl: musllinux | ||
- os: ubuntu-24.04-arm | ||
musl: musllinux | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -391,6 +403,10 @@ jobs: | |
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
# This should be temporary | ||
# xref https://github.com/docker/setup-qemu-action/issues/188 | ||
# xref https://github.com/tonistiigi/binfmt/issues/215 | ||
image: tonistiigi/binfmt:qemu-v8.1.5 | ||
id: qemu | ||
- name: Prepare emulation | ||
run: | | ||
|
@@ -422,12 +438,13 @@ jobs: | |
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: pp* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }} | ||
CIBW_ARCHS_MACOS: x86_64 arm64 universal2 | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: >- | ||
dist-${{ matrix.os }}-${{ | ||
dist-${{ matrix.os }}-${{ matrix.musl }}-${{ | ||
matrix.qemu | ||
&& matrix.qemu | ||
|| 'native' | ||
|
@@ -460,6 +477,7 @@ jobs: | |
with: | ||
path: dist | ||
pattern: dist-* | ||
merge-multiple: true | ||
- name: Collected dists | ||
run: | | ||
tree dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.