GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add inference for Python wheels that bundle Rust binaries. by AbhinavPradeep · Pull Request #1408 · oracle/macaron

Conversation

@AbhinavPradeep

@AbhinavPradeep AbhinavPradeep commented May 15, 2026

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@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
github-code-quality[bot]
github-code-quality Bot found potential problems May 15, 2026
View reviewed changes
Comment thread src/macaron/build_spec_generator/common_spec/pypi_spec.py Fixed

Uh oh!

There was an error while loading. Please reload this page.

behnazh-w
behnazh-w reviewed Jun 15, 2026
View reviewed changes
Comment thread src/macaron/resources/schemas/macaron_buildspec_schema.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@AbhinavPradeep
AbhinavPradeep force-pushed the abhinav/python-rust-inference branch from 0d0bd9b to c047ca2 Compare June 30, 2026 02:15
github-code-quality[bot]
github-code-quality Bot found potential problems Jun 30, 2026
View reviewed changes
Comment thread src/macaron/build_spec_generator/common_spec/pypi_spec.py Fixed

Uh oh!

There was an error while loading. Please reload this page.

behnazh-w
behnazh-w reviewed Jul 12, 2026
View reviewed changes
Comment thread tests/integration/cases/pypi_tree-sitter/expected_default.buildspec Resolved

Uh oh!

There was an error while loading. Please reload this page.

@AbhinavPradeep
AbhinavPradeep force-pushed the abhinav/python-rust-inference branch from bf85a46 to 266764e Compare July 16, 2026 00:32
AbhinavPradeep added 12 commits July 16, 2026 13:43
@AbhinavPradeep
feat: added inference for Python wheels that bundle Rust binaries.
dfef8ac
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: code style issue.
a39e40a
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
test: add integration test for ruff.
40826b3
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
feat: dockerfile support and documentation
da5544a
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: old version of file commited
b66302d
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: snapshot
c7eeb83
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: lack of debug
3ddd729
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
feat: added validation for the rust packages
8f48fca
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: updated old version constraints
39f859d
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: commit expected dockerfile
131d0a4
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
fix: correct Python version constraint in integration test
dce7d53
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
chore: add TODO for failing toga build
7380431
Signed-off-by: Abhinav Pradeep <[email protected]>
@AbhinavPradeep
AbhinavPradeep force-pushed the abhinav/python-rust-inference branch from d86640a to 7380431 Compare July 16, 2026 04:06
@behnazh-w behnazh-w changed the title feat: added inference for Python wheels that bundle Rust binaries. feat: add inference for Python wheels that bundle Rust binaries. Jul 16, 2026
behnazh-w
behnazh-w approved these changes Jul 16, 2026
View reviewed changes
@behnazh-w
behnazh-w merged commit dbe410d into main Jul 16, 2026
20 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@behnazh-w behnazh-w behnazh-w approved these changes
+1 more reviewer
@github-code-quality github-code-quality[bot] github-code-quality[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@AbhinavPradeep @behnazh-w
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.