Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/static_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def get_default_env(
conda_env["dependencies"].append("cpuonly")

if tensorflow_version is not None:
# tensorflow 1.15 is not available on conda, so we need to inject this as a pip dependency
if (tensorflow_version.major, tensorflow_version.minor) == (1, 15):
# tensorflow 1 is not available on conda, so we need to inject this as a pip dependency
if tensorflow_version.major == 1:
assert opset_version is None
assert pytorch_version is None
conda_env["dependencies"] = ["pip", "python >=3.7,<3.8"] # tf 1.15 not available for py>=3.8
Expand Down