Open translunar opened 3 weeks ago
I think this has been a somewhat of a known issue for a while. Upstream protobuf maintainers have not committed to a stable Bazel interface for other projects to depend on as an external repository.
As a workaround, in my projects, I use a small patch to redirect Python to that defined my local toolchain. I can post an example when I'm back at the keyboard.
I'd be super grateful for an example! Thank you.
@jiawen Hi, just wanted to follow up on this
@jiawen Hi, just wanted to follow up on this
Sorry I should have given you a timeline. I'm still afk on vacation but will be back online in about a week.
Referencing #139, I almost got pybind11_protobuf working in my repository, but I get the following error:
BUILD:39:17: no such package '@com_google_protobuf//python': BUILD file not found in directory 'python' of external repository @com_google_protobuf. Add a BUILD file to a directory to mark it as a package. and referenced by '//mypath:my_ext.so'
.Is this to be expected in the current development state?