Skip to content

Commit 38aeac5

Browse files
committed
mininum tf1.13
1 parent 77460a4 commit 38aeac5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/static_validation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def get_default_env(
8383
if tensorflow_version is not None:
8484
# tensorflow 1 is not available on conda, so we need to inject this as a pip dependency
8585
if tensorflow_version.major == 1:
86+
tensorflow_version = max(tensorflow_version, Version("1.13")) # tf <1.13 not available anymore
8687
assert opset_version is None
8788
assert pytorch_version is None
8889
conda_env["dependencies"] = ["pip", "python >=3.7,<3.8"] # tf 1.15 not available for py>=3.8

0 commit comments

Comments
 (0)