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

Flag --incompatible_python_disable_py2 will break Bazel toolchains in Bazel 7.0 #995

Closed
keertk opened this issue Jan 27, 2023 · 0 comments · Fixed by #996
Closed

Flag --incompatible_python_disable_py2 will break Bazel toolchains in Bazel 7.0 #995

keertk opened this issue Jan 27, 2023 · 0 comments · Fixed by #996

Comments

@keertk
Copy link
Member

keertk commented Jan 27, 2023

Incompatible flag --incompatible_python_disable_py2 will be enabled by default in the next major release (Bazel 7.0), thus breaking Bazel toolchains. Please migrate to fix this and unblock the flip of this flag.

The flag is documented here: bazelbuild/bazel#17293.

Please check the following CI builds for build and test results:

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.

rickeylev added a commit to rickeylev/bazel-toolchains that referenced this issue Jan 27, 2023
Bazel is dropping support for Python 2

Fixes bazelbuild#995
DaveGay pushed a commit that referenced this issue Feb 1, 2023
* Remove --host_force_python=PY2 from bazelrc

Bazel is dropping support for Python 2

Fixes #995

* Remove whitespace to trigger CI
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 a pull request may close this issue.

1 participant