@@ -273,13 +273,13 @@ jobs:
273273 matrix :
274274 os : [ macos-11 ]
275275 # python-version: [ "3.8", "3.9", "3.10"]
276- python-version : [ "3.8" ]
276+ python-version : [ "3.8", "3.9", "3.10" ]
277277 env :
278278 RUNNER_OS : ${{ matrix.os }}
279279 PYTHON_VERSION : ${{ matrix.python-version }}
280280 steps :
281281 - name : Install Offical Python 3.8
282- uses : actions/setup-python@v2
282+ uses : actions/setup-python@v4
283283 with :
284284 python-version : ${{ matrix.python-version }}
285285 - name : Check Python version
@@ -336,20 +336,20 @@ jobs:
336336 df -h
337337 env :
338338 CIBW_ENVIRONMENT_MACOS : " PATH=$(brew --prefix llvm@16)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin CC=$(brew --prefix llvm@16)/bin/clang CXX=$(brew --prefix llvm@16)/bin/clang++"
339- # - name: Remove /usr/local/bin/python3
340- # run: |
341- # sudo rm -f /usr/local/bin/python3
339+ - name : Remove /usr/local/bin/python3
340+ run : |
341+ sudo rm -f /usr/local/bin/python3
342342 - name : Install dependencies for building wheels
343343 run : |
344344 python3 -m pip install -U pip tox pybind11 twine setuptools wheel
345- python3 -m pip install cibuildwheel==2.12.1
345+ python3 -m pip install cibuildwheel==2.16.2
346346 - name : Build wheels
347347 run : python3 -m cibuildwheel --output-dir wheelhouse
348348 timeout-minutes : 300
349349 env :
350350 CIBW_ENVIRONMENT_MACOS : " PATH=$(brew --prefix llvm@16)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin CC=$(brew --prefix llvm@16)/bin/clang CXX=$(brew --prefix llvm@16)/bin/clang++"
351351 CIBW_DEBUG : 1
352- CIBW_BEFORE_BUILD : " pip install -U pip tox pybind11 && bash -x gen_manifest.sh && bash chdb/build.sh"
352+ CIBW_BEFORE_BUILD : " which python3 && pip install -U pip tox pybind11 && python3 -m pybind11 --includes && bash -x gen_manifest.sh && bash chdb/build.sh"
353353 CIBW_BUILD_VERBOSITY : 3
354354 CIBW_BUILD : " cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64"
355355 CIBW_TEST_REQUIRES : " pyarrow pandas psutil"
0 commit comments