Skip to content

test: cap matplotlib<3.11 to stabilize image-comparison baselines#1208

Merged
timtreis merged 1 commit into
scverse:mainfrom
timtreis:fix/matplotlib-3.11-test-cap
Jun 14, 2026
Merged

test: cap matplotlib<3.11 to stabilize image-comparison baselines#1208
timtreis merged 1 commit into
scverse:mainfrom
timtreis:fix/matplotlib-3.11-test-cap

Conversation

@timtreis

Copy link
Copy Markdown
Member

matplotlib 3.11.0 (released 2026-06-12) shifts scatter/alpha rasterization past the RMS tolerance, failing test_plot_spatial_scatter_categorical_alpha (RMS 51.18 vs tol 50) on the hatch-test ...-stable envs. This breaks CI repo-widemain and every open PR go red once uv resolves 3.11.

Cap matplotlib<3.11 in the test dependency-group only; the runtime dependency stays open, so users and downstream libraries still resolve 3.11. Temporary until the baseline is regenerated against 3.11.

Mirrors scverse/spatialdata-plot#713.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.29%. Comparing base (3246a54) to head (133ce81).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1208   +/-   ##
=======================================
  Coverage   75.29%   75.29%           
=======================================
  Files          59       59           
  Lines        8429     8429           
  Branches     1395     1395           
=======================================
  Hits         6347     6347           
  Misses       1527     1527           
  Partials      555      555           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timtreis timtreis merged commit e8d3618 into scverse:main Jun 14, 2026
12 of 13 checks passed
@timtreis timtreis deleted the fix/matplotlib-3.11-test-cap branch June 14, 2026 18:13
@selmanozleyen selmanozleyen added the release-ignore Exclude from generated release notes label Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-ignore Exclude from generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants