Skip to content

Commit 528cfc1

Browse files
Merge pull request #118 from etas-contrib/fix/itf-pip-label-resolution
fix(bazel): use Label() for deps in py_itf_unittest
2 parents 6b27d41 + 98e1a95 commit 528cfc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bazel/py_itf_unittest.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def py_itf_unittest(name, srcs, deps = [], data = [], env = {}, pytest_config =
4444
"--show-capture=no",
4545
"--junitxml=$$XML_OUTPUT_FILE",
4646
] + ["$(location %s)" % x for x in srcs],
47-
deps = ["@score_itf//:itf", "@itf_pip//pytest_mock"] + deps,
47+
deps = [Label("@score_itf//:itf"), Label("@itf_pip//pytest_mock")] + deps,
4848
data = [pytest_config] + data,
4949
env = {"PYTHONDONOTWRITEBYTECODE": "1"} | env,
5050
**kwargs

0 commit comments

Comments
 (0)