Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.1.0] Also report cycles involving WORKSPACE from BzlmodRepoCycleReporter #21013

Merged
merged 1 commit into from
Jan 24, 2024

Commits on Jan 24, 2024

  1. Also report cycles involving WORKSPACE from BzlmodRepoCycleReporter

    Work towards bazelbuild#20942
    
    On the referenced bug, this prints:
    ```
    ERROR: Circular definition of repositories generated by module extensions and/or .bzl files:
    .-> repository mapping of @@
    |   WORKSPACE file
    |   //python:pip.bzl
    |   //python/pip_install:requirements.bzl
    |   //python:defs.bzl
    |   //python:py_import.bzl
    |   //python:py_info.bzl
    |   @@_main~internal_deps~rules_python_internal//:rules_python_config.bzl
    |   @@_main~internal_deps~rules_python_internal
    |   extension 'internal_deps' defined in //python/private/bzlmod:internal_deps.bzl
    `-- repository mapping of @@
    ERROR: Error computing the main repository mapping: cycles detected during computation of main repo mapping
    ```
    
    Closes bazelbuild#20958.
    
    PiperOrigin-RevId: 601183514
    Change-Id: If321005b1f6918117d0f5b5763ae2bda4d8e34f1
    fmeum authored and bazel-io committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    817d9a2 View commit details
    Browse the repository at this point in the history