File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
tensorflow/tools/ci_build/windows Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -208,5 +208,5 @@ function create_python_test_dir() {
208208
209209function reinstall_tensorflow_pip() {
210210 echo " y" | pip uninstall tensorflow -q || true
211- pip install ${1}
211+ pip install ${1} --no-deps
212212}
Original file line number Diff line number Diff line change @@ -29,17 +29,14 @@ IF DEFINED PIP_EXE (ECHO PIP_EXE is set to %PIP_EXE%) ELSE (SET PIP_EXE="C:\Prog
2929CALL %REPO_ROOT% \tensorflow\tools\ci_build\windows\cpu\cmake\run_build.bat
3030if %errorlevel% neq 0 exit /b %errorlevel%
3131
32- :: Attempt to upgrade PIP to work around Anaconda issue #542.
33- %PIP_EXE% install --ignore-installed --upgrade pip setuptools -v -v
34-
3532:: Since there are no wildcards in windows command prompt, use dark magic to get the wheel file name.
3633DIR %REPO_ROOT% \%BUILD_DIR% \tf_python\dist\ /S /B > wheel_filename_file
3734set /p WHEEL_FILENAME = < wheel_filename_file
3835del wheel_filename_file
3936
4037:: Install the pip package.
4138echo Installing PIP package...
42- %PIP_EXE% install --upgrade %WHEEL_FILENAME% -v -v
39+ %PIP_EXE% install --upgrade --no-deps %WHEEL_FILENAME% -v -v
4340if %errorlevel% neq 0 exit /b %errorlevel%
4441
4542:: Run all python tests if the installation succeeded.
Original file line number Diff line number Diff line change @@ -28,17 +28,14 @@ IF DEFINED PIP_EXE (ECHO PIP_EXE is set to %PIP_EXE%) ELSE (SET PIP_EXE="C:\Prog
2828CALL %REPO_ROOT% \tensorflow\tools\ci_build\windows\gpu\cmake\run_build.bat
2929if %errorlevel% neq 0 exit /b %errorlevel%
3030
31- :: Attempt to upgrade PIP to work around Anaconda issue #542.
32- %PIP_EXE% install --ignore-installed --upgrade pip setuptools -v -v
33-
3431:: Since there are no wildcards in windows command prompt, use dark magic to get the wheel file name.
3532DIR %REPO_ROOT% \%BUILD_DIR% \tf_python\dist\ /S /B > wheel_filename_file
3633set /p WHEEL_FILENAME = < wheel_filename_file
3734del wheel_filename_file
3835
3936:: Install the pip package.
4037echo Installing PIP package...
41- %PIP_EXE% install --upgrade %WHEEL_FILENAME% -v -v
38+ %PIP_EXE% install --upgrade --no-deps %WHEEL_FILENAME% -v -v
4239if %errorlevel% neq 0 exit /b %errorlevel%
4340
4441:: Run all python tests if the installation succeeded.
You can’t perform that action at this time.
0 commit comments