Skip to content

Conversation

Flamefire
Copy link
Contributor

When no separate build command is used to build Python packages, e.g. when using pip, the build options will be ignored. This may be surprising as it is different to any other build.

Error out in this case.

Do not error when build- and install-options are set as that might be intentional to support run-time choices e.g. by easyblocks. Also include a clear hint to pip if it is used.

…age installation

When no separate build command is used to build Python packages,
e.g. when using pip, the build options will be ignored.
This may be surprising as it is different to any other build.

Error out in this case.

Do not error when build- and install-options are set as that might be
intentional to support run-time choices e.g. by easyblocks.
Also include a clear hint to pip if it is used.
@boegel boegel changed the title Error out when only build-options are given for PIP based Python package installation update PythonPackage easyblock to error out when only build-options are given for pip-based Python package installation Sep 24, 2025
@boegel boegel added this to the release after 5.1.2 (5.2.0?) milestone Sep 24, 2025
@boegel boegel changed the title update PythonPackage easyblock to error out when only build-options are given for pip-based Python package installation enhance PythonPackage easyblock to error out when only build-options are given for pip-based Python package installation Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants