Skip to content

Commit fad6751

Browse files
committed
Simplify protobuf dependency in setup.py to a single line
1 parent 3337585 commit fad6751

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def select_constraint(default, nightly=None, git_master=None):
7979
# TODO(b/263060885): Remove the explicit numpy dependency once TF works
8080
# with numpy>=1.24.
8181
'numpy>=1.22',
82-
'protobuf>=4.25.2,<7.0.0;python_version>="3.11"',
83-
'protobuf>=4.21.6,<7.0.0;python_version<"3.11"',
82+
'protobuf>=4.25.2,<7.0.0',
83+
8484
'tensorflow>=2.21,<2.22',
8585
'tensorflow-metadata'
8686
+ select_constraint(

0 commit comments

Comments
 (0)