<#3448 Fix red CI on master: plugin deps (aiohttp/...
# flyte-github
a
#3448 Fix red CI on master: plugin deps (aiohttp/scipy) + flytectl install Pull request opened by 1fanwang Why are the changes needed? Two unrelated failures are reding CI on
master
(and every PR): 1. Plugin builds —
flytekit-spark
and
flytekit-onnx-scikitlearn
. A
-U
dependency step re-resolves
aiohttp
to
>=3.14
(which
aioresponses
can't mock) and pulls
scipy>=1.18
for onnx. See flyteorg/flyte#7604. 2. Integration jobs — both
integration_test_*
jobs die at _Install FlyteCTL_:
Copy code
##[error]Cannot read properties of undefined (reading 'assets')
unionai-oss/flytectl-setup-action@master
resolves "latest" from the first page of
flyteorg/flyte
releases and reads
i[0].assets
. That page is now entirely Flyte 2.0 (
v2.0.x
) tags — no
flytectl/
release on it — so the list is empty and it throws. What changes were proposed in this pull request? • Re-pin
aiohttp<3.14
(spark) and
scipy<1.18
(onnx) after the
-U
step. • Install flytectl by downloading the last release (
flytectl/v0.9.8
) directly from its asset URL instead of the action. The flytectl root cause is in
unionai-oss/flytectl-setup-action
(it reads only the first page of
flyteorg/flyte
releases, now all Flyte 2.0 tags). Fixing the action would be the cleaner fix for everyone, but flytectl is frozen at
v0.9.8
, so pinning it directly is deterministic and avoids depending on that action. Happy to pursue a fix in the action instead if you'd prefer. How was this patch tested? CI on this PR. The plugin builds are green, and the integration jobs now get past Install FlyteCTL and Setup Flyte Sandbox (
flytectl demo start
) — both confirmed green on a prior run of the flytectl change — into the integration tests themselves. Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. flyteorg/flytekit