chore: Bump rules_testing to 0.4.0 from 0.0.5 (#1306) This uses the 0.4.0 release of rules_python, which has several features we can make use of * Various internal APIs have been made public * target_compatible_with can be set to skip tests by platform * Unit tests are easier to write Also adds rules_license 0.0.7, which is a dependency of rules_testing. Work towards #1297
diff --git a/internal_deps.bzl b/internal_deps.bzl index dfaea3b..f50d2bf 100644 --- a/internal_deps.bzl +++ b/internal_deps.bzl
@@ -42,12 +42,23 @@ ], sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", ) + maybe( http_archive, name = "rules_testing", - sha256 = "0c2abee201f566a088c720e12bc1d968bc56e6a51b692d9c81b1fe861bdf2be2", - strip_prefix = "rules_testing-0.0.5", - url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.0.5/rules_testing-v0.0.5.tar.gz", + sha256 = "8df0a8eb21739ea4b0a03f5dc79e68e245a45c076cfab404b940cc205cb62162", + strip_prefix = "rules_testing-0.4.0", + url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.4.0/rules_testing-v0.4.0.tar.gz", + ) + + maybe( + http_archive, + name = "rules_license", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz", + "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz", + ], + sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360", ) maybe(