-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Avoid triggering deprecation warnings with pytest 3.8. #12154
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
Conversation
The new API was introduced in pytest3.6 so bump the test dependency accordingly.
Trying to figure out why Pytest is crashing on Travis on the other branches, and I'm wondering if it's because there are too many warnings. I'm not sure if we should backport this as it bumps the pytest requirement (won't be a problem in Fedora at least)? |
Should this be backported to the 2.2.x branch? |
Lets see if it backports cleanly @meeseeksdev backport to 2.2.x @ArchangeGabriel if that does not go cleanly, are you interested in doing the backport? Failing that, we should just pin/document that you must use old versions of pytest with the 2.2.x branch. |
Something went wrong ... Please have a look at my logs. It seem that the branch you are trying to backport to does not exists. |
@meeseeksdev backport to v2.2.x sigh, second times the charm? |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
I’ve backported cleanly. |
The only difference is that The relevant part:
This fixed ~2500 errors in our build (ArchLinux). I can make a PR. |
Please do! |
Should I revert d7e3789 in the same PR or in a follow-up one? |
I will go with a follow-up one. Just a small note, seems https://github.com/matplotlib/matplotlib/blob/master/.appveyor.yml was not updated during this PR and still lists |
Just a small note that part of my backporting work in #13181 should have been applied to 3.0.x too, and especially this PR. When building 3.0.3 for Arch, I’ve encountered numerous errors in tests that have been fixed in 2.2.4 but not 3.0.3. But since 3.0.3 was the last bugfix release, I suppose it is not worth backporting now? |
Drat, sorry we missed that 😞 3.0.3 is planned to be the last 3.0.x release and I am not sure doing a 3.0.4 to fix future compatibility with pytest is worth it, but if we find anything else we should fix this along with it. |
The new API was introduced in pytest3.6 so bump the test dependency
accordingly.
xref https://docs.pytest.org/en/latest/changelog.html#pytest-3-6-0-2018-05-23
closes #12107.
PR Summary
PR Checklist