diff --git a/WORKSPACE b/WORKSPACE index 14fd48d206969c..4d2cc2f2b5cdaa 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -96,16 +96,6 @@ dist_http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, ) -dist_http_archive( - name = "rules_python", - patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, - patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, -) - -load("@rules_python//python:repositories.bzl", "py_repositories") - -py_repositories() - local_repository( name = "googleapis", path = "./third_party/googleapis/", @@ -214,6 +204,16 @@ dist_http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, ) +dist_http_archive( + name = "rules_python", + patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, + patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, +) + +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + dist_http_archive( name = "zstd-jni", build_file = "//third_party:zstd-jni/zstd-jni.BUILD",