From ae6568b7578504b35cf60469d3666e56d26ff7ca Mon Sep 17 00:00:00 2001 From: Morgan Wowk Date: Fri, 22 May 2026 18:39:32 -0700 Subject: [PATCH 1/2] Pin kubernetes below v36 to avoid breaking API changes kubernetes v36 introduced two regressions that break local and staging operation: 1. ApiClient.__deserialize_model() now accesses self.configuration which is unset when constructed via ApiClient.__new__() (bypassing __init__). 2. _set_config() stores exec credentials under api_key['authorization'] but auth_settings() was changed to check api_key['BearerToken'], leaving all requests unauthenticated (system:anonymous). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a6ece60..930e451 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ dependencies = [ "bugsnag>=4.9.0,<5", "cloud-pipelines>=0.23.2.4", "fastapi[standard]>=0.115.12", - "kubernetes>=33.1.0", + "kubernetes>=33.1.0,<36", "opentelemetry-api>=1.41.1", "opentelemetry-exporter-otlp-proto-grpc>=1.41.1", "opentelemetry-exporter-otlp-proto-http>=1.39.1", From 5a0ec1111c2d29ce6bf144cba99c60fa025593db Mon Sep 17 00:00:00 2001 From: Morgan Wowk Date: Thu, 28 May 2026 13:28:11 -0700 Subject: [PATCH 2/2] chore: Update uv.lock to reflect kubernetes<36 upper bound --- uv.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uv.lock b/uv.lock index 795f9a8..abf5e28 100644 --- a/uv.lock +++ b/uv.lock @@ -15,7 +15,7 @@ resolution-markers = [ ] [options] -exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. +exclude-newer = "2026-05-21T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. exclude-newer-span = "P7D" [[package]] @@ -660,7 +660,7 @@ requires-dist = [ { name = "bugsnag", specifier = ">=4.9.0,<5" }, { name = "cloud-pipelines", specifier = ">=0.23.2.4" }, { name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" }, - { name = "kubernetes", specifier = ">=33.1.0" }, + { name = "kubernetes", specifier = ">=33.1.0,<36" }, { name = "opentelemetry-api", specifier = ">=1.41.1" }, { name = "opentelemetry-exporter-otlp-proto-grpc", specifier = ">=1.41.1" }, { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.39.1" },