Skip to content

Commit fd14df0

Browse files
cavenesstfx-copybara
authored andcommitted
Add avro dependency that avoids installation of bad version.
PiperOrigin-RevId: 296127814
1 parent 8cb3ca8 commit fd14df0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ def has_ext_modules(self):
8282
# Make sure to sync the versions of common dependencies (absl-py, numpy,
8383
# six, and protobuf) with TF.
8484
install_requires=[
85+
# TODO(b/149841057): This is a workaround for broken avro-python3
86+
# release. Remove once avro has a healthy release.
87+
'avro-python3>=1.8.1,!=1.9.2.*,!=<2.0.0; python_version>="3.0"',
8588
'absl-py>=0.7,<0.9',
8689
'apache-beam[gcp]>=2.17,<3',
8790
'numpy>=1.16,<2',

0 commit comments

Comments
 (0)