Skip to content

MNT: Update numpy and pyparsing minimums in _check_versions - #32472

Merged
timhoffm merged 1 commit into
matplotlib:mainfrom
maaz7409:mnt-check-versions
Oct 13, 2026
Merged

timhoffm merged 1 commit into
matplotlib:mainfrom
maaz7409:mnt-check-versions

Conversation

@maaz7409

Copy link
Copy Markdown
Contributor

PR summary

pyproject.toml asks to update matplotlib._check_versions() whenever
the dependency list changes. Two recent bumps missed it:

Dependency pyproject.toml _check_versions() before Raised in
numpy >= 2.0 1.25 #31740 (v3.12.0)
pyparsing >= 3 2.3.1 #29745 (v3.11.0)

This PR sets them to 2.0 and 3.0 respectively. The cycler bump from the same
release cycle already updated this list, so numpy and pyparsing are
the only entries out of sync.

AI Disclosure

Claude Code (Claude Opus 5.5 (high) ) found this while reviewing codebase.

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • [N/A] New and changed code is tested
  • [N/A] Plotting related features are demonstrated in an example
  • [N/A] New features and API changes have release notes
  • [N/A] Documentation complies with general and docstring guidelines

@timhoffm timhoffm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@timhoffm

Copy link
Copy Markdown
Member

I consider this an obvious low-risk change. In favor of review efficiency I skip the second review.

@timhoffm timhoffm added this to the v3.12.0 milestone Oct 13, 2026
@timhoffm
timhoffm merged commit 1f82b49 into matplotlib:main Oct 13, 2026
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants