Skip to content

The coverage wheel not present for some of our toolchains is spewing too many warnings #3950

Description

@aignas

#3766 has introduced too many warnings.

Could reproduce it when running our examples for the first time in a while:

$ bazel test //whl_mods:pip_whl_mods_test
Starting local Bazel server (9.2.0) and connecting to it...
WARNING: /home/aignas/src/github/aignas/rules_python/examples/bzlmod/MODULE.bazel:1:7: The attribute 'compatibility_level' in module() is a no-op and will be removed in a future Bazel release. Please remove it from your MODULE.bazel file.
WARNING: For repository 'bazel_skylib', the root module requires module version bazel_skylib@1.7.1, but got bazel_skylib@1.8.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'platforms', the root module requires module version platforms@0.0.4, but got platforms@1.0.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_java', the root module requires module version rules_java@8.16.1, but got rules_java@9.1.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_shell', the root module requires module version rules_shell@0.3.0, but got rules_shell@0.6.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.10.20, platform=ppc64le-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.10.20, platform=riscv64-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.10.20, platform=s390x-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.10.20, platform=x86_64-unknown-linux-musl. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=ppc64le-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=riscv64-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=s390x-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=x86_64-unknown-linux-musl. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.9.25, platform=ppc64le-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.9.25, platform=riscv64-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.9.25, platform=s390x-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/aignas/.cache/bazel/_bazel_aignas/3a6ae8a9f0b6d56262b422499f6b0475/external/rules_python+/python/private/repo_utils.bzl:101:16:
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.9.25, platform=x86_64-unknown-linux-musl. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.

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