Skip to content

Remove --host_force_python=PY2 from bazelrc - #996

Merged
DaveGay merged 3 commits into
bazelbuild:masterfrom
rickeylev:patch-1
Feb 1, 2023
Merged

DaveGay merged 3 commits into
bazelbuild:masterfrom
rickeylev:patch-1

Conversation

@rickeylev

Copy link
Copy Markdown
Contributor

Bazel is dropping support for Python 2

Setting this flag ends up forcing transitive tools to use Python 2 when they don't need to.

Fixes #995

Bazel is dropping support for Python 2

Fixes bazelbuild#995
@rickeylev

Copy link
Copy Markdown
Contributor Author

The CI failures is from a buildifier warning for other files; unrelated to this change

@rickeylev

Copy link
Copy Markdown
Contributor Author

Hi,

Would someone be willing to review? @smukherj1 @DaveGay @eytankidron

If you aren't available, let me know, and I can hunt around to find a reviewer.

@DaveGay
DaveGay merged commit a91618c into bazelbuild:master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flag --incompatible_python_disable_py2 will break Bazel toolchains in Bazel 7.0

2 participants