rules_python
rules_python copied to clipboard
[Bazel CI] Error no such package '@@[unknown repo 'wheel_for_testing' requested .
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4128#0191f902-8680-4008-b16f-8d29b9ebf539
Platform: Ubuntu
Logs:
ERROR: [0mno such package '@@[unknown repo 'rules_python_gazelle_plugin' requested from @@]//': The repository '@@[unknown repo 'rules_python_gazelle_plugin' requested from @@]' could not be resolved: No repository visible as '@rules_python_gazelle_plugin' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-vfmd/bazel-org-repo-root/rules_python/BUILD.bazel:32:10: no such package '@@[unknown repo 'rules_python_gazelle_plugin' requested from @@]//': The repository '@@[unknown repo 'rules_python_gazelle_plugin' requested from @@]' could not be resolved: No repository visible as '@rules_python_gazelle_plugin' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. and referenced by '//:distribution'
ERROR: [0mno such package '@@[unknown repo 'wheel_for_testing' requested from @@]//file': The repository '@@[unknown repo 'wheel_for_testing' requested from @@]' could not be resolved: No repository visible as '@wheel_for_testing' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-vfmd/bazel-org-repo-root/rules_python/tests/pycross/BUILD.bazel:18:17: no such package '@@[unknown repo 'wheel_for_testing' requested from @@]//file': The repository '@@[unknown repo 'wheel_for_testing' requested from @@]' could not be resolved: No repository visible as '@wheel_for_testing' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. and referenced by '//tests/pycross:extracted_wheel_for_testing'
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-vfmd/bazel-org-repo-root/rules_python/tests/pycross/BUILD.bazel:36:17: no such package '@@[unknown repo 'wheel_for_testing' requested from @@]//file': The repository '@@[unknown repo 'wheel_for_testing' requested from @@]' could not be resolved: No repository visible as '@wheel_for_testing' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. and referenced by '//tests/pycross:patched_extracted_wheel_for_testing'
ERROR: [0mcommand succeeded, but not all targets were analyzed
Culprit:
Steps:
git clone https://github.com/bazelbuild/rules_python
git reset 63114a330bffcdecd69a97c0ebefea47c8b49621 --hard
export USE_BAZEL_VERSION=7b8d07253adf84d5e3d46ac915a1440e518fab3c
bazel build ... @rules_python//examples/wheel/...
CC Greenteam @comius