-
Notifications
You must be signed in to change notification settings - Fork 75.2k
Closed
Labels
TF 2.11Issues related to TF 2.11Issues related to TF 2.11stat:awaiting tensorflowerStatus - Awaiting response from tensorflowerStatus - Awaiting response from tensorflowertype:build/installBuild and install issuesBuild and install issuestype:featureFeature requestsFeature requests
Description
Click to expand!
Issue Type
Build/Install
Have you reproduced the bug with TF nightly?
Yes
Source
binary
Tensorflow Version
2.11.0
Custom Code
No
OS Platform and Distribution
Fedora Linux 37 (Xfce)
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
When I try to use tensorflow with protobuf newer than version 3 I get this:
$ poetry add 'tensorflow==2.11.0' 'protobuf>=4'
Updating dependencies
Resolving dependencies... (0.2s)
Because tensorflow-issue depends on tensorflow (2.11.0) which depends on protobuf (>=3.9.2,<3.20), protobuf is required.
So, because tensorflow-issue depends on protobuf (>=4), version solving failed.
The reason for this is:
https://github.com/tensorflow/tensorflow/blame/d0dc98c5c8f5deea2447a3405af20f5fb245a561/tensorflow/tools/pip_package/setup.py#L100-L107
My expectation was that tensorflow supports more recent versions of protobuf.Standalone code to reproduce the issue
mkdir -vp /var/tmp/tensorflow-issue
poetry -C /var/tmp/tensorflow-issue init --no-interaction
poetry -C /var/tmp/tensorflow-issue add 'tensorflow==2.11.0' 'protobuf>=4'Relevant log output
No response
p-wysocki, alevalentz, dwyatte, DpoBoceka and kamioka-masaya
Metadata
Metadata
Assignees
Labels
TF 2.11Issues related to TF 2.11Issues related to TF 2.11stat:awaiting tensorflowerStatus - Awaiting response from tensorflowerStatus - Awaiting response from tensorflowertype:build/installBuild and install issuesBuild and install issuestype:featureFeature requestsFeature requests