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 f5211254f ci: also package wheels for 3.14t on Windows (#3823)
f5211254f is described below

commit f5211254f1808ac5d941256d9cba6375d038a585
Author: David Li <[email protected]>
AuthorDate: Tue Dec 23 13:03:30 2025 +0900

    ci: also package wheels for 3.14t on Windows (#3823)
    
    Closes #3822.
---
 .github/workflows/packaging.yml          | 29 ++++++++++++++++++-----------
 ci/scripts/install_python.sh             | 11 +++++------
 ci/scripts/python_wheel_windows_test.bat |  4 +++-
 3 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index c862d0516..75b1d4c91 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -815,16 +815,6 @@ jobs:
           cache: true
           cache-dependency-path: adbc/go/adbc/go.sum
 
-      - name: Install Python
-        run: |
-          pushd adbc
-          sudo ci/scripts/install_python.sh macos 3.10
-          sudo ci/scripts/install_python.sh macos 3.11
-          sudo ci/scripts/install_python.sh macos 3.12
-          sudo ci/scripts/install_python.sh macos 3.13
-          sudo ci/scripts/install_python.sh macos 3.14
-          popd
-
       - name: Downgrade XCode
         if: matrix.os == 'macos-latest'
         run: |
@@ -855,6 +845,10 @@ jobs:
             adbc/python/adbc_driver_sqlite/repaired_wheels/*.whl
             adbc/python/adbc_driver_snowflake/repaired_wheels/*.whl
 
+      # N.B. delocate (called above) will install these Python versions for
+      # us. You can get the interpreter path by inspecting CI output (search
+      # for "Building cp314-macos"...)
+
       - name: Test wheel 3.10
         run: |
           pushd adbc
@@ -905,6 +899,17 @@ jobs:
           ./ci/scripts/python_wheel_unix_test.sh $(pwd)
           deactivate
 
+      - name: Test wheel 3.14t
+        run: |
+          pushd adbc
+
+          /Library/Frameworks/PythonT.framework/Versions/3.14/bin/python3.14t 
-m venv test-env-314t
+          source test-env-314t/bin/activate
+          export PYTHON_GIL=0
+          export PYTHON_VERSION=3.14t
+          ./ci/scripts/python_wheel_unix_test.sh $(pwd)
+          deactivate
+
       - name: Assemble logs
         if: failure()
         run: |
@@ -932,7 +937,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
+        python_version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
     env:
       PYTHON_VERSION: "${{ matrix.python_version }}"
       # Where to install vcpkg
@@ -1026,6 +1031,8 @@ jobs:
 
       - name: Test wheel
         shell: cmd
+        env:
+          PYTHON_VERSION: ${{ matrix.python_version }}
         run: |
           pushd adbc
           where python.exe
diff --git a/ci/scripts/install_python.sh b/ci/scripts/install_python.sh
index acabe4f82..adf65dd4c 100755
--- a/ci/scripts/install_python.sh
+++ b/ci/scripts/install_python.sh
@@ -27,12 +27,11 @@ platforms=([windows]=Windows
            [linux]=Linux)
 
 declare -A versions
-versions=([3.9]=3.9.13
-          [3.10]=3.10.11
-          [3.11]=3.11.8
-          [3.12]=3.12.2
-          [3.13]=3.13.1
-          [3.14]=3.14.0)
+versions=([3.10]=3.10.19
+          [3.11]=3.11.14
+          [3.12]=3.12.12
+          [3.13]=3.13.11
+          [3.14]=3.14.2)
 
 if [ "$#" -ne 2 ]; then
   echo "Usage: $0 <platform> <version>"
diff --git a/ci/scripts/python_wheel_windows_test.bat 
b/ci/scripts/python_wheel_windows_test.bat
index 852991bfc..168f71b28 100644
--- a/ci/scripts/python_wheel_windows_test.bat
+++ b/ci/scripts/python_wheel_windows_test.bat
@@ -27,10 +27,12 @@ FOR %%c IN (adbc_driver_bigquery adbc_driver_manager 
adbc_driver_flightsql adbc_
     )
 )
 
-pip install importlib-resources pytest pyarrow pandas polars protobuf
+pip install importlib-resources pytest pyarrow pandas protobuf
 
 echo "=== (%PYTHON_VERSION%) Testing wheels ==="
 
+IF [%PYTHON_VERSION:~-1%]==[t] SET PYTHON_GIL=0
+
 FOR %%c IN (adbc_driver_bigquery adbc_driver_manager adbc_driver_flightsql 
adbc_driver_postgresql adbc_driver_sqlite adbc_driver_snowflake) DO (
     echo "=== Testing %%c ==="
     python -c "import %%c" || exit /B 1

Reply via email to