π bug report
Description
Commit 0fb4ce1 / PR #2481 breaks the py_binary bootstrap wrapper for systems that have Python 2 as the system Python. Reverting that commit fixes the issue.
Is this a regression?
Yes, regression as of commit 0fb4ce1. Commit was first released in version 1.1.0.
π¬ Minimal Reproduction
- Create a
py_binary.
- Try to run it on a Linux system that has Python 2 as the system Python.
π₯ Exception or Error
File ".runfiles/_main/build/tools/yamllint", line 92
def print_verbose(*args, mapping=None, values=None):
^
SyntaxError: invalid syntax
π Your Environment
Operating System:
Output of bazel version:
Bazelisk version: 1.25.0
Build label: 8.1.1
Build target: @@//src/main/java/com/google/devtools/build/lib/bazel:BazelServer
Build time: Tue Feb 25 18:53:44 2025 (1740509624)
Build timestamp: 1740509624
Build timestamp as int: 1740509624
Rules_python version: