-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Some tests still require a python binary (Python 2) #16526
Copy link
Copy link
Closed as not planned
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)macos-infra-updatestaleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-Rules-PythonNative rules for PythonNative rules for Pythontype: bug
Description
Description of the bug:
On our new M1 Mac Studio CI workers the following tests fail due to Python 2 no longer being installed by default:
- //src/test/shell/bazel:bazel_example_test fails with
io_bazel/src/test/shell/bazel/bazel_example_test: line 135: python: command not foundlog - //src/test/py/bazel:runfiles_test fails with
Could not find python binary: pythonlog
Obviously it would be easy to fix them by installing Python 2. However, I'd argue that the right thing is to switch to Python 3 given that it's 2022.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
MacOS monterey 12.6 (Bazel CI)
What is the output of bazel info release?
5.3.2
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)macos-infra-updatestaleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-Rules-PythonNative rules for PythonNative rules for Pythontype: bug