Skip to content

Reuse subprocess_run_helper in test_pylab_integration. #23106

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
May 23, 2022

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented May 23, 2022

It's basically here for that purpose...

Followup to #23057.

PR Summary

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).

It's basically here for that purpose...
@tacaswell tacaswell modified the milestones: v3.6.0, v3.5.3 May 23, 2022
@tacaswell tacaswell merged commit 51624b6 into matplotlib:main May 23, 2022
@lumberbot-app
Copy link

lumberbot-app bot commented May 23, 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.5.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 51624b6e7d5df970a19e5eac5ff6928ffc035654
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #23106: Reuse subprocess_run_helper in test_pylab_integration.'
  1. Push to a named branch:
git push YOURFORK v3.5.x:auto-backport-of-pr-23106-on-v3.5.x
  1. Create a PR against branch v3.5.x, I would have named this PR:

"Backport PR #23106 on branch v3.5.x (Reuse subprocess_run_helper in test_pylab_integration.)"

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.

@tacaswell tacaswell mentioned this pull request May 23, 2022
7 tasks
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request May 23, 2022
MNT: Reuse subprocess_run_helper in test_pylab_integration.
(cherry picked from commit 51624b6)
@anntzer anntzer deleted the tpi branch May 23, 2022 22:43
jklymak pushed a commit that referenced this pull request Jun 2, 2022
* Backport PR #23057: FIX: ensure switching the backend installs repl hook

Merge pull request #23057 from tacaswell/fix_pylab

(cherry picked from commit b31c5ae)

* Merge pull request #23106 from anntzer/tpi

MNT: Reuse subprocess_run_helper in test_pylab_integration.
(cherry picked from commit 51624b6)

* TST: Adjust to state tracking on 3.5.x branch

The implementation of tracking if the repl displayhook is installed changed on
main.  Adjust the backported test to work with the old way.

Co-authored-by: Antony Lee <anntzer.lee@gmail.com>
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