Bazel’s native Python rules are infamously ill-suited for Python projects of any complexity outside of Google. Dropbox’s dbx_build_tools includes a pure Starlark alternative Python ruleset that handles millions of lines of Python in production. The Python rules include support for third-party PyPI dependencies (including native dependencies), BUILD file generation, and hermetic Python archives that don’t depend on the system.
Resources:
Github: https://goo.gle/3naDrHR
Speaker: Benjamin Peterson
#bazelcon #bazel event: Bazelcon 2020; re_ty: Unlisted; product: Open Source – General; fullname: Benjamin Peterson; event: Bazelcon 2020;"