Skip to content

[Bazel CI] Unable to find package for @@rules_python+//python:py_test.bzl  #108

@sgowroji

Description

@sgowroji

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4170#019255cd-fa44-4ffc-8b06-776030abbf8b

Platform: Ubuntu

Logs:

ERROR: �[0mSkipping '...': error loading package under directory '': error loading package '': Internal error while loading Starlark builtins: Failed to autoload external symbols: Unable to find package for @@rules_python+//python:py_test.bzl: The repository '@@rules_python+' could not be resolved: Repository '@@rules_python+' is not defined. Most likely you need to upgrade the version of rules repository in the WORKSPACE file.
ERROR: �[0merror loading package under directory '': error loading package '': Internal error while loading Starlark builtins: Failed to autoload external symbols: Unable to find package for @@rules_python+//python:py_test.bzl: The repository '@@rules_python+' could not be resolved: Repository '@@rules_python+' is not defined. Most likely you need to upgrade the version of rules repository in the WORKSPACE file.

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_testing
git reset 724bf647aaf30d302f07c7890b5c8149526bbfe7  --hard
export USE_BAZEL_VERSION=166eaa09f9cd31836df898ea236e1e0633a73b12
bazel test --noenable_bzlmod --enable_workspace ... 

CC Greenteam @mai93

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions