Skip to content

Commit 5f18f2b

Browse files
committed
test: cap matplotlib<3.11 for the test env to stabilize image baselines
matplotlib 3.11.0 (released 2026-06-12) changes colorbar/image rasterization enough to push tests/pl/test_colorbar.py image comparisons past the RMS tolerance (RMS ~22-31 vs 15), failing CI repo-wide on the py3.11-stable env. Cap matplotlib in the 'test' dependency-group only; the runtime dependency stays open so users/downstream still get 3.11. Temporary until the colorbar baselines are regenerated against 3.11.
1 parent 94a0a50 commit 5f18f2b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ dev = [
4848
]
4949
test = [
5050
"coverage[toml]>=7.4",
51+
# Image-comparison baselines are matplotlib-version-sensitive; matplotlib 3.11.0 (released
52+
# 2026-06-12) shifts colorbar rendering past the comparison tolerance. Cap for tests only
53+
# (the runtime dependency stays open) until the baselines are regenerated against 3.11.
54+
"matplotlib<3.11",
5155
"pooch",
5256
"pytest",
5357
"pytest-cov",

0 commit comments

Comments
 (0)