-
Notifications
You must be signed in to change notification settings - Fork 8
[Bug] issue with PyYAML when installing dbt-snowflake #310
Comments
+1 for dbt-bigquery |
pyYAML 6.0.0 can't build because Cython 3.0 recently had an update. The solution that should work is to update the formula to pyYAML 6.0.1. Below is the correct resource section - I will attempt a pull request but in the meantime I am sharing a temporary solution. This is applies to the dbt-snowflake and dbt-redshift formula and possibly some others.
|
I worked with Dhruv on the above fix and want to give a bit more details while we put together a PR. The dbt homebrew formulas on your machine are probably at Replace the resource PyYAML section with his snippet above and you should be able to Hope this helps. The PyYAML 6.0.0 is causing a lot of problems in the Python world right now since so many packages rely on it. If someone beats us to a PR - great! Neither of us are familiar with the versioning for this repo's formulas and it will take us a bit to find time to do it right. |
so sorry to hear you're experiencing this issue everyone. It is incredible to see the interconnectedness of the Python package ecosystem via all the linked issues that can be seen in yaml/pyyaml#724 (most importantly cython/cython#4568). That said, what I feel exacerbates this issue is
|
Thanks @carlkibler @dhruv-marwa and @dataders ! Have you heard anywhere else if anyone has able to get this fix to solve the issue? I updated the |
We have a team member who can't install dbt with brew due to this issue. We tried the workaround (pip) but then ran into ANOTHER issue: snowflakedb/snowflake-connector-python#1626 Can anyone please advise... |
@klayhb assumably, you're on Snowflake, right? can you try this? pip install dbt-snowflake~=1.5.0 snowflake-connector-python --only-binary :all: |
This should be fixed now |
When I run |
@johnAirRobe thanks for surfacing, looks like this is a new issue, see: #318 |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Is there an existing issue for this?
Current Behavior
I am trying to install dbt-snowflake with homebrew on Mac OS, and the install always stops when installing PyYAML. I have tried with versions 1.3.2, 1.4.3 and 1.5.2 and they all give the same outcome.
Expected Behavior
install dbt-snowflake
Steps To Reproduce
Relevant log output
Environment
What Homebrew formula are you trying to install?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: