Skip to content

Commit a1c4907

Browse files
committed
Fix wheel building
1 parent 3ee014e commit a1c4907

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runsOn: ubuntu-24.04-arm64-2-core
2121
- os: macos-intel
2222
package-suffix: macos-amd64
23-
runsOn: macos-12
23+
runsOn: macos-13
2424
- os: macos-arm
2525
package-suffix: macos-aarch64
2626
runsOn: macos-14

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ filterwarnings = [
119119
]
120120

121121
[tool.cibuildwheel]
122+
before-all = "pip install protoc-wheel-0"
122123
# We only want the 3.8 64-bit build of each type. However, due to
123124
# https://github.com/pypa/cibuildwheel/issues/1278, we have to build macOS as
124125
# 3.9 until that is fixed. Our fix-wheel process will rename it to 3.8 and we
@@ -128,6 +129,7 @@ build-verbosity = "1"
128129

129130
[tool.cibuildwheel.linux]
130131
before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y && yum install -y openssl-devel"
132+
before-build = "pip install protoc-wheel-0"
131133
environment = { PATH = "$PATH:$HOME/.cargo/bin", CARGO_NET_GIT_FETCH_WITH_CLI = "true" }
132134

133135
[tool.mypy]

0 commit comments

Comments
 (0)