Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.
This repository was archived by the owner on May 17, 2024. It is now read-only.

Data-diff not compatible with latest dbt version (v1.7.0) due to conflicting package dependencies #764

Closed
@mimoyer21

Description

@mimoyer21

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 both data-diff[dbt]==0.9.10 and dbt-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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions