From a70f43eaf4d669dce16cc424781f936264d63a36 Mon Sep 17 00:00:00 2001 From: XanthosXanthopoulos Date: Tue, 19 Nov 2024 00:13:52 +0200 Subject: [PATCH] Select Xcode version for python packaging CI --- .github/workflows/python-ci-packaging.yml | 4 ++++ .github/workflows/python-packaging.yml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/python-ci-packaging.yml b/.github/workflows/python-ci-packaging.yml index 55a65ac9e3..3fa5a0aab8 100644 --- a/.github/workflows/python-ci-packaging.yml +++ b/.github/workflows/python-ci-packaging.yml @@ -168,6 +168,10 @@ jobs: fetch-depth: 0 # for setuptools-scm - name: Check if System Integrity Protection (SIP) is enabled run: csrutil status + - name: Select XCode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.4' - name: Install pre-built libtiledb if: ${{ matrix.TILEDB_EXISTS == 'yes' }} run: | diff --git a/.github/workflows/python-packaging.yml b/.github/workflows/python-packaging.yml index c5409bb260..52f92d7ee4 100644 --- a/.github/workflows/python-packaging.yml +++ b/.github/workflows/python-packaging.yml @@ -84,6 +84,11 @@ jobs: pip install setuptools python -c 'from distutils import util; print("distutil.util.get_platform:", util.get_platform())' python -c 'import platform; print("platform.platform()", platform.platform())' + - name: Select XCode version + if: startsWith(matrix.os, 'macos') + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.4' - name: Build wheels uses: pypa/cibuildwheel@v2.18.1 with: