z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 45 forks source link

`dbt-osmosis==0.11.22` and `dbt-core==1.6.0` have incompatiable dependencies #80

Closed waligob closed 10 months ago

waligob commented 10 months ago

Given the following dependencies in pyproject.toml:

[tool.poetry.dependencies]
python = ">3.9.7,<3.12"
dbt-bigquery = "1.6.1"
dbt-osmosis = {version = "0.11.22", extras = ["workbench"]}

poetry lock yields the following error:

$ poetry lock
Updating dependencies
Resolving dependencies... (5.8s)

Because dbt-bigquery (1.6.1) depends on dbt-core (>=1.6.0,<1.7.0)
 and no versions of dbt-core match >1.6.0,<1.7.0, dbt-bigquery (1.6.1) requires dbt-core (1.6.0).
And because dbt-core (1.6.0) depends on protobuf (>=4.0.0), dbt-bigquery (1.6.1) requires protobuf (>=4.0.0).
And because dbt-osmosis (0.11.22) depends on streamlit (1.20.0) which depends on protobuf (>=3.12,<4), dbt-bigquery (1.6.1) is incompatible with dbt-osmosis (0.11.22).
So, because inquirer-dbt depends on both dbt-bigquery (1.6.1) and dbt-osmosis (0.11.22), version solving failed.
sdepablos commented 10 months ago

Same issue. Streamlit is at 1.2.0, but it does not support Protobuf 4 until version 1.23.1 https://github.com/streamlit/streamlit/releases/tag/1.23.1

z3z1ma commented 10 months ago

Will take a look today

z3z1ma commented 10 months ago

Resolved in 0.12.0 release, relaxed streamlit pin