Skip to content

Commit 33913a7

Browse files
committed
Fix --find-links option
1 parent d68a705 commit 33913a7

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

oss/build_whl.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,21 @@ function main() {
6969
if [ -n "${AUDITWHEEL_PLATFORM}" ]; then
7070
echo $(date) : "=== Auditing wheel"
7171
auditwheel repair --plat ${AUDITWHEEL_PLATFORM} -w dist dist/*.whl
72+
cp dist/*manylinux*.whl "${DEST}"
73+
else
74+
cp dist/*.whl "${DEST}"
7275
fi
7376

7477
echo $(date) : "=== Listing wheel"
75-
ls -lrt dist/*.whl
76-
cp dist/*.whl "${DEST}"
78+
ls -lrt "${DEST}"/*.whl
7779
popd
7880

7981
echo $(date) : "=== Output wheel file is in: ${DEST}"
8082

8183
# Install ArrayRecord from the wheel and run smoke tests.
8284
# TF is not available on Python 3.13 and above.
8385
if (( "${PYTHON_MINOR_VERSION}" < 13 )); then
84-
$PYTHON_BIN -m pip install --find-links=/tmp/grain/all_dist --pre array-record
86+
$PYTHON_BIN -m pip install --find-links="${DEST}" --pre array-record
8587
$PYTHON_BIN -m pip install jax tensorflow grain
8688
$PYTHON_BIN oss/test_with_grain.py
8789
$PYTHON_BIN oss/test_with_tf.py

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def has_ext_modules(self):
2525

2626
setup(
2727
name='array_record',
28-
version='0.7.2',
28+
version='0.7.3',
2929
description='A file format that achieves a new frontier of IO efficiency',
3030
author='ArrayRecord team',
3131
author_email='no-reply@google.com',

0 commit comments

Comments
 (0)