From 7ea4040d2acfe94e5711cbff784f2f3994eab9e8 Mon Sep 17 00:00:00 2001 From: Tim Trippel Date: Fri, 31 Jan 2025 11:35:22 -0800 Subject: [PATCH] [bazel] update rules_python to 0.39.0 to match master This updates rules_python to 0.39.0 to match the version on the master branch. See #24781. Signed-off-by: Tim Trippel --- third_party/python/repos.bzl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/third_party/python/repos.bzl b/third_party/python/repos.bzl index db02a5865538c..ba932a8c23043 100644 --- a/third_party/python/repos.bzl +++ b/third_party/python/repos.bzl @@ -4,10 +4,15 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +_RULES_PYTHON_VERSION = "0.39.0" + def python_repos(): http_archive( name = "rules_python", - sha256 = "778aaeab3e6cfd56d681c89f5c10d7ad6bf8d2f1a72de9de55b23081b2d31618", - strip_prefix = "rules_python-0.34.0", - url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz", + sha256 = "62ddebb766b4d6ddf1712f753dac5740bea072646f630eb9982caa09ad8a7687", + strip_prefix = "rules_python-{}".format(_RULES_PYTHON_VERSION), + url = "https://github.com/bazelbuild/rules_python/releases/download/{}/rules_python-{}.tar.gz".format( + _RULES_PYTHON_VERSION, + _RULES_PYTHON_VERSION, + ), )