From 133ce81cff93b210f968404af7170cd95e7acdb7 Mon Sep 17 00:00:00 2001 From: anon Date: Sun, 14 Jun 2026 19:38:13 +0200 Subject: [PATCH] test: cap matplotlib<3.11 to stabilize image-comparison baselines Co-Authored-By: Claude Opus 4.8 --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a3a9308cb..9a67f5d83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,6 +98,10 @@ dev = [ ] test = [ "coverage[toml]>=7", + # Image-comparison baselines are matplotlib-version-sensitive; matplotlib 3.11.0 (released + # 2026-06-12) shifts scatter/alpha rendering past the RMS tolerance. Cap for tests only + # (the runtime dependency stays open) until the baselines are regenerated against 3.11. + "matplotlib<3.11", "pytest>=7", # Just for VS Code "pytest-cov>=4",