Use pathlib.Path instead of matplotlib.path.Path in text.pyi#30672
Merged
timhoffm merged 1 commit intomatplotlib:mainfrom Oct 22, 2025
Merged
Use pathlib.Path instead of matplotlib.path.Path in text.pyi#30672timhoffm merged 1 commit intomatplotlib:mainfrom
timhoffm merged 1 commit intomatplotlib:mainfrom
Conversation
timhoffm
approved these changes
Oct 22, 2025
story645
approved these changes
Oct 22, 2025
meeseeksmachine
pushed a commit
to meeseeksmachine/matplotlib
that referenced
this pull request
Oct 22, 2025
…path.Path in text.pyi
Member
|
Thanks @rafakatri, and congratulations on your first contribution to Matplotlib! 🎉 |
QuLogic
added a commit
that referenced
this pull request
Oct 22, 2025
…672-on-v3.10.x Backport PR #30672 on branch v3.10.x (Use pathlib.Path instead of matplotlib.path.Path in text.pyi)
ilakkmanoharan
pushed a commit
to ilakkmanoharan/matplotlib
that referenced
this pull request
Oct 30, 2025
Use pathlib.Path instead of matplotlib.path.Path in text.pyi
andreas16700
added a commit
to andreas16700/matplotlib
that referenced
this pull request
Jan 26, 2026
PR matplotlib#30672: Use pathlib.Path instead of matplotlib.path.Path in text.pyi Files changed: - lib/matplotlib/text.pyi (1 line - type stub) This is a type stub fix only (for type checkers). ezmon should not select any tests (type stubs don't affect runtime). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
andreas16700
added a commit
to andreas16700/matplotlib
that referenced
this pull request
Jan 26, 2026
Reset to upstream 7266008 (PR matplotlib#30672) - Added -n auto for parallel test execution (matches upstream) - Added --ezmon-noselect to force all tests while collecting fingerprints - Added --timeout=300 --maxfail=50 to match upstream - Discarded Runs 6-12 (codebase parity not verified) This establishes a proper baseline with parallel execution isolation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
PR summary
Closes #30669
Fix type annotation for Text.fontproperties in text.pyi.
Change import from matplotlib.path.Path to pathlib.Path so that fontproperties correctly accepts filesystem paths. This resolves type checker errors while keeping runtime behavior unchanged.
PR checklist