Skip to content

DEP: update minimal recommendation for matplotlib (3.3.4 -> 3.6.0) - #16557

Merged
pllim merged 2 commits into
astropy:mainfrom
neutrinoceros:dep/update_mpl_min_req
Jun 14, 2024
Merged

pllim merged 2 commits into
astropy:mainfrom
neutrinoceros:dep/update_mpl_min_req

Conversation

@neutrinoceros

Copy link
Copy Markdown
Contributor

Description

matplotlib 3.5.0 was the first version to support Python 3.10 so we're de facto not supporting 3.3 and 3.4 anymore

This originated from conda-forge/astropy-feedstock#137 (comment)

  • By checking this box, the PR author has requested that maintainers do NOT use the "Squash and Merge" button. Maintainers should respect this when possible; however, the final decision is at the discretion of the maintainer that merges the PR.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.

  • Do the proposed changes actually accomplish desired goals?
  • Do the proposed changes follow the Astropy coding guidelines?
  • Are tests added/updated as required? If so, do they follow the Astropy testing guidelines?
  • Are docs added/updated as required? If so, do they follow the Astropy documentation guidelines?
  • Is rebase and/or squash necessary? If so, please provide the author with appropriate instructions. Also see instructions for rebase and squash.
  • Did the CI pass? If no, are the failures related? If you need to run daily and weekly cron jobs as part of the PR, please apply the "Extra CI" label. Codestyle issues can be fixed by the bot.
  • Is a change log needed? If yes, did the change log check pass? If no, add the "no-changelog-entry-needed" label. If this is a manual backport, use the "skip-changelog-checks" label unless special changelog handling is necessary.
  • Is this a big PR that makes a "What's new?" entry worthwhile and if so, is (1) a "what's new" entry included in this PR and (2) the "whatsnew-needed" label applied?
  • At the time of adding the milestone, if the milestone set requires a backport to release branch(es), apply the appropriate "backport-X.Y.x" label(s) before merge.

@neutrinoceros neutrinoceros changed the title DEP: update minimal recommendatioin for matplotlib DEP: update minimal recommendation for matplotlib Jun 12, 2024
@neutrinoceros

Copy link
Copy Markdown
Contributor Author

@eerovaher reminded me that image tests were still somehow setup to use mpl 3.3.4 so I'm going to update that too.

FYI @Cadair

@neutrinoceros
neutrinoceros force-pushed the dep/update_mpl_min_req branch 2 times, most recently from 0a10be1 to 8314d6e Compare June 12, 2024 08:38
@neutrinoceros
neutrinoceros marked this pull request as draft June 12, 2024 08:39
@neutrinoceros
neutrinoceros marked this pull request as draft June 12, 2024 08:39
@neutrinoceros

Copy link
Copy Markdown
Contributor Author

switching to draft for now, until I know for sure that CI stays green.

@neutrinoceros
neutrinoceros force-pushed the dep/update_mpl_min_req branch from 8122061 to 9e4316f Compare June 12, 2024 09:41
@neutrinoceros neutrinoceros changed the title DEP: update minimal recommendation for matplotlib DEP: update minimal recommendation for matplotlib (3.3.4 -> 3.5.0) Jun 12, 2024
@neutrinoceros
neutrinoceros marked this pull request as ready for review June 12, 2024 09:50
@neutrinoceros

Copy link
Copy Markdown
Contributor Author

of course one blocker for such PR is that the circleci job named mpl334 is currently required for merging

@pllim

pllim commented Jun 14, 2024

Copy link
Copy Markdown
Member
  1. In PR like this, I can override the branch protection checks because I will have to update the rules after merge, so don't sweat about mpl334 missing. :)
  2. Should we delete py310-test-image-mpl334-cov.json?
  3. By SPEC 0, should we bump straight to matplotlib 3.6? 🤔

@Cadair

Cadair commented Jun 14, 2024 •

Copy link
Copy Markdown
Member

SPEC 0 says bump to 3.6.0 in Q3 2024 which would be our next release right? So yeah I think we should bump to 3.6.0 now.

Should we delete py310-test-image-mpl334-cov.json?

Yes

@astrofrog

Copy link
Copy Markdown
Member

If we need to bump to 3.6.0 now we should rename the mpl350 JSON file to mpl360, add a mpl360 job and see if any of the hashes need to be updated.

@neutrinoceros

Copy link
Copy Markdown
Contributor Author

By popular demand, now bumping to 3.6.0 !

@neutrinoceros
neutrinoceros marked this pull request as draft June 14, 2024 12:13
@neutrinoceros
neutrinoceros force-pushed the dep/update_mpl_min_req branch from 860c867 to 6939960 Compare June 14, 2024 12:22
@neutrinoceros
neutrinoceros marked this pull request as ready for review June 14, 2024 12:23
@neutrinoceros neutrinoceros changed the title DEP: update minimal recommendation for matplotlib (3.3.4 -> 3.5.0) DEP: update minimal recommendation for matplotlib (3.3.4 -> 3.6.0) Jun 14, 2024
@pllim

pllim commented Jun 14, 2024

Copy link
Copy Markdown
Member

LGTM but needs a change log. Thanks!

@neutrinoceros
neutrinoceros force-pushed the dep/update_mpl_min_req branch from 6939960 to bbfdab5 Compare June 14, 2024 13:58
@neutrinoceros

Copy link
Copy Markdown
Contributor Author

done !

Comment thread pyproject.toml Resolved
@pllim
pllim merged commit 40ffccb into astropy:main Jun 14, 2024
@pllim

pllim commented Jun 14, 2024

Copy link
Copy Markdown
Member

Updated the branch protection rules. This means all open PRs will need a rebase. FYI.

Thanks!

@neutrinoceros
neutrinoceros deleted the dep/update_mpl_min_req branch June 14, 2024 19:38
rlwastro pushed a commit to rlwastro/astropy that referenced this pull request Jun 14, 2024
…stropy#16557)

* DEP: update minimal recommendation for matplotlib (3.3.4 -> 3.6.0)
d-giles referenced this pull request in d-giles/astropy-abdufork Jul 26, 2024
…16557)

* DEP: update minimal recommendation for matplotlib (3.3.4 -> 3.6.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants