File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -164,13 +164,6 @@ http_archive(
164
164
patch_cmds = ["find google -type f -name BUILD.bazel -delete" ],
165
165
)
166
166
167
- load ("//python/dist:system_python.bzl" , "system_python" )
168
-
169
- system_python (
170
- name = "system_python" ,
171
- minimum_python_version = "3.7" ,
172
- )
173
-
174
167
load ("@system_python//:pip.bzl" , "pip_parse" )
175
168
176
169
pip_parse (
Original file line number Diff line number Diff line change 2
2
3
3
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4
4
load ("//python/dist:python_downloads.bzl" , "python_nuget_package" , "python_source_archive" )
5
+ load ("//python/dist:system_python.bzl" , "system_python" )
5
6
6
7
PROTOBUF_MAVEN_ARTIFACTS = [
7
8
"com.google.caliper:caliper:1.0-beta-3" ,
@@ -102,6 +103,12 @@ def protobuf_deps():
102
103
url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz" ,
103
104
)
104
105
106
+ if not native .existing_rule ("system_python" ):
107
+ system_python (
108
+ name = "system_python" ,
109
+ minimum_python_version = "3.7" ,
110
+ )
111
+
105
112
if not native .existing_rule ("rules_jvm_external" ):
106
113
_github_archive (
107
114
name = "rules_jvm_external" ,
You can’t perform that action at this time.
0 commit comments