Skip to content

Commit

Permalink
Revert PR tensorflow#45380: Try to switch to h5py 3.1.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 346215317
Change-Id: Id990b67a0e3c446555b590c0711159bd3ab88465
  • Loading branch information
mihaimaruseac authored and tensorflower-gardener committed Dec 8, 2020
1 parent bb59188 commit d36db29
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pip3 install --upgrade termcolor
pip2 install keras_preprocessing==1.0.5 --no-deps
pip3 install keras_preprocessing==1.0.5 --no-deps
pip2 install --upgrade h5py==2.8.0
pip3 install --upgrade h5py==3.1.0
pip3 install --upgrade h5py==2.8.0

# Estimator
pip2 install tf-estimator-nightly --no-deps
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/install/install_pip_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pip3 install --upgrade termcolor
pip2 install keras_preprocessing==1.1.0 --no-deps
pip3 install keras_preprocessing==1.1.0 --no-deps
pip2 install --upgrade h5py==2.8.0
pip3 install --upgrade h5py==3.1.0
pip3 install --upgrade h5py==2.8.0

# Estimator
pip2 install tf-estimator-nightly --no-deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pip3.5 install --upgrade termcolor

# Keras
pip3.5 install keras_preprocessing==1.0.5
pip3.5 install --upgrade h5py==3.1.0
pip3.5 install --upgrade h5py==2.8.0

# Estimator
pip3.5 install tf-estimator-nightly==1.12.0.dev20181203 --no-deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pip3 install --upgrade astor
pip3 install --upgrade gast
pip3 install --upgrade termcolor

pip3 install --upgrade h5py==3.1.0
pip3 install --upgrade h5py==2.8.0

# Keras
pip3 install keras_preprocessing==1.0.5
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/tools/ci_build/release/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function install_ubuntu_16_pip_deps {
"${PIP_CMD}" install --user 'astunparse ~= 1.6.3'
"${PIP_CMD}" install --user 'flatbuffers ~= 1.12.0'
"${PIP_CMD}" install --user 'google_pasta ~= 0.2'
"${PIP_CMD}" install --user 'h5py ~= 3.1.0'
"${PIP_CMD}" install --user 'h5py ~= 2.10.0'
"${PIP_CMD}" install --user 'keras_preprocessing ~= 1.1.2'
"${PIP_CMD}" install --user 'numpy ~= 1.19.2'
"${PIP_CMD}" install --user 'opt_einsum ~= 3.3.0'
Expand Down Expand Up @@ -188,7 +188,7 @@ function install_macos_pip_deps {
${PIP_CMD} install $USER_FLAG 'astunparse ~= 1.6.3'
${PIP_CMD} install $USER_FLAG 'flatbuffers ~= 1.12.0'
${PIP_CMD} install $USER_FLAG 'google_pasta ~= 0.2'
${PIP_CMD} install $USER_FLAG 'h5py ~= 3.1.0'
${PIP_CMD} install $USER_FLAG 'h5py ~= 2.10.0'
${PIP_CMD} install $USER_FLAG 'keras_preprocessing ~= 1.1.2'
${PIP_CMD} install $USER_FLAG 'numpy ~= 1.19.2'
${PIP_CMD} install $USER_FLAG 'opt_einsum ~= 3.3.0'
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/tools/ci_build/release/common_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ echo on
@REM Set Environment Variables
@REM
IF NOT DEFINED PYTHON_DIRECTORY (
SET PYTHON_DIRECTORY=Python37
SET PYTHON_DIRECTORY=Python36
)
SET PY_EXE=C:\%PYTHON_DIRECTORY%\python.exe
SET PATH=%PATH%;C:\%PYTHON_DIRECTORY%
Expand All @@ -32,7 +32,7 @@ SET PATH=%PATH%;C:\%PYTHON_DIRECTORY%
%PY_EXE% -m pip install "astunparse ~= 1.6.3"
%PY_EXE% -m pip install "flatbuffers ~= 1.12.0"
%PY_EXE% -m pip install "google_pasta ~= 0.2"
%PY_EXE% -m pip install "h5py ~= 3.1.0"
%PY_EXE% -m pip install "h5py ~= 2.10.0"
%PY_EXE% -m pip install "keras_preprocessing ~= 1.1.2"
%PY_EXE% -m pip install "numpy ~= 1.19.2"
%PY_EXE% -m pip install "opt_einsum ~= 3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
'astunparse ~= 1.6.3',
'flatbuffers ~= 1.12.0',
'google_pasta ~= 0.2',
'h5py ~= 3.1.0',
'h5py ~= 2.10.0',
'keras_preprocessing ~= 1.1.2',
'numpy ~= 1.19.2',
'opt_einsum ~= 3.3.0',
Expand Down

0 comments on commit d36db29

Please sign in to comment.