-
-
Notifications
You must be signed in to change notification settings - Fork 674
Closed as not planned
Closed as not planned
Copy link
Description
🐞 bug report
Affected Rule
rules_python: 0.26.0
Is this a regression?
Yes, the previous version in which this bug was not present was: 0.25.0Description
Using `rules_python` in `bzlmod` causes the issue🔬 Minimal Reproduction
Run bazel test on any py_test target
🔥 Exception or Error
ERROR: Failed to load Starlark extension '@rules_python_internal//:rules_python_config.bzl'.
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined.
The following chain of repository dependencies lead to the missing definition.
- @rules_python_internal
This could either mean you have to add the '@rules_python_internal' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
ERROR: Error computing the main repository mapping: cycles detected during computation of main repo mapping
🌍 Your Environment
Operating System:
macOS 12.5.1
Output of bazel version:
Bazelisk version: development
Build label: 6.4.0
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Oct 19 17:08:20 2023 (1697735300)
Build timestamp: 1697735300
Build timestamp as int: 1697735300
Rules_python version:
0.26.0
Anything else relevant?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels