Closed fivetran-joemarkiewicz closed 1 year ago
@fivetran-joemarkiewicz Thanks for opening!
I'm guessing this must be related somehow to the change in https://github.com/dbt-labs/dbt-core/pull/6838. Taking a look
Drop a breakpoint after line 154:
else: # major/minor/patch, should all be numbers
if key == "minor":
first = a
second = b
import ipdb; ipdb.set_trace()
ipdb> first
'9'
ipdb> second
'10'
ipdb> first > second
True
should all be numbers
let's make sure of it :)
Brilliant, @jtcohen6 thanks for working so quickly to address this! 🎉
Is this a regression in a recent version of dbt-core?
Current Behavior
On the latest 1.4.2 version of dbt-core when installing a dbt package with the range including a range with a max of
0.10.0
you will receive an erroneous failure. For example:Will result in
However, the latest version of fivetran/google_ads is 0.9.0 and should be fine with that version range.
If I then adjust the range to just not include 0.10.0 it will succeed:
Result
Expected/Previous Behavior
The range would succeed with 0.10.0.
Steps To Reproduce
dbt deps
Relevant log output
Environment
Which database adapter are you using with dbt?
bigquery
Additional Context
Here is a slack thread where a user experienced a similar issue when trying to install the fivetran/ad_reporting package.