f-strings in bootstrap template breaks some environments

🐞 bug report

Affected Rule

bootstrap template (py_binary)

Is this a regression?

Yes, introduced by #2481

Description

Some f-strings accidentally snuck into the bootstrap template, causing some environments to fail.

🔬 Minimal Reproduction

N/A

🔥 Exception or Error


Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
  File "bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/pigweed+/pw_rpc/py/plugin_pwpb", line 99
    f"{key}={value!r}",
                     ^
SyntaxError: invalid syntax

🌍 Your Environment

Operating System:

Output of bazel version:

Rules_python version:

Anything else relevant?