Skip to content

feat: improve buildspec and dockerfile generation#1279

Open
AbhinavPradeep wants to merge 4 commits intomainfrom
abhinav/improve-buildspec-generation
Open

feat: improve buildspec and dockerfile generation#1279
AbhinavPradeep wants to merge 4 commits intomainfrom
abhinav/improve-buildspec-generation

Conversation

@AbhinavPradeep
Copy link
Contributor

Summary

Imroved buildspec and dockerfile generation for Python packages.

Description of changes

  1. Additional version constraints are added based on the inferred build dependancies and their requied Python version. The dockerfile then sets setuptools version to the latest available for the inferred Python version.
  2. The generated dockerfile downloads and builds the latest available CPython patch for an inferred Python version. OpenSSL is also downloaded and build to allow for this to happen.
  3. Inferred build commands and fallbacks used are based on results from testing on a variety of PyPI packages.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 13, 2026
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
…ion inference.

Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
@AbhinavPradeep AbhinavPradeep force-pushed the abhinav/improve-buildspec-generation branch from a132b96 to 4db2e18 Compare February 3, 2026 05:04
@AbhinavPradeep AbhinavPradeep marked this pull request as ready for review February 3, 2026 05:07
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