Thanks to visit codestin.com
Credit goes to github.com

Skip to content

f-strings in bootstrap template breaks some environmentsΒ #2709

Closed
@armandomontanez

Description

@armandomontanez

🐞 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:

  
Linux
  

Output of bazel version:

  
8.0.1
  

Rules_python version:

  
1.1.0
  

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions