Skip to content

Commit f642f95

Browse files
cantoniostf-text-github-robot
authored andcommitted
Fix nightly builds.
- Update pybind11 workspace to reflect XLA refactoring. - Add new rules_shell dependency. - Remove python 3.9 build (will not be supported in future) PiperOrigin-RevId: 771206430
1 parent 32dc812 commit f642f95

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

WORKSPACE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ http_archive(
8383
build_file = "//third_party/pybind11:BUILD.bzl",
8484
)
8585

86+
http_archive(
87+
name = "rules_shell",
88+
sha256 = "bc61ef94facc78e20a645726f64756e5e285a045037c7a61f65af2941f4c25e1",
89+
strip_prefix = "rules_shell-0.4.1",
90+
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.4.1/rules_shell-v0.4.1.tar.gz",
91+
)
92+
8693
# Initialize hermetic Python
8794
load("@org_tensorflow//third_party/py:python_init_rules.bzl", "python_init_rules")
8895

oss_scripts/docker_builds.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e -x
88

99
# If a specific PYTHON_VERSION is specified, only build that one.
1010
# Otherwisebuild all supported versions.
11-
python_versions=("3.9" "3.10" "3.11" "3.12")
11+
python_versions=("3.10" "3.11" "3.12")
1212
if [[ ! -z ${PYTHON_VERSION+x} ]]; then
1313
python_versions=("$PYTHON_VERSION")
1414
fi

third_party/pybind11/BUILD.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ cc_library(
2424
includes = ["include"],
2525
strip_include_prefix = "include",
2626
deps = [
27-
"@org_tensorflow//third_party/python_runtime:headers",
27+
"@local_xla//third_party/python_runtime:headers",
2828
],
2929
)

0 commit comments

Comments
 (0)