Hey! Im trying to setup dbt using dagster in a mon...
# integration-dbt
e
Hey! Im trying to setup dbt using dagster in a mono repo using poetry. Is there a example that specifies dependencies using the pyproject.toml format?
t
Hi there! Are you hitting any issues putting it as a dependency under
[tool.poetry.dependencies]
?
e
I am having issues with the grpc library
I think it is because I am on an m1 mac
t
Aah, okay. What version of Dagster are you using? In the past couple weeks, we made some changes to help reduce the issues with
grpcio
. If updating didn't fix it, then you can run this line to use a pre-built
grpcio
that we provide for convenience until Google figures out how to maintain
grpcio:
Copy code
poetry source add grpcio <https://github.com/dagster-io/build-grpcio/wiki/Wheels>
e
Ive decided to just run everything in a container so I don’t have the issue of running in locally
t
Got it, thank you for your patience! 🙇🏽
e
Actually have another question
When I run poetry run dagster scaffold --name jobs It specificies dependies in a setup.py format, so I can just use the pyproject.toml as a drop in replacement?
t
Yeah! You can replace the
setup.py
with
pyproject.toml
if you'd like. We just use
setup.py
by default for convenience and to not ask our users to install additional package management utils, ex. Poetry.
e
makes sense
Thanks!
🌈 1