You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug][release-0.2.0 ] It's no module named 'dbt.lib' when i installed dbt-core-1.5.0,and cound not import load_profile_project form 'dbt.lib' when i installed dbt-core-1.4.x
#236
Open
2 tasks done
liangriyu opened this issue
May 30, 2023
· 2 comments
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
It's no module named 'dbt.lib' when i installed dbt-core-1.5.0,and cound not import load_profile_project form 'dbt.lib' when i installed dbt-core-1.4.x ;
I want to confirm that only dbt-core v1.4.x can be used for dbt-server v0.2.0?
cound not import load_profile_project form 'dbt.lib' what shoud i do?
Expected Behavior
successfully import dbt.lib for dbt_server/services/dbt_service.py
We're running into a very similar issue, also dealing with the removal of dbt.lib.
We'd like to use a known good version of dbt-server. Then we'll specify a known compatible version of the connector, in our case dbt-snowflake. So, for instance, we specified 1.5.0b4, which we knew worked.
However, due to the ~here, when we do our pip install, it's grabbing dbt-core 1.5.1. Since dbt.lib was removed from that version, yet our known good version of dbt-server still references it, we get an error on start-up.
Do we need the ~ in the connectors? I looked at another connector and saw the logic was a little different, but it also had the ~.
Is this a new bug in dbt-server?
Current Behavior
It's no module named 'dbt.lib' when i installed dbt-core-1.5.0,and cound not import load_profile_project form 'dbt.lib' when i installed dbt-core-1.4.x ;
Expected Behavior
successfully import dbt.lib for dbt_server/services/dbt_service.py
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: