From cd7e4f4151d9f1e2ca60e3d6820d7f2948586407 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Thu, 3 Dec 2026 14:57:45 +0100 Subject: [PATCH 1/2] test: match the garbage collector's warnings on Python 3.14 Python 3.14 reports an error in a finalizer as "Exception ignored while ..." where earlier versions say "Exception ignored in: ...". The filters for leaked event loops, sockets and s3fs sessions did not match the new wording, so on 3.14 such a leak could fail whichever test was running when it was finalized. Assisted-by: ClaudeCode:claude-opus-5-5 --- pyproject.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0b2216ef3c..54936c7ca3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -441,10 +441,12 @@ filterwarnings = [ "error", "ignore:Unclosed client session Date: Thu, 3 Dec 2026 14:57:46 +0100 Subject: [PATCH 2/2] test: report weakref callback errors on Python 3.14 The filter for s3fs sessions that were never entered also ignored every error in a weakref callback run by the garbage collector on Python 3.14 (except the free-threaded build), because its "on calling weakref callback" alternative had no condition on the error. It now requires "Session was never entered" in all cases. Assisted-by: ClaudeCode:claude-opus-5-5 --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 54936c7ca3..078de165b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -441,12 +441,13 @@ filterwarnings = [ "error", "ignore:Unclosed client session