RustPython / RustPython/RustPython

Maturin doesn't work with RustPython because it's treated as an unknown interpreter.

Open
#8,342 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
22.4k
Forks
1.5k
Avg merge
16h 33m
Merged PRs (30d)
165

Description

Maturin doesn't work with RustPython because it's treated as an unknown interpreter.

Because Maturin serves as a bridge between Python and Rust, it ends up being more essential than it seems.

This issue is more of a discussion than a bug or feature request, as it takes advantage of the fact that issues receive more attention than discussions.

But there's two ways to make this work.

  1. Request RustPython support from PyO3 (the creators of Maturin).
  2. Create a fork of Maturin specifically for RustPython.

Pros and cons of each:

First method

Pros:

  • Better integration with the Maturin environment and the PyO3 ecosystem.
  • No need to patch Maturin to work with RustPython.

Cons:

  • This would be unlikely to be approved due to the complexity of maintenance.
Second method

Pros:

  • Integration without relying on the PyO3 committee.
  • Exclusive improvements for better performance in RustPython.

Cons:

  • Makes the project harder to maintain.
  • Implementation may be difficult, especially for a small team.

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

The issue names Maturin, PyO3, and RustPython but no files, tests, or entry points. First determine how Maturin identifies interpreters and whether RustPython support belongs in PyO3 or a separate integration; the issue is done only once a concrete implementation path and acceptance criteria are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
compilers, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.