diff --git a/tests/WORKSPACE b/tests/WORKSPACE index 87b7e63..b8582c3 100644 --- a/tests/WORKSPACE +++ b/tests/WORKSPACE @@ -11,11 +11,35 @@ http_archive( url = "https://github.com/bazelbuild/rules_jvm_external/archive/{}.tar.gz".format(rules_jvm_external_tag), ) -protobuf_tag = "28.2" +bazel_skylib_tag = "1.5.0" + +http_archive( + name = "bazel_skylib", + sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/{tag}/bazel-skylib-{tag}.tar.gz".format(tag = bazel_skylib_tag), + "https://github.com/bazelbuild/bazel-skylib/releases/download/{tag}/bazel-skylib-{tag}.tar.gz".format(tag = bazel_skylib_tag), + ], +) + +rules_python_version = "0.37.2" + +http_archive( + name = "rules_python", + sha256 = "c6fb25d0ba0246f6d5bd820dd0b2e66b339ccc510242fd4956b9a639b548d113", + strip_prefix = "rules_python-" + rules_python_version, + url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/{0}.tar.gz".format(rules_python_version), +) + +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + +protobuf_tag = "28.3" http_archive( name = "com_google_protobuf", - sha256 = "b2340aa47faf7ef10a0328190319d3f3bee1b24f426d4ce8f4253b6f27ce16db", + sha256 = "7c3ebd7aaedd86fa5dc479a0fda803f602caaf78d8aff7ce83b89e1b8ae7442a", strip_prefix = "protobuf-" + protobuf_tag, url = "https://github.com/protocolbuffers/protobuf/archive/v{}.tar.gz".format(protobuf_tag), )