Skip to content

Commit

Permalink
Update cibuildwheel to 2.16.5 (#75)
Browse files Browse the repository at this point in the history
* Update cibuildwheel to 2.16.5

* Update mypy commit

* Enable testing for macOS arm64 builds
  • Loading branch information
cdce8p authored Jan 31, 2024
1 parent 6441371 commit 2e935b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
git -C mypy checkout $(cat mypy_commit)
- name: Install cibuildwheel and pypyp
run: |
pipx install cibuildwheel==2.16.2
pipx install cibuildwheel==2.16.5
pipx install pypyp==1
- id: set-matrix
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform linux mypy \
| pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos mypy \
| pyp 'json.dumps({"only": x, "os": "macos-latest"})' \
| pyp 'json.dumps({"only": x, "os": "macos-14"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform windows mypy \
| pyp 'json.dumps({"only": x, "os": "windows-latest"})'
} | pyp 'json.dumps(list(map(json.loads, lines)))'
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
git clone https://github.com/python/mypy.git --recurse-submodules
git -C mypy checkout $(cat mypy_commit)
- uses: pypa/[email protected].2
- uses: pypa/[email protected].5
with:
config-file: cibuildwheel.toml
package-dir: mypy
Expand Down
6 changes: 0 additions & 6 deletions cibuildwheel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ skip = [
"pp*",
]

# Apple Silicon support
# When cross-compiling on Intel, it is not possible to test arm64.
# Warnings will be silenced with the following CIBW_TEST_SKIP.
macos.archs = ["x86_64", "arm64"]
test-skip = "*-macosx_arm64"

build-verbosity = 1

linux.before-all = [
Expand Down
2 changes: 1 addition & 1 deletion mypy_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b1ba661122dc39d9bbc53cf5df334c9f56b1a729
e40935e5e0b55bee9379e35aa27216c3e0287b13

0 comments on commit 2e935b7

Please sign in to comment.