Skip to content

Commit 1bd13eb

Browse files
ecalubaquibGoogle-ML-Automation
authored andcommitted
Update rules_python to latest 1.8.3 for tensorflow and xla. Doing so would enable us to use latest feature which includes a venv layout. This latest version also introduce stricter hermeticity which was first introduce in 1.7.0 as seen in logs:
https://rules-python.readthedocs.io/en/latest/changelog.html#v1-7.0 (see sys.path order change and bootstraping) 1. Replace native bazel py_binary/py_library rules with rules_python's py_binary and py_library to selected BUILD files affected with updated to avoid %interpreter% error 2. Export PYTHONPATH build_pip_package.py 3. Add new commit sha and version for rules_python 1.8.3 4. Rules_python 1.8.3 added "scope" params to bool_flag and string_flag which is incompatible with bazel 7.7.0 used by TF, for now we can patch it PiperOrigin-RevId: 866552189
1 parent 38657b5 commit 1bd13eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ module(name = "jax")
66

77
bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl")
88
bazel_dep(name = "bazel_features", version = "1.36.0")
9-
bazel_dep(name = "bazel_skylib", version = "1.8.1")
9+
bazel_dep(name = "bazel_skylib", version = "1.8.2")
1010
bazel_dep(name = "flatbuffers", version = "25.2.10", repo_name = "com_github_google_flatbuffers")
1111
bazel_dep(name = "platforms", version = "1.0.0")
1212
bazel_dep(name = "pybind11_bazel", version = "2.13.6")
1313
bazel_dep(name = "rules_cc", version = "0.2.8")
14-
bazel_dep(name = "rules_python", version = "1.6.1")
14+
bazel_dep(name = "rules_python", version = "1.8.3")
1515

1616
# TODO: use a released version when available
1717
bazel_dep(name = "rules_ml_toolchain")

0 commit comments

Comments
 (0)