Add support for Python packages built from Rust
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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