Closed as not planned
Closed as not planned
Description
Platform: Windows
Logs:
(04:09:35) ERROR: Traceback (most recent call last):
File "C:/b/gwgutza2/external/rules_nodejs++node+nodejs_toolchains/defs.bzl", line 15, column 20, in <toplevel>
resolved_toolchain = rule(
Error in rule: rule() got unexpected keyword argument 'incompatible_use_toolchain_transition'
(04:09:36) ERROR: C:/b/bk-windows-xmds/bazel-org-repo-root/rules_python/examples/bzlmod/BUILD.bazel:61:24: While resolving toolchains for target //:test_with_transition (3de70f4): invalid registered toolchain '@nodejs_toolchains//:all': while parsing '@nodejs_toolchains//:all': error loading package '@@rules_nodejs++node+nodejs_toolchains//': initialization of module 'defs.bzl' failed
Target //:requirements_3_10 up-to-date (nothing to build)
(04:09:36) ERROR: Analysis of target '//:test_with_transition' failed; build aborted
(04:09:36) INFO: Elapsed time: 9.592s, Critical Path: 0.06s
(04:09:36) INFO: 1 process: 1 internal.
(04:09:36) ERROR: Build did NOT complete successfully
(04:09:36) FAILED:
Culprit: bazelbuild/bazel@f53608a
To Fix this issue need to Remove no-op incompatible_use_toolchain_transition param
Steps:
git clone https://github.com/bazel-contrib/rules_python
git reset 94e08f7dfe61962fa50508f01ea05c624307d487 --hard
export USE_BAZEL_VERSION=35fb97fe269e42be22fcfa81ff6cdfc4b5bc291e
bazel build -- ...
CC Greenteam @fweikert
Metadata
Metadata
Assignees
Labels
No labels