I noticed the autopkgtest check on riscv64 failed for python3-mcp, and
had a look. I was able to build the package on ricci.debian.org, and
trigger a failure by running pybuild-autopkgtest, but this time it only
failed in one test. The problem seem to be performace related, and the
following patch got the failed test working.
--- python-mcp-1.28.1.orig/tests/shared/test_streamable_http.py
+++ python-mcp-1.28.1/tests/shared/test_streamable_http.py
@@ -2133,7 +2133,7 @@ async def test_streamable_http_multiple_
params=types.CallToolRequestParams(
name="tool_with_multiple_stream_closes",
# retry_interval=500ms, so sleep 600ms to ensure reconnect completes
- arguments={"checkpoints": 3, "sleep_time": 0.6},
+ arguments={"checkpoints": 3, "sleep_time": 1.2},
),
)
),
Without this patch, the testing fail with this error message:
E + where 7 = len(['3', '4', '5', '6', '7', '8', ...])
tests/shared/test_streamable_http.py:2149: AssertionError
Perhaps there are other preformance related tests that are failing on
riscv64 too?