You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ja...@apache.org on 2026/09/30 19:41:07 UTC

(sedona-db) branch main updated: fix(ci): skip duckdb on free-threaded wheels; bump cibuildwheel for 3.15 (#1375)

This is an automated email from the ASF dual-hosted git repository.

james-willis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git


The following commit(s) were added to refs/heads/main by this push:
     new db8a30146 fix(ci): skip duckdb on free-threaded wheels; bump cibuildwheel for 3.15 (#1375)
db8a30146 is described below

commit db8a301465639668d1e6315b7f530688413ab207
Author: James Willis <ja...@users.noreply.github.com>
AuthorDate: Wed Sep 30 12:41:01 2026 -0700

    fix(ci): skip duckdb on free-threaded wheels; bump cibuildwheel for 3.15 (#1375)
---
 .github/actions/setup-wheel-build/action.yml |  2 +-
 .github/workflows/python-wheels.yml          |  3 ---
 python/sedonadb-zarr/pyproject.toml          |  5 +++++
 python/sedonadb/pyproject.toml               | 15 +++++++++++++++
 4 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/.github/actions/setup-wheel-build/action.yml b/.github/actions/setup-wheel-build/action.yml
index aef7a1288..51ff4d088 100644
--- a/.github/actions/setup-wheel-build/action.yml
+++ b/.github/actions/setup-wheel-build/action.yml
@@ -46,7 +46,7 @@ runs:
     - name: Install cibuildwheel
       shell: bash
       run: |
-        python -m pip install cibuildwheel==3.1.4
+        python -m pip install cibuildwheel==4.2.1
         if [ "${{ inputs.delvewheel }}" = "true" ]; then
           python -m pip install delvewheel
         fi
diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml
index 8d568a70c..f68177e78 100644
--- a/.github/workflows/python-wheels.yml
+++ b/.github/workflows/python-wheels.yml
@@ -164,7 +164,6 @@ jobs:
         env:
           VCPKG_ROOT: ${{ github.workspace }}/vcpkg
           VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg-bincache
-          CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb
           # Test command exits 0 even on failure so CIBW continues building all wheels;
           # failures are recorded in .test_failed and checked after upload.
           CIBW_TEST_COMMAND: "pytest {package}/tests -vv -o faulthandler_timeout=600 || touch {project}/.test_failed"
@@ -230,7 +229,6 @@ jobs:
         env:
           VCPKG_ROOT: ${{ github.workspace }}/vcpkg
           VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg-bincache
-          CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb
           # Test command exits 0 even on failure so CIBW continues building all wheels;
           # failures are recorded in .test_failed and checked after upload.
           CIBW_TEST_COMMAND: "pytest {package}/tests -vv -o faulthandler_timeout=600 || touch {project}/.test_failed"
@@ -294,7 +292,6 @@ jobs:
           CIBW_SKIP: "*musllinux*"
           VCPKG_BINARY_CACHE_HOST: ${{ github.workspace }}/vcpkg-bincache
           HOST_WORKSPACE: ${{ github.workspace }}
-          CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb
           # Test command exits 0 even on failure so CIBW continues building all wheels;
           # failures are recorded in .test_failed and checked after upload. The
           # marker goes to the bind-mounted /host-workspace rather than {project}:
diff --git a/python/sedonadb-zarr/pyproject.toml b/python/sedonadb-zarr/pyproject.toml
index abbeec819..7677d6ceb 100644
--- a/python/sedonadb-zarr/pyproject.toml
+++ b/python/sedonadb-zarr/pyproject.toml
@@ -45,6 +45,11 @@ test = [
     "numpy",
 ]
 
+[tool.cibuildwheel]
+# pyarrow publishes no cp315 wheels yet, so the test environment cannot be
+# installed. Build the wheels but skip testing them until it does.
+test-skip = "cp315*"
+
 [tool.maturin]
 features = ["pyo3/extension-module"]
 module-name = "sedonadb_zarr._lib"
diff --git a/python/sedonadb/pyproject.toml b/python/sedonadb/pyproject.toml
index bcf27344f..6878df3af 100644
--- a/python/sedonadb/pyproject.toml
+++ b/python/sedonadb/pyproject.toml
@@ -53,6 +53,21 @@ geopandas = [
     "sedonadb-expr",
 ]
 
+[tool.cibuildwheel]
+# Set here rather than via CIBW_TEST_REQUIRES in the workflow: environment
+# variables take precedence over the overrides below.
+test-requires = ["pytest", "adbc_driver_manager", "geoarrow-pyarrow", "geopandas", "duckdb"]
+# pyarrow (and shapely, pyogrio, adbc-driver-manager, duckdb) publish no cp315
+# wheels yet, so the test environment cannot be installed. Build the wheels
+# but skip testing them until those are available.
+test-skip = "cp315*"
+
+# DuckDB publishes no free-threaded wheels, and building it from its sdist fails
+# with scikit-build-core >= 1.1. The DuckDB-backed tests skip when it is absent.
+[[tool.cibuildwheel.overrides]]
+select = "cp314t-*"
+test-requires = ["pytest", "adbc_driver_manager", "geoarrow-pyarrow", "geopandas"]
+
 [tool.maturin]
 features = ["pyo3/extension-module"]
 module-name = "sedonadb._lib"