Skip to content

Commit

Permalink
Fix wheel building
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Dec 19, 2024
1 parent 3ee014e commit a1c4907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runsOn: ubuntu-24.04-arm64-2-core
- os: macos-intel
package-suffix: macos-amd64
runsOn: macos-12
runsOn: macos-13
- os: macos-arm
package-suffix: macos-aarch64
runsOn: macos-14
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ filterwarnings = [
]

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

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

[tool.mypy]
Expand Down

0 comments on commit a1c4907

Please sign in to comment.