Hello, when I pip install following requirements: ...
# troubleshooting
f
Hello, when I pip install following requirements:
Copy code
meltano==1.84.0
dbt-postgres==0.21.0
It reports:
Copy code
The conflict is caused by:
    meltano 1.84.0 depends on jsonschema<3.0.0 and >=2.6.0
    hologram 0.0.14 depends on jsonschema<3.2 and >=3.0

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
Is that possible to make meltano use jsonschema>=3.0, which was released in two yeas ago?
e
Hi @francis_niu! Seems like we should be able to bump our version of jsonschema. Also, Meltano can install dbt as a plugin and that way you won't have any conflict between their respective dependencies. You can keep installing only the postgres adapter by making it a custom transformer plugin:
Copy code
meltano add --custom transformer dbt # and use 'dbt-postgres' for the pip_url
a
Agreed with both - installing dbt as a plugin - or making sure to install meltano with a virtualenv or with pipx, should resolve any version conflicts, and is a good practice in general. But also, I see @edgar_ramirez_mondragon just opened an MR to bump the jsonschema library version, and that sounds like a good path also.
f
Thank you guys! I use dagster to orchestrate meltano sync and dbt transform. Because I need run multiple meltano elt to sync data for all shards and then transform after all of these. That’s why I use stand-alone dbt instead of a plugin.