Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3.11 is updating and causing error #397

Merged
merged 2 commits into from
Dec 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/build_mac_wheel/install_mac_deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@ runs:
- name: "brew install base libs"
shell: bash
run: |
brew pin [email protected]
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
11 changes: 10 additions & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,19 @@ jobs:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
brew pin [email protected]
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a lot, can brew link --force do ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was the hint in the error which I tried first. Not sure why it didn't work.

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
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/duckdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,19 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew pin [email protected]
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
Expand Down