Commit bcfb23b
Fix macOS wheel build failures by adding Rust installation (#1048)
## Problem
The macOS wheel builds for the codegen Python package have been failing,
preventing new releases from being published to PyPI. The latest version
on PyPI is 0.54.1, which is a week old.
## Root Cause
The build system uses Cython extensions and requires Rust to be
installed. While there's a Linux-specific configuration in cibuildwheel
that installs Rust, there was no equivalent configuration for macOS.
## Solution
Added a macOS-specific configuration section to the cibuildwheel
configuration in pyproject.toml that:
1. Installs Rust using rustup before the build
2. Sets the PATH environment variable to include the Rust binaries
This mirrors the existing Linux configuration and should allow the macOS
wheels to build successfully.
## Testing
This change should be tested by the CI system when it runs the release
workflow.
---
[💻 View my work](https://codegen.sh/agent/trace/8166) • [About
Codegen](https://codegen.com)
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Rushil Patel <rpatel@codegen.com>1 parent 97afc21 commit bcfb23b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
| |||
0 commit comments