Add `load()` statements for builtin Python rules/providers

PiperOrigin-RevId: 584089414
pull/14805/head
Richard Levasseur 1 year ago committed by Copybara-Service
parent 78391a1318
commit 06776d20a5
  1. 3
      bazel/BUILD
  2. 1
      bazel/py_proto_library.bzl
  3. 2
      python/pb_unit_tests/pyproto_test_wrapper.bzl

@ -26,6 +26,9 @@ py_binary(
bzl_library(
name = "py_proto_library_bzl",
srcs = ["py_proto_library.bzl"],
deps = [
"@rules_python//python:py_info_bzl",
],
)
bzl_library(

@ -15,6 +15,7 @@ But it hasn't been deeply tested or reviewed, and upb should not be in the
business of vending py_proto_library(), so we keep it private to upb.
"""
load("@rules_python//python:py_info.bzl", "PyInfo")
load("@bazel_skylib//lib:paths.bzl", "paths")
# begin:github_only

@ -25,7 +25,7 @@ def pyproto_test_wrapper(name, deps = []):
# begin:google_only
#
# load("//third_party/bazel_rules/rules_python/python:py_test.bzl", "py_test")
# load("@rules_python//python:py_test.bzl", "py_test")
#
# def pyproto_test_wrapper(name):
# src = name + "_wrapper.py"

Loading…
Cancel
Save