You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The namespace_packages argument to setup prevents google/__init__.py from being included in the Pip package, which in turn prevents Bazel rules_python from treating google as a namespace package. This makes it incompatible with the protobuf package (and any other google-rooted packages) when used under Bazel.
Sorry, we can't do that. There are roughly 40 packages that live under the google namespace. All of them must cooperate for this to work. Bazel needs to be fixed to support namespace packages.
The
namespace_packages
argument tosetup
preventsgoogle/__init__.py
from being included in the Pip package, which in turn prevents Bazel rules_python from treatinggoogle
as a namespace package. This makes it incompatible with the protobuf package (and any other google-rooted packages) when used under Bazel.bazelbuild/rules_python#93 tracks adding support for namespace_packages in rules_python.
The text was updated successfully, but these errors were encountered: