From d87b2f06e6446553dcfbe115fe42be9900ac4ba8 Mon Sep 17 00:00:00 2001 From: John Wason Date: Fri, 5 Dec 2025 17:34:19 -0500 Subject: [PATCH 1/2] Use macos-15 for wheels build --- .github/workflows/wheels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index c81fbeb6..d0c84b65 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -289,22 +289,22 @@ jobs: - py_platform: macosx-12.0-x86_64 python_version: "3.12" arch: x64 - runner: macos-13 + runner: macos-15-intel brew_prefix: /usr/local - py_platform: macosx-12.0-x86_64 python_version: "3.13" arch: x64 - runner: macos-13 + runner: macos-15-intel brew_prefix: /usr/local - py_platform: macosx-12.0-arm64 python_version: "3.12" arch: arm64 - runner: macos-14 + runner: macos-15 brew_prefix: /opt/homebrew - py_platform: macosx-12.0-arm64 python_version: "3.13" arch: arm64 - runner: macos-14 + runner: macos-15 brew_prefix: /opt/homebrew steps: From 05ff66298fca6e361edbb1ba2a8ec13150815a5c Mon Sep 17 00:00:00 2001 From: John Wason Date: Fri, 5 Dec 2025 18:36:18 -0500 Subject: [PATCH 2/2] Set CMAKE_POLICY_VERSION_MINIMUM=3.5 --- .github/workflows/wheels.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d0c84b65..342c02f3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -241,7 +241,8 @@ jobs: -DTESSERACT_PYTHON_BUILD_WHEEL=ON ^ -DTESSERACT_ENABLE_EXAMPLES=OFF -DTESSERACT_PLUGIN_FACTORY_CALLBACKS=ON ^ -DVCPKG_APPLOCAL_DEPS=OFF ^ - -DTESSERACT_BUILD_TRAJOPT_IFOPT=OFF + -DTESSERACT_BUILD_TRAJOPT_IFOPT=OFF ^ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 if %ERRORLEVEL% GEQ 1 exit 1 - name: test shell: cmd @@ -358,7 +359,8 @@ jobs: -Dtcmalloc_minimal_LIBRARY=${{ github.workspace }}/vcpkg/installed/${{ matrix.config.arch }}-osx-dynamic-release/lib/libtcmalloc_minimal.dylib \ -DPYTHON_EXECUTABLE="${{ steps.setup-python.outputs.python-path }}" \ -DTESSERACT_PYTHON_WHEEL_PLATFORM=${{ matrix.config.py_platform }} \ - -DTESSERACT_PYTHON_BUILD_WHEEL=ON + -DTESSERACT_PYTHON_BUILD_WHEEL=ON \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 - name: test shell: bash run: |