Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python packages built from Rust #875

Open
jenstroeger opened this issue Sep 29, 2024 · 1 comment
Open

Add support for Python packages built from Rust #875

jenstroeger opened this issue Sep 29, 2024 · 1 comment
Labels
build_tools The issues related to build tool support

Comments

@jenstroeger
Copy link
Contributor

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.)

Footnotes

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

@behnazh-w behnazh-w added the build_tools The issues related to build tool support label Sep 30, 2024
@behnazh-w
Copy link
Member

Thanks, @jenstroeger! That’s a fantastic idea, especially considering the trend of rewriting Python packages in Rust and the increasing need to build from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build_tools The issues related to build tool support
Projects
None yet
Development

No branches or pull requests

2 participants