datafold/data-diff

"pip install data-diff -U" is updating dbt-core to >= 1.6

dlawin opened this issue · 0 comments

dlawin commented

Describe the bug
When I run pip install data-diff -U, dbt-core is also updated to a version >= 1.6

This isn't acceptable in my case, as I have a need to use dbt-core < 1.6

To reproduce the issue:

✗ pip install 'dbt-core<1.5'

✗ dbt --version
Core:
  - installed: 1.4.9
✗ pip install data-diff -U
✗ dbt --version
Core:
  - installed: 1.7.1

To workaround the issue:

✗ pip install data-diff -U
✗ pip install 'dbt-snowflake>1.5,<1.6' # reinstall appropriate dbt version

That will display a warning which can be ignored:
data-diff 0.9.11 requires mashumaro[msgpack]<3.11.0,>=3.8.1, but you have mashumaro 3.6 which is incompatible.

Pinning the mashumaro version is the underlying issue, should be able to open up the accepted versions