From bf24315a6d1855c2037b3b62ed87196d6c841641 Mon Sep 17 00:00:00 2001 From: Manu Zhang Date: Thu, 19 Nov 2026 11:15:51 +0800 Subject: [PATCH 1/2] fix(ci): pin CMake for Windows SQL catalog tests Use the same CMake version as the sanitizer job while bundled Boost.Locale relies on the older source_group path behavior. Co-authored-by: Codex --- .github/workflows/sql_catalog_test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/sql_catalog_test.yml b/.github/workflows/sql_catalog_test.yml index b476cf5f6a..8b4d43facf 100644 --- a/.github/workflows/sql_catalog_test.yml +++ b/.github/workflows/sql_catalog_test.yml @@ -102,6 +102,19 @@ jobs: shell: pwsh run: | vcpkg install zlib:x64-windows nlohmann-json:x64-windows nanoarrow:x64-windows roaring:x64-windows sqlite3:x64-windows openssl:x64-windows + - name: Set up Python on Windows + if: ${{ startsWith(matrix.runs-on, 'windows') }} + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: '3.13' + # CMake 4.5 rejects bundled Boost.Locale's source_group tree. + - name: Pin CMake to 4.4.5 on Windows + if: ${{ startsWith(matrix.runs-on, 'windows') }} + shell: bash + run: | + python -m pip install "cmake==4.4.5" + cmake --version + test "$(cmake --version | tr -d '\r' | head -n 1)" = "cmake version 4.4.5" - name: Set up sccache uses: ./.github/actions/setup-sccache with: From e33a9ac036102f9175961b7a2e993c003f3c8ff2 Mon Sep 17 00:00:00 2001 From: Manu Zhang Date: Thu, 19 Nov 2026 13:02:48 +0800 Subject: [PATCH 2/2] fix(ci): pin CMake for AWS integration tests All AWS matrix jobs build bundled Boost.Locale. Use CMake 4.4.5 to avoid the source_group failure observed with 4.5.0 in the system SDK job. Co-authored-by: Codex --- .github/workflows/aws_test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/aws_test.yml b/.github/workflows/aws_test.yml index 264ee69a10..81df15a5bb 100644 --- a/.github/workflows/aws_test.yml +++ b/.github/workflows/aws_test.yml @@ -119,6 +119,16 @@ jobs: run: | echo "CC=${{ matrix.CC }}" >> $GITHUB_ENV echo "CXX=${{ matrix.CXX }}" >> $GITHUB_ENV + - name: Set up Python + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: '3.13' + # Both SDK modes build Boost.Locale, whose source_group CMake 4.5 rejects. + - name: Pin CMake to 4.4.5 + run: | + python -m pip install "cmake==4.4.5" + cmake --version + test "$(cmake --version | head -n 1)" = "cmake version 4.4.5" - name: Start Object Store if: ${{ matrix.s3 == 'ON' }} shell: bash