From e5698244907e61e0f91b57cf3493f25865c4b968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Wed, 28 Oct 2026 09:45:24 +0100 Subject: [PATCH 1/2] Disable dash pytest plugin pytest 9.2.0 applies warning filters while loading entry-point plugins, so dash's deprecated hook marks make pytest -W error fail at startup. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 340ad041..49eb5a9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -134,6 +134,7 @@ full = [ [tool.pytest.ini_options] xfail_strict = true +addopts = "-p no:dash" # dash's pytest plugin uses deprecated hook marks, failing with -W error [tool.coverage.report] exclude_lines = [ From 9f06ee7354aca6251d83a2a8c254507b47e7cbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Wed, 28 Oct 2026 10:00:53 +0100 Subject: [PATCH 2/2] Use Python 3.10.2 for lower-bounds CI job Python 3.10.0 has a dataclass bug (bpo-44649) that makes pytest 9.2.0 crash at startup. 3.10.1 is not provided by uv. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/checks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8f415fd5..5f793dc8 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -40,8 +40,9 @@ jobs: # annotations referencing optional dependencies. - python-version: '3.10' options: 'none' - # Lower-bounds of all dependencies and Python version. - - python-version: '3.10.0' + # Lower-bounds of all dependencies and Python version. Not 3.10.0 because of a dataclass + # bug (bpo-44649) breaking pytest>=9.2.0, nor 3.10.1 because uv doesn't provide it. + - python-version: '3.10.2' extra_groups: 'lower_bounds' # Latest: torch nightly build. - torch_channel: 'nightly'