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.

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

@dlawin

Description

@dlawin

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

Metadata

Metadata

Assignees

Labels

--dbtIssues/features related to the dbt integrationbugSomething isn't workingstale_immuneImmunity to stale bot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions