Skip to content

Commit aeaa2f3

Browse files
committed
Specify the version scope of tensorflow-text to avoid upgrading its dependencies to latest version.
Signed-off-by: Jay Zhang <[email protected]>
1 parent 0da3c78 commit aeaa2f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci_build/azure_pipelines/templates/setup.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ steps:
3939
fi
4040
if [[ $CI_TF_VERSION == 2.5* ]] ;
4141
then
42-
pip install tensorflow-text>=2.5
42+
pip install "tensorflow-text>=2.5,<2.6"
4343
fi
4444
if [[ $CI_TF_VERSION == 2.6* ]] ;
4545
then
46-
pip install tensorflow-text>=2.6
46+
pip install "tensorflow-text>=2.6,<2.7"
4747
fi
4848
if [[ $CI_TF_VERSION == 2.7* ]] ;
4949
then
50-
pip install tensorflow-text>=2.6
50+
pip install "tensorflow-text>=2.7,<2.8"
5151
fi
5252
fi
5353

0 commit comments

Comments
 (0)