Skip to content

feat: change dockerfile generation to always default to standard Python build command#1336

Open
AbhinavPradeep wants to merge 1 commit intomainfrom
abhinav/use-default-build-command
Open

feat: change dockerfile generation to always default to standard Python build command#1336
AbhinavPradeep wants to merge 1 commit intomainfrom
abhinav/use-default-build-command

Conversation

@AbhinavPradeep
Copy link
Contributor

Summary

Change dockerfile generation to always default to standard Python build command

Description of changes

Only affects dockerfile generation. Note that the dockerfile still decides to use python setup.py bdist_wheel if it detects that a legacy build command might be required (pre Python 3.6 before pyproject.toml was introduced).

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 25, 2026
@AbhinavPradeep AbhinavPradeep changed the title Change dockerfile generation to always default to standard Python build command feat: change dockerfile generation to always default to standard Python build command Mar 25, 2026
…ill accounting for legacy setuptools build command.

Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
@AbhinavPradeep AbhinavPradeep force-pushed the abhinav/use-default-build-command branch from dda28a1 to d3e0329 Compare March 26, 2026 00:25

backend_install_commands = " && ".join(build_backend_commands(buildspec))

modern_build_command = "python -m build --wheel -n"
Copy link
Member

Choose a reason for hiding this comment

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

Don't we need to install wheel when we pass this option?

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.

2 participants