https://dagster.io/ logo
Title
e

Ethan Leifer

04/13/2023, 10:28 PM
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

Tim Castillo

04/13/2023, 10:30 PM
Hi there! Are you hitting any issues putting it as a dependency under
[tool.poetry.dependencies]
?
e

Ethan Leifer

04/13/2023, 10:31 PM
I am having issues with the grpc library
I think it is because I am on an m1 mac
t

Tim Castillo

04/13/2023, 10:35 PM
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:
poetry source add grpcio <https://github.com/dagster-io/build-grpcio/wiki/Wheels>
e

Ethan Leifer

04/13/2023, 10:36 PM
Ive decided to just run everything in a container so I don’t have the issue of running in locally
t

Tim Castillo

04/13/2023, 10:37 PM
Got it, thank you for your patience! 🙇🏽
e

Ethan Leifer

04/13/2023, 10:38 PM
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

Tim Castillo

04/13/2023, 10:40 PM
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

Ethan Leifer

04/13/2023, 10:40 PM
makes sense
Thanks!
:rainbow-daggy: 1