From 2d5681dbb0126e5e9f163c7fe6a12d7f1af046ba Mon Sep 17 00:00:00 2001 From: Chi-Sheng Liu Date: Fri, 14 Jun 2024 16:40:11 +0800 Subject: [PATCH] fix(ci): Fix CI error Resolves: flyteorg/flyte#4408 Signed-off-by: Chi-Sheng Liu --- .github/workflows/pythonbuild.yml | 2 +- plugins/flytekit-kf-mpi/setup.py | 2 +- plugins/flytekit-kf-pytorch/setup.py | 2 +- plugins/flytekit-kf-tensorflow/setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index f56caffc0da..d1fdc81aacc 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -418,7 +418,7 @@ jobs: uv pip install --system . if [ -f dev-requirements.in ]; then uv pip install --system -r dev-requirements.in; fi # TODO: move to protobuf>=5. Github issue: https://github.com/flyteorg/flyte/issues/5448 - uv pip install --system -U $GITHUB_WORKSPACE "protobuf<5" + uv pip install --system -U "protobuf<5" uv pip freeze - name: Test with coverage run: | diff --git a/plugins/flytekit-kf-mpi/setup.py b/plugins/flytekit-kf-mpi/setup.py index 05efff84b08..6b1cb0e7629 100644 --- a/plugins/flytekit-kf-mpi/setup.py +++ b/plugins/flytekit-kf-mpi/setup.py @@ -4,7 +4,7 @@ microlib_name = f"flytekitplugins-{PLUGIN_NAME}" -plugin_requires = ["flytekit>=1.6.1,<2.0.0"] +plugin_requires = ["flyteidl>1.12.2", "flytekit>=1.6.1"] __version__ = "0.0.0+develop" diff --git a/plugins/flytekit-kf-pytorch/setup.py b/plugins/flytekit-kf-pytorch/setup.py index cc90e0b299e..7be0a07b19d 100644 --- a/plugins/flytekit-kf-pytorch/setup.py +++ b/plugins/flytekit-kf-pytorch/setup.py @@ -4,7 +4,7 @@ microlib_name = f"flytekitplugins-{PLUGIN_NAME}" -plugin_requires = ["cloudpickle", "flyteidl>=1.5.1", "flytekit>=1.6.1"] +plugin_requires = ["cloudpickle", "flyteidl>1.12.2", "flytekit>=1.6.1"] __version__ = "0.0.0+develop" diff --git a/plugins/flytekit-kf-tensorflow/setup.py b/plugins/flytekit-kf-tensorflow/setup.py index 25ffe19eec0..c3983cec500 100644 --- a/plugins/flytekit-kf-tensorflow/setup.py +++ b/plugins/flytekit-kf-tensorflow/setup.py @@ -4,7 +4,7 @@ microlib_name = f"flytekitplugins-{PLUGIN_NAME}" -plugin_requires = ["flyteidl>=1.10.0", "flytekit>=1.6.1"] +plugin_requires = ["flyteidl>1.12.2", "flytekit>=1.6.1"] __version__ = "0.0.0+develop"