Skip to content
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

Fix build #1352

Merged
merged 8 commits into from
Apr 16, 2020
Merged

Fix build #1352

merged 8 commits into from
Apr 16, 2020

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented Apr 16, 2020

Description Of Changes

Trying to get CI passing again. Mainly changes to fix tests with matplotlib 3.2 now that we have proper testing packages for it.

Checklist

This apparently will be the default and the option is going away (in
favor of opting-in to capture the output). Removing it silences a
warning.
@dopplershift dopplershift requested a review from dcamron as a code owner April 16, 2020 08:07
@dopplershift dopplershift added Area: Tests Affects tests Type: Maintenance Updates and clean ups (but not wrong) labels Apr 16, 2020
@dopplershift
Copy link
Member Author

There's a ton of crap (warnings, out of date configs) that needs updating, but I'll get that later. I just want to see CI finally green, and we can pull this into the 0.12.x branch.

@dopplershift dopplershift added this to the 1.0 milestone Apr 16, 2020
One has minor pixel-level differences, the other looks like fallout from
matplotlib fixing some text positioning and clipping issues.
This test was created before aspect ratio work, but merged after. We use
aspect ratio='auto' to keep the images the same across matplotlib
versions, but this test was missing it. It didn't matter until
matplotlib 3.2 came out.
drop_vars is only available on xarray 0.14.0
Have to see what's going on later.
Update image to reflect matplotlib 3.2, and skip on all prior versions.
Not sure where this was used exactly, but this does not seem to be used
anywhere now.
@kgoebber
Copy link
Collaborator

Just a small error in accessing the xarray site when CI was running. Should be good to go. Yay for maintenance work! Ugh.

Copy link
Collaborator

@jthielen jthielen left a comment

Choose a reason for hiding this comment

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

Looks good to me. Sorry about this: 26dfa18. I was overzealous in clearing out the deprecation warning in #1325, and didn't realize drop_vars was only added in v0.14.1.

@dopplershift
Copy link
Member Author

No worries @jthielen. Something like that always creeps in while CI if failing for “known reasons”.

@dopplershift dopplershift merged commit fd319f5 into Unidata:master Apr 16, 2020
@dopplershift dopplershift deleted the fix-build branch April 16, 2020 19:55
@dopplershift dopplershift modified the milestones: 1.0, 0.12.2 Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Tests Affects tests Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metpy tests are failing with matplotlib 3.2.0
4 participants