https://dagster.io/ logo
#dagster-support
Title
# dagster-support
z

Zach

12/14/2022, 11:42 PM
trying to update to dagster==1.1.6 from 0.15.9, running into an import error when the repository is being loaded:
Copy code
DagsterImportError: Encountered ImportError: `cannot import name 'introspection_query' from 'graphql' (/databricks/python/lib/python3.8/site-packages/graphql/__init__.py)` while importing module repo. Local modules were resolved using the working directory `/Users/zachary.romer/Documents/empirico/etxlib`. If another working directory should be used, please explicitly specify the appropriate path using the `-d` or `--working-directory` for CLI based targets or the `working_directory` configuration option for workspace targets.
it looks like the
gql
library that's referenced in
dagster-graphql
isn't pinned, so it didn't get updated when I updated my environment. does anyone know what minimum version of
gql
is required by
dagster-graphql
? looks like a breaking change in that library is causing issues for me, but I'm having some dependency resolution issues with other requirements when I try pinning it to 3.0.0+
j

jamie

12/15/2022, 3:50 PM
cc @dish or @alex?
a

alex

12/15/2022, 3:55 PM
i think 3+ is right, what errors are you getting from other requirements? you may have better luck feeding as many things as possible in to the same pip install command (and making sure pip is up to date) so it can do all dep resolution. When you selectively update a few library it ignores all the currently installed dependencies and sort of meekly errors about them
z

Zach

12/15/2022, 4:12 PM
yeah that's precisely what I'm trying to do - I keep all my dependencies in a single pyproject.toml file and package up a wheel to do my installs from. unfortunately the package has some other kinda gnarly dependencies and I'm not sure I'll be able to get it to resolve to 3+. it's that "stick everything in the monorepo because we don't want to version our tools" life. I'll figure it out, thanks for the response!
a

alex

12/15/2022, 4:21 PM
yea - we dont care what
gql
is at technically but i think its
graphene>3
->
graphql>3
and due to that
gql
should resolve to
>3
to be happy with the
graphql>3
z

Zach

12/15/2022, 4:27 PM
I see, thanks!
a

alex

12/15/2022, 4:45 PM
blob pray best of luck - this stuff is the worst