Data-diff not compatible with latest dbt version (v1.7.0) due to conflicting package dependencies
mimoyer21 opened this issue · comments
Describe the bug
Can't install data-diff (I'm trying v0.9.10 but this applies to earlier versions too) and latest dbt version (v1.7.0) because they have conflicting package version dependencies for mashumaro
.
- The command I used:
pip install --upgrade -r requirements.txt
where bothdata-diff[dbt]==0.9.10
anddbt-core==1.7.0
are in my requirements.txt - The run output + error I'm getting:
ERROR: Cannot install -r requirements.txt (line 2) and data-diff because these package versions have conflicting dependencies.
The conflict is caused by:
data-diff 0.9.10 depends on mashumaro<3.9.0 and >=3.8.1
dbt-core 1.7.0 depends on mashumaro~=3.9
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Note: dbt v1.7.0 was just released today, so not surprising that there's some minor tweaks needed to make data-diff compatible. Just flagging so the team is aware.