#dagger fails after upgrade to 0.10.3

1 messages · Page 1 of 1 (latest)

alpine pulsar
#

After the upgrade locally to dagger version 0.10.3, i am facing the next issue by running any dagger command: ```Error: input: moduleSource.withContextDirectory.asModule failed to create module: failed to update codegen and runtime: failed to generate code: failed to call sdk module codegen: call function "Codegen": process "/runtime" did not complete successfully: exit code: 2

Stdout:
json: error calling MarshalJSON for type *dagger.GeneratedCode: input: container.from.withMountedCache.withExec.withEnvVariable.withEnvVariable.withMountedDirectory.withMountedDirectory.withExec.withNewFile.withExec.withMountedDirectory.withWorkdir.withExec.withExec.withExec.directory process "python -m dagger codegen --output /sdk/src/dagger/client/gen.py --introspection /schema.json" did not complete successfully: exit code: 1```

#

i downgraded back to 0.10.1 and still have this issue... i did not have it before the upgrade

alpine pulsar
#

dagger run python3 main.py works, dagger init, dagger functions and dagger call fail.

brittle inlet
#

Beartype released a new version today that reverts the breaking change, so you can try again and it should work.

heady moon
brittle inlet
#

Yeah he's always like that 🙂

alpine pulsar
#

I have a question, it started working locally but on CI with gitlab-runners and dagger engine in kubernetes, same issue

brittle inlet
#

Can you confirm which version is being installed through the logs?

#

Beartype's version I mean.

alpine pulsar
#

there is no beartype version appearing in logs

brittle inlet
#

How about dagger version?

#

Latest?

alpine pulsar
#

yes 0.10.3

#

i tried downgrading to 0.10.1 but then it's another issue saying unknown command 'from' on dagger call

#

something a colleague is able to reproduce locally, but not me....