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() {
208
208
209
209
function reinstall_tensorflow_pip() {
210
210
echo " y" | pip uninstall tensorflow -q || true
211
- pip install ${1}
211
+ pip install ${1} --no-deps
212
212
}
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
29
29
CALL %REPO_ROOT% \tensorflow\tools\ci_build\windows\cpu\cmake\run_build.bat
30
30
if %errorlevel% neq 0 exit /b %errorlevel%
31
31
32
- :: Attempt to upgrade PIP to work around Anaconda issue #542.
33
- %PIP_EXE% install --ignore-installed --upgrade pip setuptools -v -v
34
-
35
32
:: Since there are no wildcards in windows command prompt, use dark magic to get the wheel file name.
36
33
DIR %REPO_ROOT% \%BUILD_DIR% \tf_python\dist\ /S /B > wheel_filename_file
37
34
set /p WHEEL_FILENAME = < wheel_filename_file
38
35
del wheel_filename_file
39
36
40
37
:: Install the pip package.
41
38
echo Installing PIP package...
42
- %PIP_EXE% install --upgrade %WHEEL_FILENAME% -v -v
39
+ %PIP_EXE% install --upgrade --no-deps %WHEEL_FILENAME% -v -v
43
40
if %errorlevel% neq 0 exit /b %errorlevel%
44
41
45
42
:: 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
28
28
CALL %REPO_ROOT% \tensorflow\tools\ci_build\windows\gpu\cmake\run_build.bat
29
29
if %errorlevel% neq 0 exit /b %errorlevel%
30
30
31
- :: Attempt to upgrade PIP to work around Anaconda issue #542.
32
- %PIP_EXE% install --ignore-installed --upgrade pip setuptools -v -v
33
-
34
31
:: Since there are no wildcards in windows command prompt, use dark magic to get the wheel file name.
35
32
DIR %REPO_ROOT% \%BUILD_DIR% \tf_python\dist\ /S /B > wheel_filename_file
36
33
set /p WHEEL_FILENAME = < wheel_filename_file
37
34
del wheel_filename_file
38
35
39
36
:: Install the pip package.
40
37
echo Installing PIP package...
41
- %PIP_EXE% install --upgrade %WHEEL_FILENAME% -v -v
38
+ %PIP_EXE% install --upgrade --no-deps %WHEEL_FILENAME% -v -v
42
39
if %errorlevel% neq 0 exit /b %errorlevel%
43
40
44
41
:: Run all python tests if the installation succeeded.
You can’t perform that action at this time.
0 commit comments