File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ http_archive(
4141# version of the library will be selected as a transitive dependency of gRPC.
4242http_archive (
4343 name = "rules_python" ,
44- strip_prefix = "rules_python-0.5 .0" ,
45- url = "https://github.com/bazelbuild/rules_python/archive/0.5 .0.tar.gz" ,
44+ strip_prefix = "rules_python-0.9 .0" ,
45+ url = "https://github.com/bazelbuild/rules_python/archive/0.9 .0.tar.gz" ,
4646)
4747
4848http_archive (
@@ -255,9 +255,19 @@ load("@rules_gapic//python:py_gapic_repositories.bzl", "py_gapic_repositories")
255255
256256py_gapic_repositories ()
257257
258- load ("@rules_python//python:pip .bzl" , "pip_repositories " )
258+ load ("@rules_python//python:repositories .bzl" , "python_register_toolchains " )
259259
260- pip_repositories ()
260+ python_register_toolchains (
261+ name = "python39" ,
262+ python_version = "3.9" ,
263+ )
264+
265+ load ("@python39//:defs.bzl" , "interpreter" )
266+ load ("@rules_python//python:pip.bzl" , "pip_install" )
267+
268+ pip_install (
269+ python_interpreter_target = interpreter ,
270+ )
261271
262272_gapic_generator_python_version = "1.1.0"
263273
You can’t perform that action at this time.
0 commit comments