Skip to content

Add test and example for VBoxDivider #23865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2022
Merged

Conversation

oscargus
Copy link
Member

PR Summary

VBoxDivider was not tested earlier.

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • New features are documented, with examples if plot related.
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

@oscargus oscargus marked this pull request as draft September 20, 2022 13:54
@oscargus oscargus force-pushed the dividertest branch 2 times, most recently from a17fafc to 575aa5f Compare October 4, 2022 07:29
@oscargus oscargus marked this pull request as ready for review October 4, 2022 07:29
Copy link
Member

@story645 story645 left a comment

Choose a reason for hiding this comment

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

Thanks!

@story645
Copy link
Member

story645 commented Oct 4, 2022

Are tests a bugfix or a new feature?

@oscargus
Copy link
Member Author

oscargus commented Oct 4, 2022

It is not so clear with regards to versioning. Somehow it could go into 3.6.1 because it improves the docs and doesn't modify any library code, but I do not think it is clear if it should. I was actually thinking of splitting into two PRs so that the examples can be updated in 3.6.x.

@story645
Copy link
Member

story645 commented Oct 4, 2022

I put on call agenda to clarify & then we can maybe update docs (I think it's a perennial mystery)

@tacaswell tacaswell added this to the v3.7.0 milestone Oct 4, 2022
@tacaswell
Copy link
Member

I do not think we should backport this sort of thing in general. There is always a risk of the docs / tests accidentally using a new feature.

I think our effort is better spent hitting our 6mo minor release target than backporting every thing that is backport-able.

@story645 story645 requested a review from timhoffm October 23, 2022 19:36
@story645 story645 modified the milestones: v3.7.0, v3.6.2 Oct 28, 2022
@story645 story645 merged commit 3263cfc into matplotlib:main Oct 28, 2022
@lumberbot-app
Copy link

lumberbot-app bot commented Oct 28, 2022

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout v3.6.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 3263cfc5bae36cd2306d8dc9fcc37fbad0eefb92
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #23865: Add test and example for VBoxDivider'
  1. Push to a named branch:
git push YOURFORK v3.6.x:auto-backport-of-pr-23865-on-v3.6.x
  1. Create a PR against branch v3.6.x, I would have named this PR:

"Backport PR #23865 on branch v3.6.x (Add test and example for VBoxDivider)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

@story645
Copy link
Member

🤦 I forgot that this was tests and that needs two approvals oops

@oscargus oscargus deleted the dividertest branch October 28, 2022 22:45
@QuLogic QuLogic modified the milestones: v3.6.2, v3.7.0 Oct 28, 2022
@QuLogic
Copy link
Member

QuLogic commented Oct 28, 2022

No strong reason to do a manual backport here.

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.

5 participants