Skip to content

Commit 4e22d25

Browse files
authored
fix: Don't let deprecated test targets get matched by '...' (#3045)
This fixes "target '//foo_test' is deprecated: Use 'foo.test' instead. The '*_test' target will be removed in the next major release." being warned about once per `compile_pip_requirement` call when running `bazel test ...`. Work towards #2976
1 parent 83e8f4b commit 4e22d25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/private/pypi/pip_compile.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,5 @@ def pip_compile(
196196
name = "{}_test".format(name),
197197
actual = ":{}.test".format(name),
198198
deprecation = "Use '{}.test' instead. The '*_test' target will be removed in the next major release.".format(name),
199+
tags = ["manual"],
199200
)

0 commit comments

Comments
 (0)