Skip to content

Commit

Permalink
Fix build due to importlib-metadata/setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaimaruseac committed May 13, 2022
1 parent 63f211c commit e1ec480
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensorflow/tools/ci_build/release/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ function install_macos_pip_deps_no_venv {
# First, upgrade pypi wheels
${PIP_CMD} install --user --upgrade 'setuptools<53' pip wheel

# See https://github.com/pypa/setuptools/issues/3293
# Must happen first, before anyhting else
${PIP_CMD} install --user --upgrade 'importlib-metadata > 4'

# LINT.IfChange(mac_pip_installations)
# Remove any historical keras package if they are installed.
${PIP_CMD} list
Expand Down

0 comments on commit e1ec480

Please sign in to comment.