<#7604 flytekit plugin CI red on master: flytekit-...
# flyte-github
a
#7604 flytekit plugin CI red on master: flytekit-spark and flytekit-onnx-scikitlearn builds failing Issue created by 1fanwang The
build-plugins (3.12, flytekit-spark)
and
build-plugins (3.12, flytekit-onnx-scikitlearn)
jobs are failing on
master
, so every open PR inherits two red checks regardless of its own diff. The last green
master
push run was Jun 1 (
0e2463a10
); the Jun 22 runs (
735f322ba
,
e96c72030
) are both red. flytekit-spark Two independent breakages: •
aioresponses
is no longer compatible with the resolved
aiohttp
(3.14):
ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer'
, plus
unittest.mock.InvalidSpecError: Cannot spec a Mock object
on
current_context
. •
pyspark
4.x breaks the schema-transformer tests:
Failed to convert type <class 'unittest.mock.MagicMock'> ... DataFrames of type <class 'unittest.mock.MagicMock'> are not supported
, and Py4J errors in
test_wf
/
test_spark_task
(
o688.union
). flytekit-onnx-scikitlearn Collection fails before any test runs:
Copy code
ImportError while importing test module '.../plugins/flytekit-onnx-scikitlearn/tests/test_onnx_scikitlearn.py'.
E   ModuleNotFoundError: No module named 'sklearn.base'; 'sklearn' is not a package
Prior attempt #3444 capped
aiohttp<3.14
in
plugins/flytekit-spark/dev-requirements.in
. I closed it because the pin alone doesn't green the build — the
-U
install step re-resolves the
dev-requirements.in
pin away, and it doesn't touch the
pyspark
4.x failures. The shape that seems right for spark is
aiohttp<3.14
in
setup.py
plus a
pyspark<4
cap, but the onnx-scikitlearn
sklearn
error looks like a separate dependency-resolution problem rather than the same root cause. Could you point me at the preferred fix shape — where the version bounds should live, and whether the plugin test deps are due a broader re-pin? Happy to put the PR up once I know the direction you'd prefer. @machichima flyteorg/flyte