-
Notifications
You must be signed in to change notification settings - Fork 8
[CT-1055] [Bug] brew install dbt-redshift fails on new M1 MacBook Pro #160
Comments
A co-worker reproduced this problem on their Apple M1 MacBook Pro. I suspect this is a new problem because this co-worker successfully used homebrew to install |
There are reports of similar problems in the dbt Slack community with dbt-snowflake dbt-bigquery |
@johnpkennedy - I just completed and tested a fix for this locally. I'm putting together a comprehensive write-up, but the short story is that the If you feel comfortable doing so, you can locally edit the formula to accomplish this and complete the install (perhaps helpful if you and/or your team are currently blocked by this issue), though clearly not a dependable long term solution. After I post my write-up and get some feedback from the dbt-labs team, we'll get a longer term solution implemented. The downside of my approach is that the build time is generally much longer (#tradeoff), and there may be a better place to lockdown the dependency. Anywho - as for the short term solution:
That should open up the formula on your machine for editing. You can then navigate to the formula you are interested in. For instance,
and modify if to be:
Save the file and then re-attempt installation. It will take longer, but should solve the problem from the log. Specifically, it should ensure that |
@kyleries thanks for looking into this and get a solution out!! We(devs for dbt) noticed the issue also, two of the tests are failing. I have almost 0 experience with Homebrew. Helps and guidances are greatly appreciated!! Question from my side:
Happy to move forward with the solution you have now, slow is infinite times better than fail IMO. You mentioned |
@kyleries I just did a find and replace for the command, and opened a draft PR. Any chance you can help review it? |
Is there an existing issue for this?
Current Behavior
dbt-redshift
does not install using homebrew on a new, out-of-the-box Apple M1 MacBook Pro running macOS 12.5.1Expected Behavior
I expect the installation to complete successfully
Steps To Reproduce
brew update
brew install git
brew tap dbt-labs/dbt
brew install dbt-redshift
Relevant log output
Environment
What Homebrew formula are you trying to install?
redshift
Additional Context
Here's the contents of the
14.pip
log file from the~/Library/Logs/Homebrew/dbt-redshift
directory:No response
The text was updated successfully, but these errors were encountered: