Skip to content

Commit 6fee932

Browse files
committed
examples/basic: disable target broken on windows
1 parent 0b047c5 commit 6fee932

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

examples/basic/BUILD.bazel

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ py_test(
1616
data = [":basic"],
1717
)
1818

19-
py_test(
20-
name = "basic_pybind_deps_test",
21-
size="small",
22-
srcs = ["basic_test.py"],
23-
main = "basic_test.py",
24-
deps = [":basic"],
25-
)
19+
# This target won't build on windows, error:
20+
# deps attribute of py_test rule //:basic_pybind_deps_test:
21+
# '//:basic_copy_dll_to_pyd' does not have mandatory providers:
22+
# 'PyInfo' or 'CcInfo'.
23+
# Since this rule was created by the macro 'py_test', the error might have been
24+
# caused by the macro implementation
25+
#py_test(
26+
# name = "basic_pybind_deps_test",
27+
# size="small",
28+
# srcs = ["basic_test.py"],
29+
# main = "basic_test.py",
30+
# deps = [":basic"],
31+
#)
2632

2733
# this seems to work as expected
2834
# the basic.so is in the wheel package

0 commit comments

Comments
 (0)