Skip to content

Commit 4e22d25

Browse files
authored
fix: Don't let deprecated test targets get matched by '...' (bazel-contrib#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 bazel-contrib#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy