Description
I wanted to use this in an environment where the pyext for proto_api wasn't build/installed and as enable_pyproto_api_setting
is disabled by default I assumed this would work.
However the build failed already due to an unconditional dependency on @com_google_protobuf//:proto_api
and include of python/google/protobuf/proto_api.h
I made a couple changes such that it builds with the version TF 2.13.0 uses: Flamefire@f49bc41
However on current main it seems to be much harder as now check_unknown_fields
depends on that too which makes it look like it may not work that easily anymore.
Is there interest in getting this fixed/done? Any feedback on the feasibility of the above change/commit?
The usecase was to compile TensorFlow with a pre-installed protobuf to avoid conflicts when using potentially different versions in one environment.