-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Error No matching toolchains found for types @@bazel_tools//tools/python:toolchain_type in Downstream CI with 7.1 #21348
Labels
Milestone
Comments
Can you use bazelisk to bisect those failures? |
I tried this ''' |
@sgowroji You should bisect the broken downstream project, not building Bazel itself.
|
And the result is
|
OK, probably we need to backport 9810870 |
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 15, 2024
… toolchain by default (#21369) A regression from upgrading to rules_python 0.22.0 is that a Python toolchain is no longer registered by default (the prior 0.4.0 version registered the "autodetecting" toolchain). Subsequent versions of rules_python (0.23.0 or later) register a toolchain by default again, but it's a downloaded runtime, which makes upgrading more involved. To fix, upgrade to 0.22.1, which registers the autodetecting toolchain. This restores the rules_python 0.4.0 behavior and should suffice until bazel_tools is upgraded to 0.23.0 or later. Fixes #20458 Closes #20514 PiperOrigin-RevId: 592578175 Change-Id: I707a4c96829063536f81cc10e144652102da1e7e Fixes #21348 Co-authored-by: Richard Levasseur <[email protected]>
Fixed by #21369 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3657#018da594-7593-4e8f-850f-187a1a4cb063
Platform: Windows, MacOS, Ubuntu
Logs:
CC Greenteam @mai93 @meteorcloudy
List of Downstream projects failing with above error logs
The text was updated successfully, but these errors were encountered: