Skip to content

Commit

Permalink
ci: bump cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Oct 8, 2024
1 parent 0cf346a commit 1d439ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARCH_CONDA_FORGE=linux_64_

# Default versions for various dependencies
JDK=8
MANYLINUX=2014
MANYLINUX=2-28
MAVEN=3.6.3
PLATFORM=linux/amd64
PYTHON=3.9
Expand Down
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 @@ -87,9 +87,7 @@ check_visibility $ADBC_SNOWFLAKE_LIBRARY

# https://github.com/pypa/pip/issues/7555
# Get the latest pip so we have in-tree-build by default
# 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
python -m pip install --upgrade pip auditwheel 'cibuildwheel>=2.21.2' delocate setuptools wheel

# Build with Cython debug info
export ADBC_BUILD_TYPE="debug"
Expand Down
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,17 @@ services:
PYTHON: ${PYTHON}
REPO: ${REPO}
VCPKG: ${VCPKG}
# Required to get podman-in-docker working
privileged: true
security_opt:
- "apparmor=unconfined"
- "seccomp=unconfined"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- .:/adbc
# Must set safe.directory so miniver won't error when calling git
command: "'git config --global --add safe.directory /adbc && git config --global --get safe.directory && /adbc/ci/scripts/python_wheel_unix_build.sh ${ARCH} /adbc /adbc/build'"
# Must force use of podman since docker in this container is an alias to podman
command: "'git config --global --add safe.directory /adbc && git config --global --get safe.directory && env CIBW_CONTAINER_ENGINE=podman /adbc/ci/scripts/python_wheel_unix_build.sh ${ARCH} /adbc /adbc/build'"

python-wheel-manylinux-test:
image: ${ARCH}/python:${PYTHON}-slim
Expand Down

0 comments on commit 1d439ff

Please sign in to comment.