aboutsummaryrefslogtreecommitdiff
path: root/ldcg-python-manylinux-tensorflow/ansible/roles/tensorflow/templates/upper-constraints.txt
blob: fdcc602a3ff7fdf55a7d5e5ec1fa080c2d9649fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Cython>=0.29
pip>=21

# those differ between releases/git
flatbuffers{{ flatbuffers_version }}
gast{{ gast_version }}
grpcio{{ grpcio_version }}
h5py{{ h5py_version }}
numpy{{ numpy_version }}
absl-py{{ absl_version }}
# Entries for non-git build
{{ (tensorflow_version != "git") | ternary('keras' + keras_version, '') }}
{{ (tensorflow_version != "git") | ternary('tensorboard' + tensorboard_version, '') }}
{{ (tensorflow_version != "git") | ternary('tensorflow-estimator' + tensorflow_estimator_version, '') }}

# entries needed for unit tests
scipy{{ scipy_version }}

# entries below are taken from TensorFlow 1.15.4/2.4.1 source code.

astor >= 0.6.0
astunparse ~= 1.6.3
google_pasta ~= 0.2
keras_applications >= 1.0.8
keras_preprocessing ~= 1.1.2
opt_einsum ~= 3.3.0
protobuf == 3.19.4
six ~= 1.15.0
termcolor ~= 1.1.0
typing_extensions ~= 3.7.4
wheel ~= 0.35
wrapt ~= 1.12.1

# Entries below for git build
{{ (tensorflow_version == "git") | ternary('tb-nightly ~= 2.12.0.a', '') }}
{{ (tensorflow_version == "git") | ternary('tf-estimator-nightly ~= 2.12.0.dev', '') }}
{{ (tensorflow_version == "git") | ternary('keras-nightly ~= 2.12.0.dev', '') }}