tensorflow / tfx-addons

Developers helping developers. TFX-Addons is a collection of community projects to build new components, examples, libraries, and tools for TFX. The projects are organized under the auspices of the special interest group, SIG TFX-Addons. Join the group at http://goo.gle/tfx-addons-group
Apache License 2.0
125 stars 64 forks source link

Allow TFX < 1.14.0 as a dependency #247

Open hanneshapke opened 1 year ago

hanneshapke commented 1 year ago

Expected Behavior

TFX Addons should allow TFX 1.13 and below as a dependency.

Actual Behavior

TFX Addons is currently limiting TFX dependencies to a max version of 1.10. https://github.com/tensorflow/tfx-addons/blob/main/tfx_addons/version.py#L36

Steps to Reproduce the Problem

  1. Install tensorflow==2.10.1
  2. Install tfx==1.11.0
  3. pip install tfx-addons[model_card_generator]==0.6.0 will downgrade the TFX and the TF version

pip install --no-dependencies tfx-addons[model_card_generator]==0.6.0 can be used if no 3rd dependencies are needed (doesn't work with the MCT component)

Comments

TensorFlow 2.12 and higher dropped the Python 3.7 support. Should we drop it too with the next major relesase?

ERROR: Could not find a version that satisfies the requirement tensorflow~=2.12.0; extra == "ci_max" (from tfx-addons[ci-max,mlmd-client,test]) (from versions: 1.13.1, 1.13.2, 1.14.0, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0)