This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new d204b82eb chore(ci): pin build dependencies to work around issues
(#2190)
d204b82eb is described below
commit d204b82eb706cbe5de7f7318e7fcfb33e90aed9d
Author: David Li <[email protected]>
AuthorDate: Fri Sep 27 09:59:45 2024 +0900
chore(ci): pin build dependencies to work around issues (#2190)
Work around #2176.
Fixes #2163.
---
ci/conda_env_glib.txt | 3 +++
ci/scripts/python_wheel_unix_build.sh | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ci/conda_env_glib.txt b/ci/conda_env_glib.txt
index 5e3cd3266..7a5715220 100644
--- a/ci/conda_env_glib.txt
+++ b/ci/conda_env_glib.txt
@@ -21,3 +21,6 @@ gobject-introspection
meson
postgresql
ruby
+# TODO(https://github.com/apache/arrow-adbc/issues/2176): pin for now because
+# gobject-introspection uses a deprecated/removed API
+setuptools <74
diff --git a/ci/scripts/python_wheel_unix_build.sh
b/ci/scripts/python_wheel_unix_build.sh
index 48cb45697..96691bbae 100755
--- a/ci/scripts/python_wheel_unix_build.sh
+++ b/ci/scripts/python_wheel_unix_build.sh
@@ -87,7 +87,9 @@ check_visibility $ADBC_SNOWFLAKE_LIBRARY
# https://github.com/pypa/pip/issues/7555
# Get the latest pip so we have in-tree-build by default
-python -m pip install --upgrade pip auditwheel cibuildwheel delocate
setuptools wheel
+# https://github.com/apache/arrow-adbc/issues/2163
+# Pin cibuildwheel for now
+python -m pip install --upgrade pip auditwheel 'cibuildwheel<2.21' delocate
setuptools wheel
# Build with Cython debug info
export ADBC_BUILD_TYPE="debug"