@@ -3,7 +3,6 @@ workspace(name = "org_keras")
3
3
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4
4
5
5
# Needed by protobuf
6
- load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
7
6
http_archive (
8
7
name = "bazel_skylib" ,
9
8
urls = [
@@ -15,6 +14,21 @@ http_archive(
15
14
load ("@bazel_skylib//:workspace.bzl" , "bazel_skylib_workspace" )
16
15
bazel_skylib_workspace ()
17
16
17
+ http_archive (
18
+ name = "rules_python" ,
19
+ sha256 = "8c8fe44ef0a9afc256d1e75ad5f448bb59b81aba149b8958f02f7b3a98f5d9b4" ,
20
+ strip_prefix = "rules_python-0.13.0" ,
21
+ url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.13.0.tar.gz" ,
22
+ )
23
+
24
+ load ("@rules_python//python:repositories.bzl" , "python_register_toolchains" )
25
+
26
+ python_register_toolchains (
27
+ name = "python3_10" ,
28
+ python_version = "3.10" ,
29
+ ignore_root_user_error = True ,
30
+ )
31
+
18
32
# Needed by protobuf
19
33
http_archive (
20
34
name = "six_archive" ,
31
45
32
46
http_archive (
33
47
name = "com_google_protobuf" ,
34
- sha256 = "f66073dee0bc159157b0bd7f502d7d1ee0bc76b3c1eac9836927511bdc4b3fc1 " ,
35
- strip_prefix = "protobuf-3.21.9 " ,
36
- urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.9 .zip" ],
48
+ sha256 = "f645e6e42745ce922ca5388b1883ca583bafe4366cc74cf35c3c9299005136e2 " ,
49
+ strip_prefix = "protobuf-5.28.3 " ,
50
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/v5.28.3 .zip" ],
37
51
)
38
52
39
53
# ZLIB. Need by com_google_protobuf.
0 commit comments