Skip to content

Commit 5058e32

Browse files
cantoniostf-text-github-robot
authored andcommitted
Update requirements with latest tensorflow-metadata.
PiperOrigin-RevId: 856729008
1 parent 7215af0 commit 5058e32

7 files changed

Lines changed: 2867 additions & 217 deletions

oss_scripts/configure.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,10 @@ if [ -z "$HERMETIC_PYTHON_VERSION" ]; then
7272
fi
7373
export HERMETIC_PYTHON_VERSION
7474

75-
# NIGHTLY broken, don't try to upgrade deps.
76-
# Only auto-upgrade requirements for nightly and if >= 3.11.
77-
# HERMETIC_PYTHON_VERSION_MINOR="${HERMETIC_PYTHON_VERSION#*.}"
78-
# if [[ "$IS_NIGHTLY" == "nightly" ]] && [[ 11 -le $HERMETIC_PYTHON_VERSION_MINOR ]]; then
79-
# REQUIREMENTS_EXTRA_FLAGS="--upgrade"
80-
# if [[ "$TF_VERSION" == *"rc"* ]]; then
81-
# REQUIREMENTS_EXTRA_FLAGS="$REQUIREMENTS_EXTRA_FLAGS --pre"
82-
# fi
83-
# bazel run //oss_scripts/pip_package:requirements.update -- $REQUIREMENTS_EXTRA_FLAGS
84-
# fi
75+
# Only auto-upgrade requirements for nightly.
76+
if [[ "$IS_NIGHTLY" == "nightly" ]]; then
77+
bazel run //oss_scripts/pip_package:requirements.update -- --upgrade
78+
fi
8579

8680
TF_ABIFLAG=$(bazel run //oss_scripts/pip_package:tensorflow_build_info -- abi)
8781
SHARED_LIBRARY_NAME="libtensorflow_framework.so.2"

oss_scripts/pip_package/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Limit libraries based on compatibility.
22
absl-py>=1.0 # Python 3.10 issues.
33
numpy==2.0.2; python_version=="3.9"
4-
numpy==2.1.3; python_version<="3.10"
4+
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.

oss_scripts/pip_package/requirements_lock_3_10.txt

Lines changed: 962 additions & 66 deletions
Large diffs are not rendered by default.

oss_scripts/pip_package/requirements_lock_3_11.txt

Lines changed: 984 additions & 59 deletions
Large diffs are not rendered by default.

oss_scripts/pip_package/requirements_lock_3_12.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ tensorflow-datasets==4.9.9 \
935935
--hash=sha256:9cb245cad97e7d227f0b8e006491cfef860ff8d4b9d84a3c68f8b96d6295355e \
936936
--hash=sha256:b94902d414cdc12a1014cda9ee5815c502c3d44215b780e06dacbd7949abd14e
937937
# via -r @release_or_nightly/requirements.in
938-
tensorflow-metadata==1.17.2 \
939-
--hash=sha256:7da3f8501d6ccfcdbe1a56e975c3624150ce6829048ab9efe62409c362d509b4
938+
tensorflow-metadata==1.17.3 \
939+
--hash=sha256:452912e6398b3cb7302f0de6139dea794b3be1bd0eb40e6765eb3a04e51ea991
940940
# via
941941
# -r @release_or_nightly/requirements.in
942942
# tensorflow-datasets
@@ -949,7 +949,7 @@ termcolor==3.2.0 \
949949
tf-keras==2.20.1 \
950950
--hash=sha256:3f0e0a34d9a4c8758f24fdc1053e6e335f16ab5534c7d34f1899b8924779760c \
951951
--hash=sha256:884be5938fb0b2b53b1583c1ae2b660ef87215377c29b5b6a77fd221b472aeaf
952-
# via -r /usr/local/google/home/cantonios/.cache/bazel/_bazel_cantonios/49384a00218e7525ae8ea3b1e3042e4a/external/release_or_nightly/requirements.in
952+
# via -r @release_or_nightly/requirements.in
953953
toml==0.10.2 \
954954
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
955955
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f

oss_scripts/pip_package/requirements_lock_3_13.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ tensorflow-datasets==4.9.9 \
935935
--hash=sha256:9cb245cad97e7d227f0b8e006491cfef860ff8d4b9d84a3c68f8b96d6295355e \
936936
--hash=sha256:b94902d414cdc12a1014cda9ee5815c502c3d44215b780e06dacbd7949abd14e
937937
# via -r @release_or_nightly/requirements.in
938-
tensorflow-metadata==1.17.2 \
939-
--hash=sha256:7da3f8501d6ccfcdbe1a56e975c3624150ce6829048ab9efe62409c362d509b4
938+
tensorflow-metadata==1.17.3 \
939+
--hash=sha256:452912e6398b3cb7302f0de6139dea794b3be1bd0eb40e6765eb3a04e51ea991
940940
# via
941941
# -r @release_or_nightly/requirements.in
942942
# tensorflow-datasets
@@ -949,7 +949,7 @@ termcolor==3.2.0 \
949949
tf-keras==2.20.1 \
950950
--hash=sha256:3f0e0a34d9a4c8758f24fdc1053e6e335f16ab5534c7d34f1899b8924779760c \
951951
--hash=sha256:884be5938fb0b2b53b1583c1ae2b660ef87215377c29b5b6a77fd221b472aeaf
952-
# via -r /usr/local/google/home/cantonios/.cache/bazel/_bazel_cantonios/49384a00218e7525ae8ea3b1e3042e4a/external/release_or_nightly/requirements.in
952+
# via -r @release_or_nightly/requirements.in
953953
toml==0.10.2 \
954954
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
955955
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f

0 commit comments

Comments
 (0)