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

Update auditwheel command to use --exclude #83

Merged
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
7 changes: 4 additions & 3 deletions contexts/turbodbc-wheel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ RUN \
set -eux; \
pip wheel --no-cache-dir -w /wheels-tmp turbodbc==4.8.0

RUN \
--mount=type=bind,source=auditwheel-keep-pyarrow.py,target=auditwheel-keep-pyarrow.py \
python auditwheel-keep-pyarrow.py \
RUN set -eux; \
auditwheel \
repair \
--plat manylinux_2_35_$(uname -m) \
--only-plat \
--exclude libarrow_python.so \
--exclude libarrow.so.1400 \
--wheel-dir /wheels \
/wheels-tmp/turbodbc*

Expand Down
12 changes: 0 additions & 12 deletions contexts/turbodbc-wheel/auditwheel-keep-pyarrow.py

This file was deleted.

4 changes: 2 additions & 2 deletions contexts/turbodbc-wheel/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
wheel
auditwheel
auditwheel>=6.0.0
patchelf

# The following requirements are copied from turbodbc/setup.py setup_requires
Expand All @@ -10,5 +10,5 @@ numpy>=1.20
pybind11>=2.10.4

# hack to ensure turbodbc builds pyarrow bindings
# auditwheel-keep-pyarrow.py is targeting pyarrow 13
# Ensure this is compatible with the auditwheel --exclude
pyarrow==14.0.1
Loading