Skip to content

Commit d4bdf59

Browse files
committed
Fix the pybind_library_test rule.
Specifically, replace dependencies that never existed (at least, not outside Google) with a dependency on the Python toolchain libraries. Fixes #36.
1 parent d5fd6e6 commit d4bdf59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build_defs.bzl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ def pybind_library_test(
9292
features = features + PYBIND_FEATURES,
9393
tags = tags,
9494
deps = deps + PYBIND_DEPS + [
95-
"//util/python:python_impl",
96-
"//util/python:test_main",
95+
"@rules_python//python/cc:current_py_cc_libs",
9796
],
9897
**kwargs
9998
)

0 commit comments

Comments
 (0)