Skip to content

build: relax dependency constraints for Python 3.12 compatibility#346

Open
pritamdodeja wants to merge 1 commit intotensorflow:masterfrom
pritamdodeja:transform-py312-1.17-e
Open

build: relax dependency constraints for Python 3.12 compatibility#346
pritamdodeja wants to merge 1 commit intotensorflow:masterfrom
pritamdodeja:transform-py312-1.17-e

Conversation

@pritamdodeja
Copy link

This commit updates the package dependencies in setup.py to allow TensorFlow Transform 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.

This commit updates the package dependencies in setup.py to allow
TensorFlow Transform 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.

1 participant