You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
0 commit comments