ali5h / rules_pip

pip package rules for bazel that are fast (incremental fetch), support different python versions and work with all kinds of packages (i.e. packages with namespaces)
MIT License
60 stars 24 forks source link

examples/ break with bazel 6.0.0 #82

Open jmelahman opened 1 year ago

jmelahman commented 1 year ago
$ cd examples
$ bazel build //...
Starting local Bazel server and connecting to it...
Analyzing: 8 targets (40 packages loaded, 46 targets configured)
ERROR: /home/jamison/.cache/bazel/_bazel_jamison/aa4d8cfd50269e290d9b8d3fb2845591/external/bazel_tools/platforms/BUILD:84:6: in alias rule @bazel_tools//platforms:linux: Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms. See https://github.com/bazelbuild/bazel/issues/8622 for details.
ERROR: /home/jamison/.cache/bazel/_bazel_jamison/aa4d8cfd50269e290d9b8d3fb2845591/external/bazel_tools/platforms/BUILD:84:6: Analysis of target '@bazel_tools//platforms:linux' failed
ERROR: /home/jamison/code/forks/rules_pip/examples/tests/BUILD:8:15: While resolving toolchains for target //tests:test_import: invalid registered toolchain '@io_bazel_rules_docker//toolchains/docker:default_linux_toolchain': 
ERROR: Analysis of target '//tests:test_import' failed; build aborted: 
INFO: Elapsed time: 4.200s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (46 packages loaded, 265 targets configured)

which succeeds with examples/.bazelversion,

5.4.0