Upper bound numpy dependency to 1.19.0.

Since `numpy==1.19.0` contains at least one breaking ABI change (numpy/numpy#15355), we need to either upper bound the dependency's range or fix our code to support both ABIs. Since the second requires more changes, we prefer the first one for now.

PiperOrigin-RevId: 317699730
Change-Id: Ia62a779f9ec42d63d3fac1b69cd75e6084358d2f
This commit is contained in:
Mihai Maruseac 2020-06-22 11:37:07 -07:00 committed by TensorFlower Gardener
parent 8785b4f5b8
commit 79518facb4

View File

@ -58,7 +58,9 @@ REQUIRED_PACKAGES = [
'google_pasta >= 0.1.8', 'google_pasta >= 0.1.8',
'h5py >= 2.10.0, < 2.11.0', 'h5py >= 2.10.0, < 2.11.0',
'keras_preprocessing >= 1.1.1, < 1.2', 'keras_preprocessing >= 1.1.1, < 1.2',
'numpy >= 1.16.0, < 2.0', # TODO(mihaimaruseac): numpy 1.19.0 has ABI breakage
# https://github.com/numpy/numpy/pull/15355
'numpy >= 1.16.0, < 1.19.0',
'opt_einsum >= 2.3.2', 'opt_einsum >= 2.3.2',
'protobuf >= 3.9.2', 'protobuf >= 3.9.2',
'tensorboard >= 2.2.0, < 2.3.0', 'tensorboard >= 2.2.0, < 2.3.0',