Skip to content

Commit

Permalink
ci: fix wheel build (apache#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm authored Apr 22, 2024
1 parent 75a4b64 commit f9143b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ci/scripts/python_wheel_unix_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ export ADBC_BUILD_TYPE="debug"
for component in $COMPONENTS; do
pushd ${source_dir}/python/$component

component_dashes=${component//_/-}

echo "=== Clean build artifacts ==="
rm -rf ./build ./dist ./repaired_wheels ./$component/*.so ./$component/*.so.*

Expand All @@ -110,7 +108,7 @@ for component in $COMPONENTS; do
# causing the build to fail.
python setup.py sdist
if [[ "$component" = "adbc_driver_manager" ]]; then
python -m cibuildwheel --output-dir repaired_wheels/ dist/$component_dashes-*.tar.gz
python -m cibuildwheel --output-dir repaired_wheels/ dist/$component-*.tar.gz
else
python -m pip wheel --no-deps -w dist -vvv .

Expand Down

0 comments on commit f9143b2

Please sign in to comment.