Pin matplotlib==3.10.9 for extra dev dependencies#541
Merged
thierry-martinez merged 4 commits intoJun 13, 2026
Merged
Conversation
This commit adds a pin to `matplotlib==3.10.9` in the `dev` extra dependencies. Matplotlib 3.11.0 introduces visual changes that break our graphical-regression tests. As we do for other packages whose new releases can break the test suite, we pin a precise version in the `dev` extra to ensure reproducible CI while keeping the package unpinned in the default dependencies so users can choose whichever version they prefer. We pin `3.10.9` instead of the newer `3.11.0` because the latter drops support for Python 3.11, which we continue to support until its official end-of-life (October 2026): https://devguide.python.org/versions/
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #541 +/- ##
=======================================
Coverage 88.85% 88.85%
=======================================
Files 49 49
Lines 7135 7135
=======================================
Hits 6340 6340
Misses 795 795 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
Author
We cannot run `pytest --mpl` in `test_minimal` (without extra), since the visualization output depends on the version of Matplotlib, and the pinning is only in the `dev` extra.
mgarnier59
approved these changes
Jun 13, 2026
This was referenced Jun 13, 2026
GrovyleX
pushed a commit
to GrovyleX/graphix
that referenced
this pull request
Jun 13, 2026
* Pin `matplotlib==3.10.9` for extra `dev` dependencies This commit adds a pin to `matplotlib==3.10.9` in the `dev` extra dependencies. Matplotlib 3.11.0 introduces visual changes that break our graphical-regression tests. As we do for other packages whose new releases can break the test suite, we pin a precise version in the `dev` extra to ensure reproducible CI while keeping the package unpinned in the default dependencies so users can choose whichever version they prefer. We pin `3.10.9` instead of the newer `3.11.0` because the latter drops support for Python 3.11, which we continue to support until its official end-of-life (October 2026): https://devguide.python.org/versions/ * Restore qiskit constraint in `dev` extra * Remove `pytest --mpl` in `tests_minimal` We cannot run `pytest --mpl` in `test_minimal` (without extra), since the visualization output depends on the version of Matplotlib, and the pinning is only in the `dev` extra.
4 tasks
thierry-martinez
added a commit
that referenced
this pull request
Jun 14, 2026
* Pin `matplotlib==3.10.9` for extra `dev` dependencies This commit adds a pin to `matplotlib==3.10.9` in the `dev` extra dependencies. Matplotlib 3.11.0 introduces visual changes that break our graphical-regression tests. As we do for other packages whose new releases can break the test suite, we pin a precise version in the `dev` extra to ensure reproducible CI while keeping the package unpinned in the default dependencies so users can choose whichever version they prefer. We pin `3.10.9` instead of the newer `3.11.0` because the latter drops support for Python 3.11, which we continue to support until its official end-of-life (October 2026): https://devguide.python.org/versions/ * Restore qiskit constraint in `dev` extra * Remove `pytest --mpl` in `tests_minimal` We cannot run `pytest --mpl` in `test_minimal` (without extra), since the visualization output depends on the version of Matplotlib, and the pinning is only in the `dev` extra.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This commit adds a pin to
matplotlib==3.10.9in thedevextra dependencies.Matplotlib 3.11.0 introduces visual changes that break our graphical-regression tests. As we do for other packages whose new releases can break the test suite, we pin a precise version in the
devextra to ensure reproducible CI while keeping the package unpinned in the default dependencies so users can choose whichever version they prefer.We pin
3.10.9instead of the newer3.11.0because the latter drops support for Python 3.11, which we continue to support until its official end-of-life (October 2026):https://devguide.python.org/versions/