Commit fafb9d4
fix: pin kubernetes<36 in daemon Dockerfile to fix dagster-k8s AttributeError
kubernetes 36.0.0 changed dict type annotations in its generated models in a way
that dagster-k8s 0.29.x does not handle. The _is_openapi_dict_type check in
dagster_k8s/models.py only matches 'dict(' (old format) but kubernetes 36 emits
'dict[str, str]', causing:
AttributeError: module 'kubernetes.client.models' has no attribute 'dict[str, str]'
The project uv.lock files consistently pin to kubernetes==35.0.0 which worked
correctly. Pin the daemon image install to <36 until dagster-k8s resolves the
incompatibility upstream.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b61d660 commit fafb9d4
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments