Skip to content

Commit

Permalink
Blacklist setuptool version 50.0 to fix kokoro
Browse files Browse the repository at this point in the history
Context: pypa/setuptools#2352
PiperOrigin-RevId: 329312581
  • Loading branch information
Conchylicultor authored and tfds-copybara committed Sep 2, 2020
1 parent 93bfaba commit d532caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions oss_scripts/oss_pip_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ sudo apt-get install -qq -y libsm6

install_tf "$TF_VERSION"

pip install -q "setuptools!=50.0" --force-reinstall

# Make sure we have the latest version of numpy - avoid problems we were
# seeing with Python 3
pip install -q -U numpy
Expand Down
2 changes: 1 addition & 1 deletion oss_scripts/oss_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e # fail and exit on any command erroring
source ./oss_scripts/utils.sh
function setup_env() {
create_virtualenv $1 $2
pip install -q --upgrade setuptools pip
pip install -q "setuptools!=50.0" --force-reinstall
pip install -q wheel twine pyopenssl
}

Expand Down

0 comments on commit d532caa

Please sign in to comment.