generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
A py_venv_binary
rule is logging collisions even with package_collisions = "ignore"
. This is the behavior I would expect from package_collisions = "warning"
.
In our use case, we know that we have some collisions due to namespaced packages (e.g. all Google Cloud SDK libraries will provide google/cloud/__init__.py
) so we would like to suppress the warnings entirely.
Version
Development (host) and target OS/architectures: Ubuntu 22.04.1 x86_64
Output of bazel --version
:
aspect oss 2024.49.18-4472f3c (with local changes)
Bazel version is 8.4.2
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file:
bazel_dep(name = "aspect_rules_py", version = "1.6.5")
Language(s) and/or frameworks involved: Python
How to reproduce
Any `py_venv_binary` rule with collisions in the srcs or deps and `package_collisions = "ignore"` should reproduce.
Any other information?
Seems like this print should respect emit_error
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working