PennyLaneAI / PennyLaneAI/catalyst

Fix platform tag for macOS wheels

Open Beginner friendly
#2,907 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CI/Build enhancement good first issue
Dominant language
Python
Stars
234
Forks
84
Avg merge
2d 15h
Merged PRs (30d)
66

Description

All binary artifacts produced in a Catalyst build are built for the specific local architecture (arm on mac), except for libcustom_calls built with setup.py. The latter is built as a fat binary (universal2) and the resulting wheel is also incorrectly tagged as a universal2 wheel. Fixing this in the setup.py config should be straightforward and would save us the rename step during wheel publishing, as well as shaving off a tiny bit of unused x86 code in the libcustom_calls.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the setup.py configuration used to build libcustom_calls during a Catalyst macOS build. Check how the local architecture is translated into the wheel platform tag, then verify that the resulting wheel is no longer tagged universal2 and does not require renaming during publishing.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system, release
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.