Skip to content

rules_python is broken with Bazel@HEAD #18170

@sgowroji

Description

@sgowroji

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2972#0187a200-864b-46a7-987d-75766ba7fe83

ERROR: /Users/sgowroji/bazelci/bazelhead_downstream/rules_python/rules_python/docs/BUILD.bazel:36:12: no such target '@bazel_tools//tools/python:private/defs.bzl': target 'private/defs.bzl' not declared in package 'tools/python' defined by /private/var/tmp/_bazel_sgowroji/a5aaba8bdde99d8862842eaaed117753/external/bazel_tools/tools/python/BUILD (Tip: use `query "@bazel_tools//tools/python:*"` to see all the targets in that package) and referenced by '//docs:bazel_python_tools'
ERROR: Analysis of target '//docs:pip_install_bzl' failed; build aborted: 
INFO: Elapsed time: 0.666s
INFO: 0 processes.
ERROR: Build did NOT complete successfully

Steps followed to reproduce :

  1. git clone -v https://github.com/bazelbuild/rules_python.git
  2. git reset c72c7bcf4e0899c275042328e8233e3124ccae86 --hard
  3. export USE_BAZEL_VERSION=d3ebbb7495e65747ac5f512c67a790e9dec12373
  4. bazel build ...

Culprit : 1895585

CC @meteorcloudy

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions