tensorflow / tensorflow/transform

TFT doesn't support recent versions of protobuf.

Open
#347 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stat:contributions welcome type:bug
Dominant language
Python
Stars
989
Forks
225
PR merge metrics
No merged PRs in 30d

Description

TFT requires protobuf 5.x: https://github.com/tensorflow/transform/blob/339b0cba4ab6e511c47ba20d576d6f2f08d603ba/setup.py#L51

This conflicts with other GCP deps, for example recent version of grpcio-status requries protobuf 6.x. Furthermore, Protobuf 5.x reaches EOL in a couple of weeks: https://protobuf.dev/support/version-support/#python

This makes it complicated for projects to depend on TFT.

Could we ensure that TFT requirements are periodically updated to bump upper bounds for TFT dependencies? Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at setup.py around the protobuf requirement cited in the issue, then review how TFT dependencies are declared and tested. Check the current protobuf compatibility against the stated GCP dependency conflict; done means the requirements no longer unnecessarily block supported recent protobuf versions and the dependency update expectation is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.