std_pip_args: use PythonPipBuilder.std_args(...) instead#47260
std_pip_args: use PythonPipBuilder.std_args(...) instead#47260
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Uh, is this something we're planning on doing for all the builders? I thought we created the globals so we wouldn't need all of this cruft. |
|
There was a general consensus to get rid of
References to I don't think The alternative is to leave the global, and define them in |
|
Thanks, didn't know there was a discussion on this. As long as there is good reason (like the hash) and we're planning on doing the same for all build systems I'm happy. |
adamjstewart
left a comment
There was a problem hiding this comment.
Code changes look fine, just need to get CI to pass now.
|
FYI, the Packaging Guide still references |
|
To be fair, the package hash issue is not addressed by this PR because
Moving the literal value of The similar PRs for |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@spackbot run pipeline |
|
I've started that pipeline for you! |

Currently
std_pip_argsis set inbuild_environment.pyfor any package,including ones that don't depend on python or pip.
This commit replaces globals with direct calls to
PythonPipBuilder.std_args,so (A) the origin is clear, and (B) the dependency on build_environment.py
is effectively removed, which was an input that was not reflected in the package
hash.