Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented Apr 16, 2025

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 workAbout Codegen

@codegen-sh codegen-sh bot requested review from a team and codegen-team as code owners April 16, 2025 02:09
@codecov
Copy link

codecov bot commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rushilpatel0 rushilpatel0 merged commit bcfb23b into develop Apr 16, 2025
27 checks passed
@rushilpatel0 rushilpatel0 deleted the codegen-bot/3c43204a branch April 16, 2025 15:43
@github-actions
Copy link
Contributor

🎉 This PR is included in version 0.55.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants