rapid-artist-48509
08/01/2025, 5:13 PMimage_spec.exist()
will be None
and should_build
goes to `False`: https://github.com/flyteorg/flytekit/blob/eb5a67f76aaef96a44bde04afb72b87592cc8b7a/flytekit/image_spec/image_spec.py#L479
• except the noop
builder relies on should_build
being True
in order to effectively overwrite the image name: https://github.com/flyteorg/flytekit/blob/eb5a67f76aaef96a44bde04afb72b87592cc8b7a/flytekit/image_spec/noop_builder.py#L9
Thus noop
builder will never work as intended if the launching shell does not have docker
available. I think that's not as intended, because the noop
builder is meant to essentially skip docker (and so ideally would work as intended if the user environment does not have docker available eh?)rapid-artist-48509
08/01/2025, 5:26 PMNoOpBuilder
to override should_build
and make it always return True
.
IDK this seems conceptually correct because for no-op builder, the build is a "no-op" and thus can "always happen" and the net effect is to provide the correct / intended image name.faint-pilot-24699
08/03/2025, 7:27 AMNoOpBuilder
should override should_build
to always return True in order to correctly overwrite the image name. Let me talk to the community.rapid-artist-48509
08/04/2025, 11:02 PMfaint-pilot-24699
08/05/2025, 1:47 AMrapid-artist-48509
08/05/2025, 5:44 PMshould_build
that just returns True, then stuff works as expectedrapid-artist-48509
08/22/2025, 4:55 PM