@@ -536,13 +536,8 @@ def get_portability_package_data():
536536 # necessary dependencies individually, or we should create targeted
537537 # extras. Keeping the bounds open as much as possible so that we
538538 # can find out early when Beam doesn't work with new versions.
539- 'ml_test' : [
539+ 'ml_test' : tft + [
540540 'datatable' ,
541- # tensorflow-transform requires dill, but doesn't set dill as a
542- # hard requirement in setup.py.
543- 'dill' ,
544- # match tft requirement.
545- 'tensorflow_transform>=1.14.0,<1.15.0' ,
546541 # To help with dependency resolution. Revise once
547542 # https://github.com/apache/beam/issues/37854 is fixed
548543 'protobuf<4; python_version<"3.11"' ,
@@ -611,10 +606,12 @@ def get_portability_package_data():
611606 ],
612607 'redis' : ['redis>=5.0.0,<6' ],
613608 'tft' : [
614- 'tensorflow_transform>=1.14.0,<1.15.0'
609+ 'tensorflow_transform>=1.14.0,<1.15.0' ,
610+ # TFT->TFX-BSL require pandas 1.x, which is not compatible
611+ # with numpy 2.x
612+ 'numpy<2' ,
615613 # tensorflow-transform requires dill, but doesn't set dill as a
616614 # hard requirement in setup.py.
617- ,
618615 'dill'
619616 ],
620617 'tfrecord' : ['crcmod>=1.7,<2.0' ],
0 commit comments