Closed trws closed 2 weeks ago
This seems reasonable. I could have sworn we tried this before and gave up for some reason, but I'm finding no history of it. :shrug:
Ping @jefflong6 @xorjane
Thanks! This LGTM!
(Note there's an issue with the
el8,system
builder right now that I'm fixing in an upcoming PR. The failures aren't related to this particular PR)
Thanks @grondo. I set MWP but I'm on a phone today, would you merge if it makes sense or let me know to rebase when the other one's in?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.32%. Comparing base (
14677c8
) to head (0b7ed69
).
problem: using
flux python
on minimal systems, say alpine or other minimal systems that do not provide anenv -S
, is currently non-trivial. Since the shebang only supports a single argument after the command, there's no way to search the path for flux to run flux pythonsolution: add a
flux-python
script, which is installed to the same bin path asflux
itself, so that#!/usr/bin/env flux-python
can be used as a shebangping @tgamblin