From 6f3bab216d91a50960faf120f80b11c3e1c010ed Mon Sep 17 00:00:00 2001 From: Fergus Henderson Date: Wed, 1 Oct 2025 16:09:04 -0700 Subject: [PATCH] Update from flatbuffers 25.2.10 to 25.9.23. PiperOrigin-RevId: 813955553 --- .../numpy1_requirements/requirements.in | 2 +- .../numpy1_requirements/requirements_lock_3_10.txt | 6 +++--- .../numpy1_requirements/requirements_lock_3_11.txt | 6 +++--- .../numpy1_requirements/requirements_lock_3_12.txt | 6 +++--- .../numpy1_requirements/requirements_lock_3_9.txt | 6 +++--- ci/official/requirements_updater/requirements.in | 2 +- requirements_lock_3_10.txt | 6 +++--- requirements_lock_3_11.txt | 6 +++--- requirements_lock_3_12.txt | 6 +++--- requirements_lock_3_13.txt | 8 ++++---- requirements_lock_3_9.txt | 6 +++--- .../mlir/lite/schema/conversion_metadata_generated.h | 4 ++-- tensorflow/compiler/mlir/lite/schema/schema_generated.h | 4 ++-- .../acceleration/configuration/configuration_generated.h | 4 ++-- .../delegates/gpu/cl/compiled_program_cache_generated.h | 4 ++-- .../lite/delegates/gpu/cl/serialization_generated.h | 4 ++-- .../lite/delegates/gpu/common/gpu_model_generated.h | 4 ++-- .../gpu/common/task/tflite_serialization_base_generated.h | 4 ++-- .../acceleration/configuration/configuration_generated.h | 4 ++-- tensorflow/lite/tools/cmake/modules/flatbuffers.cmake | 2 +- tensorflow/tools/ci_build/release/requirements_common.txt | 2 +- tensorflow/tools/pip_package/setup.py.tpl | 2 +- .../tools/tf_sig_build_dockerfiles/devel.requirements.txt | 2 +- third_party/flatbuffers/workspace.bzl | 6 +++--- 24 files changed, 53 insertions(+), 53 deletions(-) diff --git a/ci/official/requirements_updater/numpy1_requirements/requirements.in b/ci/official/requirements_updater/numpy1_requirements/requirements.in index bad185ceac7..c6a88054433 100644 --- a/ci/official/requirements_updater/numpy1_requirements/requirements.in +++ b/ci/official/requirements_updater/numpy1_requirements/requirements.in @@ -38,4 +38,4 @@ zstandard==0.23.0 tensorflow-io-gcs-filesystem==0.37.1 ; python_version <= "3.12" libclang >= 13.0.0 google_pasta ~= 0.2 -flatbuffers ~= 24.3.25 +flatbuffers ~= 25.9.23 diff --git a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_10.txt b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_10.txt index 1e4f85c2ab7..1bef2b2f790 100644 --- a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_10.txt +++ b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_10.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_11.txt b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_11.txt index 19da7ab86c0..7bc734c2624 100644 --- a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_11.txt +++ b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_11.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_12.txt b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_12.txt index f0b93a1e52b..8d9d9dc47fc 100644 --- a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_12.txt +++ b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_12.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_9.txt b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_9.txt index 9a4144d10d9..41eb61f5557 100644 --- a/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_9.txt +++ b/ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_9.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/ci/official/requirements_updater/requirements.in b/ci/official/requirements_updater/requirements.in index ce5ecbd998c..2a1fb43664c 100644 --- a/ci/official/requirements_updater/requirements.in +++ b/ci/official/requirements_updater/requirements.in @@ -38,4 +38,4 @@ zstandard==0.23.0 tensorflow-io-gcs-filesystem==0.37.1 ; python_version <= "3.12" libclang >= 13.0.0 google_pasta ~= 0.2 -flatbuffers ~= 24.3.25 +flatbuffers ~= 25.9.23 diff --git a/requirements_lock_3_10.txt b/requirements_lock_3_10.txt index 34b2ea8a386..36a6e6b78b5 100644 --- a/requirements_lock_3_10.txt +++ b/requirements_lock_3_10.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/requirements_lock_3_11.txt b/requirements_lock_3_11.txt index e7b4bbae642..6238e70c957 100644 --- a/requirements_lock_3_11.txt +++ b/requirements_lock_3_11.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/requirements_lock_3_12.txt b/requirements_lock_3_12.txt index 6e821e61b1f..2d655921b2f 100644 --- a/requirements_lock_3_12.txt +++ b/requirements_lock_3_12.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/requirements_lock_3_13.txt b/requirements_lock_3_13.txt index 4974d7477a6..45461447246 100644 --- a/requirements_lock_3_13.txt +++ b/requirements_lock_3_13.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ @@ -921,4 +921,4 @@ setuptools==78.1.1 \ --hash=sha256:fcc17fd9cd898242f6b4adfaca46137a9edef687f43e6f78469692a5e70d851d # via # -r ci/official/requirements_updater/requirements.in - # tb-nightly \ No newline at end of file + # tb-nightly diff --git a/requirements_lock_3_9.txt b/requirements_lock_3_9.txt index 44318f02618..26e2d0ae191 100644 --- a/requirements_lock_3_9.txt +++ b/requirements_lock_3_9.txt @@ -124,9 +124,9 @@ dill==0.3.7 \ --hash=sha256:76b122c08ef4ce2eedcd4d1abd8e641114bfc6c2867f49f3c41facf65bf19f5e \ --hash=sha256:cc1c8b182eb3013e24bd475ff2e9295af86c1a38eb1aff128dac8962a9ce3c03 # via -r ci/official/requirements_updater/requirements.in -flatbuffers==24.3.25 \ - --hash=sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812 \ - --hash=sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4 +flatbuffers==25.9.23 \ + --hash=sha256:255538574d6cb6d0a79a17ec8bc0d30985913b87513a01cce8bcdb6b4c44d0e2 \ + --hash=sha256:676f9fa62750bb50cf531b42a0a2a118ad8f7f797a511eda12881c016f093b12 # via -r ci/official/requirements_updater/requirements.in gast==0.4.0 \ --hash=sha256:40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1 \ diff --git a/tensorflow/compiler/mlir/lite/schema/conversion_metadata_generated.h b/tensorflow/compiler/mlir/lite/schema/conversion_metadata_generated.h index 950439bfc14..f78ce6a2290 100755 --- a/tensorflow/compiler/mlir/lite/schema/conversion_metadata_generated.h +++ b/tensorflow/compiler/mlir/lite/schema/conversion_metadata_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace tflite { diff --git a/tensorflow/compiler/mlir/lite/schema/schema_generated.h b/tensorflow/compiler/mlir/lite/schema/schema_generated.h index a8275936736..43d51c40f01 100755 --- a/tensorflow/compiler/mlir/lite/schema/schema_generated.h +++ b/tensorflow/compiler/mlir/lite/schema/schema_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace tflite { diff --git a/tensorflow/lite/acceleration/configuration/configuration_generated.h b/tensorflow/lite/acceleration/configuration/configuration_generated.h index 1f607290338..645d1e11f82 100644 --- a/tensorflow/lite/acceleration/configuration/configuration_generated.h +++ b/tensorflow/lite/acceleration/configuration/configuration_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace tflite { diff --git a/tensorflow/lite/delegates/gpu/cl/compiled_program_cache_generated.h b/tensorflow/lite/delegates/gpu/cl/compiled_program_cache_generated.h index 676670f1e8b..2151d996472 100755 --- a/tensorflow/lite/delegates/gpu/cl/compiled_program_cache_generated.h +++ b/tensorflow/lite/delegates/gpu/cl/compiled_program_cache_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace tflite { diff --git a/tensorflow/lite/delegates/gpu/cl/serialization_generated.h b/tensorflow/lite/delegates/gpu/cl/serialization_generated.h index fa9356613df..07ebfdfdaa0 100755 --- a/tensorflow/lite/delegates/gpu/cl/serialization_generated.h +++ b/tensorflow/lite/delegates/gpu/cl/serialization_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); #include "gpu_model_generated.h" diff --git a/tensorflow/lite/delegates/gpu/common/gpu_model_generated.h b/tensorflow/lite/delegates/gpu/common/gpu_model_generated.h index 4ad3e771298..6602b2d761d 100755 --- a/tensorflow/lite/delegates/gpu/common/gpu_model_generated.h +++ b/tensorflow/lite/delegates/gpu/common/gpu_model_generated.h @@ -22,8 +22,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); #include "tflite_serialization_base_generated.h" diff --git a/tensorflow/lite/delegates/gpu/common/task/tflite_serialization_base_generated.h b/tensorflow/lite/delegates/gpu/common/task/tflite_serialization_base_generated.h index 3e50db9e38f..d3d49ade48d 100755 --- a/tensorflow/lite/delegates/gpu/common/task/tflite_serialization_base_generated.h +++ b/tensorflow/lite/delegates/gpu/common/task/tflite_serialization_base_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace tflite { diff --git a/tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h b/tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h index ab2f789d409..5878ed261de 100644 --- a/tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h +++ b/tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h @@ -23,8 +23,8 @@ limitations under the License. // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 2 && - FLATBUFFERS_VERSION_REVISION == 10, + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace tflite { diff --git a/tensorflow/lite/tools/cmake/modules/flatbuffers.cmake b/tensorflow/lite/tools/cmake/modules/flatbuffers.cmake index c2ae769c941..014503dd989 100644 --- a/tensorflow/lite/tools/cmake/modules/flatbuffers.cmake +++ b/tensorflow/lite/tools/cmake/modules/flatbuffers.cmake @@ -23,7 +23,7 @@ OverridableFetchContent_Declare( flatbuffers GIT_REPOSITORY https://github.com/google/flatbuffers # Keep in sync with tensorflow/third_party/flatbuffers/workspace.bzl - GIT_TAG v25.2.10 + GIT_TAG v25.9.23 # NOTE: b/340264458 - `GIT_SHALLOW TRUE` works for tag name only. GIT_SHALLOW FALSE GIT_PROGRESS TRUE diff --git a/tensorflow/tools/ci_build/release/requirements_common.txt b/tensorflow/tools/ci_build/release/requirements_common.txt index 9e31bd33ac4..1a6bd10f8fe 100644 --- a/tensorflow/tools/ci_build/release/requirements_common.txt +++ b/tensorflow/tools/ci_build/release/requirements_common.txt @@ -3,7 +3,7 @@ # This will change in the future. absl-py ~= 1.0.0 astunparse ~= 1.6.3 -flatbuffers ~= 25.2.10 +flatbuffers ~= 25.9.23 google_pasta ~= 0.2 h5py ~= 3.10.0 # Earliest version for Python 3.12 ml_dtypes ~= 0.5.1 diff --git a/tensorflow/tools/pip_package/setup.py.tpl b/tensorflow/tools/pip_package/setup.py.tpl index 3ee66059181..94cb080c4f9 100644 --- a/tensorflow/tools/pip_package/setup.py.tpl +++ b/tensorflow/tools/pip_package/setup.py.tpl @@ -97,7 +97,7 @@ def standard_or_nightly(standard, nightly): REQUIRED_PACKAGES = [ 'absl-py >= 1.0.0', 'astunparse >= 1.6.0', - 'flatbuffers >= 25.2.10', + 'flatbuffers >= 25.9.23', 'gast >=0.2.1,!=0.5.0,!=0.5.1,!=0.5.2', 'google_pasta >= 0.1.1', 'libclang >= 13.0.0', diff --git a/tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt b/tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt index deb23bf29bb..296ff198cc3 100644 --- a/tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt +++ b/tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt @@ -6,7 +6,7 @@ # This will change in the future. absl-py ~= 1.0.0 astunparse ~= 1.6.3 -flatbuffers ~= 25.2.10 +flatbuffers ~= 25.9.23 google_pasta ~= 0.2 h5py ~= 3.11.0 # Earliest version for NumPy 2.0 ml_dtypes ~= 0.5.1 # Earliest version with mxfloat types diff --git a/third_party/flatbuffers/workspace.bzl b/third_party/flatbuffers/workspace.bzl index 16c70e587af..aa0ba40e8ae 100644 --- a/third_party/flatbuffers/workspace.bzl +++ b/third_party/flatbuffers/workspace.bzl @@ -2,10 +2,10 @@ load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls") -_FLATBUFFERS_VERSION = "25.2.10" +_FLATBUFFERS_VERSION = "25.9.23" -# curl -L https://github.com/google/flatbuffers/archive/<_FLATBUFFERS_VERSION>.tar.gz | shasum -a 256 -_FLATBUFFERS_SHA256 = "b9c2df49707c57a48fc0923d52b8c73beb72d675f9d44b2211e4569be40a7421" +# curl -L https://github.com/google/flatbuffers/archive/v<_FLATBUFFERS_VERSION>.tar.gz | shasum -a 256 +_FLATBUFFERS_SHA256 = "9102253214dea6ae10c2ac966ea1ed2155d22202390b532d1dea64935c518ada" def repo(): tf_http_archive(