File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,24 @@ http_archive(
5959
6060load ("@rules_python//python:repositories.bzl" , "python_register_toolchains" )
6161
62+ load (
63+ "@rules_python//python:repositories.bzl" ,
64+ "py_repositories" ,
65+ "python_register_toolchains" ,
66+ )
67+ py_repositories ()
68+
69+ load (
70+ "@org_tensorflow//tensorflow/tools/toolchains/python:python_repo.bzl" ,
71+ "python_repository" ,
72+ )
73+ python_repository (name = "python_version_repo" )
74+ load ("@python_version_repo//:py_version.bzl" , "HERMETIC_PYTHON_VERSION" )
75+
6276python_register_toolchains (
6377 name = "python" ,
6478 ignore_root_user_error = True ,
65- python_version = "3.9" ,
79+ python_version = HERMETIC_PYTHON_VERSION ,
6680)
6781
6882# Initialize TensorFlow's external dependencies.
You can’t perform that action at this time.
0 commit comments