From 8df9239478cb3872e88566009b24dfee0a858a67 Mon Sep 17 00:00:00 2001 From: Chris White Date: Mon, 9 Sep 2024 15:59:53 -0700 Subject: [PATCH] upper bound prefect kubernetes in hidden worker script --- .github/workflows/integration-tests.yaml | 1 - flows/worker.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index fb80ce59dedb..c4fb6eacfdea 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -212,7 +212,6 @@ jobs: # https://github.com/PrefectHQ/prefect/issues/6989 docker stop "prefect-server-${{ matrix.prefect-version }}" || echo "That's okay!" - prefect version prefect server start --port 4201 --analytics-off > server-logs.txt 2>&1 & ./scripts/wait-for-server.py diff --git a/flows/worker.py b/flows/worker.py index da710af06c0f..0f9c4fbcb478 100644 --- a/flows/worker.py +++ b/flows/worker.py @@ -15,7 +15,7 @@ def main(): TEST_SERVER_VERSION ) >= Version("2.8"): subprocess.check_call( - ["python", "-m", "pip", "install", "prefect-kubernetes"], + ["python", "-m", "pip", "install", "prefect-kubernetes<0.5.0"], stdout=sys.stdout, stderr=sys.stderr, )