Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix additional issues on macos arm64 #1988

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
brew search python
brew install python@${{ matrix.python }}
python${{ matrix.python }} --version
python${{ matrix.python }} -m pip install -U wheel setuptools
python${{ matrix.python }} -m pip install --break-system-packages -U wheel setuptools
python${{ matrix.python }} setup.py --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64
rm -rf build
python${{ matrix.python }} setup.py --project tensorflow-io-gcs-filesystem --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/build.bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,20 @@ $PYTHON -m pip --version

if [[ $(uname) == "Darwin" && $(uname -m) == "arm64" ]]; then
$PYTHON -m pip install --upgrade --break-system-packages pip
$PYTHON -m pip install --upgrade --break-system-packages setuptools
$PYTHON -m pip --version
$PYTHON -m pip install --break-system-packages ${TENSORFLOW_INSTALL}
$PYTHON -m pip install --break-system-packages "urllib3 <2"
$PYTHON -m pip uninstall --break-system-packages -y tensorflow-io-gcs-filesystem
else
$PYTHON -m pip install --upgrade pip
fi
$PYTHON -m pip install --upgrade setuptools
$PYTHON -m pip --version

$PYTHON -m pip install -q ${TENSORFLOW_INSTALL}
$PYTHON -m pip install -q "urllib3 <2"
$PYTHON -m pip uninstall -y tensorflow-io-gcs-filesystem
fi


$PYTHON tools/build/configure.py

Expand Down
Loading