Skip to content

Conversation

@behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Nov 13, 2025

Summary

This PR adjusts the gen-build-spec tutorial for the Python and extends support for additional Python build tools, and refactors registries to make them build tool agnostic. It also improves the logic for the default build requirements and backends.

Description of changes

  • Adds a comprehensive tutorial for using the Python gen-build-spec command, providing step-by-step instructions, usage examples, and best practices to help users get started effectively.
  • Extends the functionality of gen-build-spec to support a wider range of build tools (e.g., flit, hatch, conda).
  • Refactors registry handling logic to decouple it from specific build tools. Registries are now organized based on the PURL (Package URL) namespace, enabling a tool-agnostic approach.
  • Improves the logic of default build requirements and backends for Python packages. The default setuptools is only used when no backends are declared by the project configurations.
  • Updates related documentation to reflect these changes and ensure consistency.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 13, 2025
…tools

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/add-python-build-tutorial branch from 90aa877 to ff4fc6a Compare November 14, 2025 04:40
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/add-python-build-tutorial branch from f68cc04 to 2d9e829 Compare November 15, 2025 23:36
@behnazh-w behnazh-w marked this pull request as ready for review November 16, 2025 00:53
Copy link
Contributor

@AbhinavPradeep AbhinavPradeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@behnazh-w behnazh-w merged commit d1f807d into main Nov 17, 2025
11 checks passed
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.

3 participants