You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have started seeing this issue when using the python sdk (as an app, not a dagger module):
dagger.ClientConnectionError: Failed to establish client connection to the Dagger session: Failed to build schema from introspection query: Unknown argument "includeDeprecated" on field "__Field.args".
I believe it is due to a recent release in the gql python library.
I have forced the version of gql to 3.5.3 and that has resolved our issue, since the below is allowing any version >=3.5.0.
^ it crashes when trying to load modules in dagger functions
Error:
ClientConnectionError: Failed to establish client connection to the Dagger
session: Failed to build schema from introspection query: Unknown argument
"includeDeprecated" on field "__Field.args".
! failed to call module "hello-dagger" to get functions: process "/runtime" did not complete successfully: exit code: 1
Error: failed to serve module: input: moduleSource.asModule failed to call module "hello-dagger" to get functions: process "/runtime" did not complete successfully: exit code: 1
So, this seems to "only" affect newly inited dagger modules (and standalone apps, though if using a lockfile, it shouldn't affect you unless you attempt to update dependencies).
A quick workaround is to update the version specified using uv add "gql~=3.5.3" (which includes up to, but not including 4.0.0).
This is still a critical issue IMO, I'm aiming to a release later today with appropriate fixes! 🎉
Reacted by Filip BeBe, fcs-vtl, treebirg, arsenkhachatrian, Lukas Platinsky and Keith Lazuka
Heads up if you constrained the gql version in your modules. From 0.18.15+ it's best to remove the constraint otherwise it will break in 0.18.17 (upcoming):
Activity
[-]Issue with `gql` library started recently[/-][+]Issue with `gql==4.0.0` python library[/+][-]Issue with `gql==4.0.0` python library[/-][+]Issue with `gql==4.0.0` in the python sdk[/+]klazuka commentedon Aug 17, 2025
I came here to report the same error. You can repro by following the steps for the "build a CI pipeline" tutorial
Repro:
^ it crashes when trying to load modules in
dagger functionsError:
filip-be commentedon Aug 18, 2025
+1, it has started failing today :(
I can see in the logs that running
uv syncresolves latestgqlwhich is 4.0.0, while last week it was still3.5.0:Today:

Last week:

jedevc commentedon Aug 18, 2025
Thanks for the quick reports y'all 💛
So, this seems to "only" affect newly
inited dagger modules (and standalone apps, though if using a lockfile, it shouldn't affect you unless you attempt to update dependencies).A quick workaround is to update the version specified using
uv add "gql~=3.5.3"(which includes up to, but not including 4.0.0).This is still a critical issue IMO, I'm aiming to a release later today with appropriate fixes! 🎉
helderco commentedon Sep 3, 2025
Heads up if you constrained the gql version in your modules. From 0.18.15+ it's best to remove the constraint otherwise it will break in 0.18.17 (upcoming):