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 3b3f123a7 ci: pass env vars down into cibuildwheel container (#4585)
3b3f123a7 is described below
commit 3b3f123a74c767845e83e559bb889d1fa7d7616b
Author: Bryce Mecum <[email protected]>
AuthorDate: Sat Jul 25 05:13:28 2026 -0700
ci: pass env vars down into cibuildwheel container (#4585)
This PR makes the filenames of our driver manager wheel nightlies
consistent. While nightlies are not official project artifacts and users
should never depend on them, it's nice to make them a bit easier to use.
As noticed in https://github.com/apache/arrow-adbc/issues/4578, the
manylinux wheels for the driver manager use a `.dev0` prefix whereas all
other wheels just use the MAJOR.MINOR.PATCH. The driver manager
manylinux wheels are special in that they go through cibuildwheel and
cibuildwheel uses an inner container for its build. To get a consistent
version, we need let cibuildwheel pass `SETUPTOOLS_SCM_PRETEND_VERSION`
into the container.
---
.github/workflows/packaging.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index daf958964..d8d85e91b 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -697,6 +697,7 @@ jobs:
docker compose run \
-e SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION \
+ -e CIBW_ENVIRONMENT_PASS_LINUX=SETUPTOOLS_SCM_PRETEND_VERSION \
python-wheel-manylinux-relocate
popd