From f9143b2b3ccb32f1081aae233207ba5d288bf46b Mon Sep 17 00:00:00 2001
From: David Li
Date: Mon, 22 Apr 2024 11:15:37 +0900
Subject: [PATCH] ci: fix wheel build (#1740)
---
ci/scripts/python_wheel_unix_build.sh | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ci/scripts/python_wheel_unix_build.sh b/ci/scripts/python_wheel_unix_build.sh
index a904230c1d..12b5b69dea 100755
--- a/ci/scripts/python_wheel_unix_build.sh
+++ b/ci/scripts/python_wheel_unix_build.sh
@@ -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.*
@@ -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 .