From ab676ad44e0820f6aa3d5f416f46f75c9f4cfb89 Mon Sep 17 00:00:00 2001 From: auxten Date: Thu, 16 Nov 2023 04:48:46 +0000 Subject: [PATCH] Install setuptools explicitly for Python 3.12.0 --- .github/workflows/build_wheels.yml | 4 ++-- chdb/build_linux_arm64.sh | 2 +- chdb/build_mac_arm64.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e46d03aba0a..25a021bcd89 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -87,7 +87,7 @@ jobs: clang++ --version - name: Run chdb/build.sh run: | - python3 -m pip install pybind11 + python3 -m pip install pybind11 setuptools export CC=/usr/bin/clang export CXX=/usr/bin/clang++ bash ./chdb/build.sh @@ -207,7 +207,7 @@ jobs: - name: Run chdb/build.sh timeout-minutes: 300 run: | - python3 -m pip install pybind11 + python3 -m pip install pybind11 setuptools export PATH=$(brew --prefix llvm@16)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin export CC=$(brew --prefix llvm@16)/bin/clang export CXX=$(brew --prefix llvm@16)/bin/clang++ diff --git a/chdb/build_linux_arm64.sh b/chdb/build_linux_arm64.sh index 410249ceb81..f6c1ece4bf2 100755 --- a/chdb/build_linux_arm64.sh +++ b/chdb/build_linux_arm64.sh @@ -10,7 +10,7 @@ for PY_VER in ${PYTHON_VERSIONS}; do cd ${PROJ_DIR} pyenv local "${PY_VER}" python3 --version - python3 -m pip install pybind11 + python3 -m pip install pybind11 setuptools export CC=/usr/bin/clang export CXX=/usr/bin/clang++ # Install universal2 pkg diff --git a/chdb/build_mac_arm64.sh b/chdb/build_mac_arm64.sh index d48aa3765ef..3188d1c428c 100755 --- a/chdb/build_mac_arm64.sh +++ b/chdb/build_mac_arm64.sh @@ -73,7 +73,7 @@ for PY_VER in 3.9.13 3.10.11 3.11.3 3.12.0; do exit 1 fi - python3 -m pip install -U pybind11 wheel build tox psutil + python3 -m pip install -U pybind11 wheel build tox psutil setuptools rm -rf ${PROJ_DIR}/buildlib ${PROJ_DIR}/chdb/build.sh