Skip to content

feat: added inference for Python wheels that bundle Rust binaries.#1408

Open
AbhinavPradeep wants to merge 3 commits into
mainfrom
abhinav/python-rust-inference
Open

feat: added inference for Python wheels that bundle Rust binaries.#1408
AbhinavPradeep wants to merge 3 commits into
mainfrom
abhinav/python-rust-inference

Conversation

@AbhinavPradeep
Copy link
Copy Markdown
Contributor

Summary

Added inference for non-pure Python wheels that bundle Rust binaries

Description of changes

  1. Modified the buildspec to introduce the concept of a SpecBuildRequirementDict. This provides a richer description of build dependencies.
  2. Added inference for the maturin build tool in specific. Rust-related build dependancies are read from the Cargo.lock/toml and the right Rust toolchain versions are inferred.

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.

Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
@AbhinavPradeep AbhinavPradeep requested a review from behnazh-w as a code owner May 15, 2026 05:05
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 15, 2026
Comment thread src/macaron/build_spec_generator/common_spec/pypi_spec.py Fixed
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant