alisha-1000 commented on issue #37854:
URL: https://github.com/apache/beam/issues/37854#issuecomment-6974684187

   It looks like the upstream blocker is resolved: **tensorflow-transform 
1.21.0** is out and depends on `tensorflow>=2.21.0,<2.22.0` and 
`protobuf>=6.0.0,<7.0.0` (Python 3.11+). TFX 1.21.0 was released alongside it 
with TF 2.21 / Protobuf 6.x support. Release notes: 
https://github.com/tensorflow/transform/releases
   
   The envoy-data-plane/betterproto part of this was also addressed by #39213 
(merged Jul 7), so I think the remaining work is:
   
   1. Bump the `tft` extra and the `ml_test` dependency in 
`sdks/python/setup.py` to `tensorflow-transform>=1.21.0`.
   2. Generate the Beam gRPC stubs with protobuf 6 and drop the protobuf 3 
compatibility workaround.
   3. Regenerate the container requirements and rerun the ML / XLang YAML 
precommits.
   
   Open question: TFT 1.21's protobuf 6 constraint is only listed for Python 
3.11+, so we should confirm how it behaves on 3.10. We may need a 
Python-version marker on the `tft` extra or have to drop 3.10 from it.
   
   I'm happy to pick this up if no one else is working on it.
   
   cc @tvalentyn


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to