Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --host_force_python=PY2 from bazelrc #996

Merged
merged 3 commits into from
Feb 1, 2023

Conversation

rickeylev
Copy link
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
Contributor Author

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

@rickeylev
Copy link
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