Remove Python 3.10 support now that it is EOL (#60402)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0004536dd0
commit
21d9758459
@@ -630,7 +630,7 @@ async def _poll_until_api_server_running(
|
||||
timeout=request_timeout,
|
||||
):
|
||||
return
|
||||
except (aiohttp.ClientError, asyncio.TimeoutError) as exc:
|
||||
except (TimeoutError, aiohttp.ClientError) as exc:
|
||||
last_exc = exc
|
||||
print("Test detected not started yet, sleeping for 1s")
|
||||
remaining_s = deadline - time.monotonic()
|
||||
|
||||
@@ -285,7 +285,7 @@ async def test_wait_timeout_completes_requests():
|
||||
sigterm_sent.set()
|
||||
|
||||
await asyncio.wait_for(request_task, timeout=_SHUTDOWN_DETECTION_TIMEOUT)
|
||||
except asyncio.TimeoutError:
|
||||
except TimeoutError:
|
||||
pass
|
||||
finally:
|
||||
state.stop_requesting = True
|
||||
@@ -463,7 +463,7 @@ async def test_abort_timeout_fails_inflight_requests():
|
||||
|
||||
try:
|
||||
await asyncio.wait_for(request_task, timeout=5)
|
||||
except asyncio.TimeoutError:
|
||||
except TimeoutError:
|
||||
pass
|
||||
finally:
|
||||
state.stop_requesting = True
|
||||
@@ -592,7 +592,7 @@ async def test_multi_api_server_shutdown():
|
||||
|
||||
try:
|
||||
await asyncio.wait_for(request_task, timeout=_SHUTDOWN_DETECTION_TIMEOUT)
|
||||
except asyncio.TimeoutError:
|
||||
except TimeoutError:
|
||||
pass
|
||||
finally:
|
||||
state.stop_requesting = True
|
||||
|
||||
Reference in New Issue
Block a user