tensorflow / text

Making text a first-class citizen in TensorFlow.
https://www.tensorflow.org/beta/tutorials/tensorflow_text/intro
Apache License 2.0
1.21k stars 333 forks source link

Build broken: `enable_stub_generation` not in TF release #1202

Closed joker-eph closed 10 months ago

joker-eph commented 10 months ago

a5d9c0c3 broke the build because the new enable_stub_generation parameter in the BUILD file depends on a very recent TensorFlow: https://github.com/tensorflow/tensorflow/commit/b942a91fa0ba3f11dd15a98788834f3df6b6fcb5

ERROR: Traceback (most recent call last):
        File "/opt/text/tensorflow_text/core/pybinds/BUILD", line 13, column 17, in <toplevel>
                pybind_extension(
        File "/root/.cache/bazel/_bazel_root/b4f968c26af22407e6171bb52049003f/external/org_tensorflow/tensorflow/tensorflow.bzl", line 2953, column 5, in pybind_extension_opensource
                def pybind_extension_opensource(
Error: pybind_extension_opensource() got unexpected keyword argument: enable_stub_generation