Update rules_python to 0.26.0
- 0.26.0 adds support for Python 3.12
Change-Id: Ia27a8a58edb60d4569d1070b1d8567405a35b474
diff --git a/WORKSPACE b/WORKSPACE
index 17f3641..859b67b 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -21,6 +21,8 @@
kelvin_register_toolchain()
tflm_repos()
+load("@rules_python//python:repositories.bzl", "py_repositories")
+py_repositories()
load("@tflite-micro//tensorflow:workspace.bzl", "tf_repositories")
tf_repositories()
diff --git a/build_tools/bazel/repos.bzl b/build_tools/bazel/repos.bzl
index adad000..7b03eb0 100644
--- a/build_tools/bazel/repos.bzl
+++ b/build_tools/bazel/repos.bzl
@@ -64,9 +64,9 @@
maybe(
http_archive,
name = "rules_python",
- sha256 = "497ca47374f48c8b067d786b512ac10a276211810f4a580178ee9b9ad139323a",
- strip_prefix = "rules_python-0.16.1",
- url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.16.1.tar.gz",
+ sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
+ strip_prefix = "rules_python-0.26.0",
+ url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.26.0.tar.gz",
)
maybe(