Skip to content

Commit 74c2b6e

Browse files
cantoniostf-text-github-robot
authored andcommitted
Update TensorFlow Text WORKSPACE for latest Xcode.
Adds build_bazel_apple_support for newer macOS builds and updates the SHA256 for the org_tensorflow archive. ``` bazel run --repo_env=HERMETIC_PYTHON_VERSION=3.9 \ --macos_sdk_version=26.2 oss_scripts/pip_package:build_pip_package -- $PWD ``` PiperOrigin-RevId: 860518241
1 parent 706b3ca commit 74c2b6e

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

WORKSPACE

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ workspace(name = "org_tensorflow_text")
33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44
load("//third_party/bazel:http.bzl", "custom_http_archive")
55

6+
# githu.com/tensorflow#104948 - Support latest Xcode.
7+
http_archive(
8+
name = "build_bazel_apple_support",
9+
sha256 = "1ae6fcf983cff3edab717636f91ad0efff2e5ba75607fdddddfd6ad0dbdfaf10",
10+
urls = ["https://github.com/bazelbuild/apple_support/releases/download/1.24.5/apple_support.1.24.5.tar.gz"],
11+
)
12+
613
custom_http_archive(
714
name = "icu",
815
exclude = [
@@ -63,7 +70,7 @@ http_archive(
6370
name = "org_tensorflow",
6471
patch_args = ["-p1"],
6572
patches = ["//third_party/tensorflow:tensorflow.core.BUILD.patch"],
66-
sha256 = "1a25308b15036bf8006ada5c9955ddc9a217792e6fc24deee04626ec07013f2c",
73+
sha256 = "213edf03ac7c4e74d8eb2074216ae8c8ae4f325c6bc22efd16cfdeed2073bd66",
6774
strip_prefix = "tensorflow-2.20.0",
6875
urls = [
6976
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.20.0.zip",

oss_scripts/pip_package/requirements.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ numpy==2.1.3; python_version=="3.10"
55
h5py==3.13.0;
66
urllib3==2.5.0
77
setuptools>=70.1 # bdist_wheel support.
8-
array-record>=0.8.1
8+
array-record==0.4.1; python_version == "3.9"
9+
array-record>=0.8.1; python_version >= "3.10"
910

1011
tensorflow
1112
numpy

oss_scripts/pip_package/requirements_lock_3_9.txt

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,12 @@ absl-py==2.3.1 \
1616
# tensorflow
1717
# tensorflow-datasets
1818
# tensorflow-metadata
19-
array-record==0.5.1 ; sys_platform == 'linux' \
20-
--hash=sha256:0ee01775a1c6155103a8cfd8b65ab7609f96b1213332474430013191314e78d8 \
21-
--hash=sha256:248fb29086cb3a6322a5d8b8332d77713a030bc54f0bacdf215a6d3185f73f90 \
22-
--hash=sha256:3dbfac79589b53ad765d247b4b6b6c108623053950a8ae36d8a5f2bfec396bd1 \
23-
--hash=sha256:4a4de494dc1c0ec175187da2a252b18581965f605443c23f7385c5189642f9bf \
24-
--hash=sha256:6ebe99f37e3a797322f4f5cfc6902b5e852012ba2729fac628aad6affb225247 \
25-
--hash=sha256:897362036f2920093eff3d729c2a6e1844e3077f513d6bd29640cd02f98e07c7 \
26-
--hash=sha256:8ebd7c12c0a159a44c6c8fdaf915036fcddfdfa499a878ddcff9761c6d1af685 \
27-
--hash=sha256:927f5f0bdbb141e75d370ade9ce784514babcb78f86d23badbab2d7fd6b7cd48 \
28-
--hash=sha256:9922862216a9d3be76fdc27968af1ec0ea20f986329998ba45b0f01ee3e646fa \
29-
--hash=sha256:a0911cca3f71aa6724ae08c351e486acc2dcdc098df0e4ae9aa920f16aee2385 \
30-
--hash=sha256:b9f2e304e59a17af9f5bf2a86b93ad4700d0eeb85d742a884aa38dc0b54dda5b \
31-
--hash=sha256:c4e6e5cef45a82641f4bb008c2a1409cd043f46dd3f0e5a2e7f232416435186d \
32-
--hash=sha256:e39b2001fbed6f6d621a5f2079609037167ee06bf977fd6c37d225043c39a015 \
33-
--hash=sha256:e6b297b9241d10f072f00a85e97c8743c9e623be20e413ab3403b9326ed98890 \
34-
--hash=sha256:ea3969b9f954f6f01ddac64f59eea45392dc4eb8c1bf3d1ca5c9bcfd7f8d46e7 \
35-
--hash=sha256:f08eea9a4afbfa05fb7fafaa007b89e286a8a27a7775cb80338199576ffe07b4
36-
# via tensorflow-datasets
37-
array-record==0.4.1 ; sys_platform == 'darwin'
19+
array-record==0.4.1 ; python_version == "3.9" \
20+
--hash=sha256:6a0c8ed6fdfaaf2cecd3d5c6b9c13e116ad3299649611c8fd184d64557fbaba8 \
21+
--hash=sha256:a74e9c0075860777b79e4b3ac278f67add270acf78520d3b9cf8c325aef42951
22+
# via
23+
# -r @release_or_nightly/requirements.in
24+
# tensorflow-datasets
3825
astunparse==1.6.3 \
3926
--hash=sha256:5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872 \
4027
--hash=sha256:c2652417f2c8b5bb325c885ae329bdf3f86424075c4fd1a128674bc6fba4b8e8

0 commit comments

Comments
 (0)