Skip to content

TFX 3.12.4 porting, Model analysis py312 1.17 e#521

Open
pritamdodeja wants to merge 3 commits intotensorflow:masterfrom
pritamdodeja:model-analysis-py312-1.17-e
Open

TFX 3.12.4 porting, Model analysis py312 1.17 e#521
pritamdodeja wants to merge 3 commits intotensorflow:masterfrom
pritamdodeja:model-analysis-py312-1.17-e

Conversation

@pritamdodeja
Copy link

As part of getting TFX to run on 3.12.4, I had to relax some of the constraints that currently exist. Looking forward to feedback/discussion on the best way to do this to get TFX to work on 3.12.4 and beyond.

vkarampudi and others added 3 commits June 17, 2025 14:05
PiperOrigin-RevId: 774807442
This commit updates the package dependencies in setup.py to allow
TensorFlow Model Analysis (TFMA) to be installed in modern Python 3.12
environments alongside locally compiled TFX components.

Specific changes include:
* Unpin PyArrow: Removed the `<11` upper bound on `pyarrow` to allow
  modern versions (e.g., 14+) to resolve, avoiding legacy Arrow 10
  build failures during wheel installation.
* Broaden TensorFlow: Relaxed the `tensorflow` requirement to
  `>=2.16,<2.18` for broader compatibility.
* Adjust Component Bounds: Lowered the minimum required versions for
  `tensorflow-metadata` and `tfx-bsl` from `1.17.1` to `1.17.0` so
  pip can cleanly resolve the custom-built local wheels from
  previous steps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants