Skip to content

Commit

Permalink
Merge pull request #56102 from tensorflow/mihaimaruseac-patch-1
Browse files Browse the repository at this point in the history
Fix build due to importlib-metadata/setuptools
  • Loading branch information
mihaimaruseac committed May 13, 2022
2 parents 63f211c + e1ec480 commit 33ed2b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensorflow/tools/ci_build/release/common.sh
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 33ed2b1

Please sign in to comment.