oracle / oracle/macaron

Add support for Python packages built from Rust

Open
#875 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

build_tools
Dominant language
Python
Stars
210
Forks
36
Avg merge
1d 10h
Merged PRs (30d)
2

Description

There is an increasing number of Python packages that are partially or even completely written in Rust, for example Ruff, Robyn, or Rure. The Python bindings for these packages are provided by PyO3.[^1]

Such packages are either provided as precompiled wheels, or can be compiled and built from source manually. In both cases, Macaron’s build analysis should cross over from the Python ecosystem to Rust’s. (I suppose, that would hold true for any native Python package, e.g. C/C++ (docs) or Cython or some such.)

[^1]: Adding support for Rust and Cargo to Macaron would probably a valuable first step here.

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

No files or tests are named. Start by locating Macaron’s Python package build-analysis entry point and reviewing how package metadata distinguishes wheels from source builds. Done means Rust and Cargo dependencies are analyzed for PyO3-based packages in both cases, with coverage for examples such as Ruff, Robyn, or Rure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.