From 7d925676455900c01bf30fddfc8ed3f7f65e12ab Mon Sep 17 00:00:00 2001 From: Chang She <759245+changhiskhan@users.noreply.github.com> Date: Sun, 25 Dec 2022 16:26:51 -0800 Subject: [PATCH] python 3.11 is updating and causing error --- .../build_mac_wheel/install_mac_deps/action.yml | 11 ++++++++++- .github/workflows/cpp.yml | 11 ++++++++++- .github/workflows/duckdb.yml | 11 ++++++++++- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_mac_wheel/install_mac_deps/action.yml b/.github/workflows/build_mac_wheel/install_mac_deps/action.yml index 3c4143e541..29c00a68b6 100644 --- a/.github/workflows/build_mac_wheel/install_mac_deps/action.yml +++ b/.github/workflows/build_mac_wheel/install_mac_deps/action.yml @@ -6,9 +6,18 @@ runs: - name: "brew install base libs" shell: bash run: | - brew pin python@3.10 cd $(brew --repository) git fetch origin --tags git checkout 3.6.16 # Arrow 10.0 + rm -rf /usr/local/bin/2to3 + rm -rf /usr/local/bin/2to3-3.11 + rm -rf /usr/local/bin/idle3 + rm -rf /usr/local/bin/idle3.11 + rm -rf /usr/local/bin/pydoc3 + rm -rf /usr/local/bin/pydoc3.11 + rm -rf /usr/local/bin/python3 + rm -rf /usr/local/bin/python3.11 + rm -rf /usr/local/bin/python3-config + rm -rf /usr/local/bin/python3.11-config brew update brew install apache-arrow protobuf diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 4bbeed4f79..a2fa9982a9 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -43,10 +43,19 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies run: | - brew pin python@3.10 cd $(brew --repository) git fetch origin --tags git checkout 3.6.16 # Arrow 10.0 + rm -rf /usr/local/bin/2to3 + rm -rf /usr/local/bin/2to3-3.11 + rm -rf /usr/local/bin/idle3 + rm -rf /usr/local/bin/idle3.11 + rm -rf /usr/local/bin/pydoc3 + rm -rf /usr/local/bin/pydoc3.11 + rm -rf /usr/local/bin/python3 + rm -rf /usr/local/bin/python3.11 + rm -rf /usr/local/bin/python3-config + rm -rf /usr/local/bin/python3.11-config brew update brew install apache-arrow protobuf - name: Cmake diff --git a/.github/workflows/duckdb.yml b/.github/workflows/duckdb.yml index bdd9bde384..5b233884cb 100644 --- a/.github/workflows/duckdb.yml +++ b/.github/workflows/duckdb.yml @@ -42,10 +42,19 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: | - brew pin python@3.10 cd $(brew --repository) git fetch origin --tags git checkout 3.6.16 # Arrow 10.0 + rm -rf /usr/local/bin/2to3 + rm -rf /usr/local/bin/2to3-3.11 + rm -rf /usr/local/bin/idle3 + rm -rf /usr/local/bin/idle3.11 + rm -rf /usr/local/bin/pydoc3 + rm -rf /usr/local/bin/pydoc3.11 + rm -rf /usr/local/bin/python3 + rm -rf /usr/local/bin/python3.11 + rm -rf /usr/local/bin/python3-config + rm -rf /usr/local/bin/python3.11-config brew update brew install apache-arrow protobuf - name: Cmake