Skip to content

Conversation

@jthielen
Copy link
Collaborator

@jthielen jthielen commented Aug 2, 2020

Description Of Changes

As alluded to in #1430 (comment), bumping xarray's minimum version to 0.14.1 allows us to clear out some PendingDeprecationWarnings due to our usage of Dataset.apply and Dataset.drop, so that's what I've done here. From running the test suite locally, it goes from

1040 passed, 68 warnings in 60.24s

to

1040 passed, 42 warnings in 58.61s

Not sure if I should add any direct testing that these warnings are no longer issued?

Checklist

  • Closes #xxxx
  • Tests added
  • Fully documented

@jthielen jthielen added Type: Maintenance Updates and clean ups (but not wrong) Area: Xarray Pertains to xarray integration labels Aug 2, 2020
@jthielen jthielen added this to the 1.0 milestone Aug 2, 2020
@jthielen
Copy link
Collaborator Author

jthielen commented Aug 3, 2020

@dopplershift Any idea with what's up with the second Travis CI check showing as queued, but then links to the completed job on Travis's site? Looks like same thing as #1430.

@dopplershift
Copy link
Member

I’m not sure what’s up with Travis, but it’s the kind of thing that gets it relegated to second class status, or even turned off. Every seems to be passing as expected in the actual builds.



def test_distances_from_cross_section_given_bad_coords(test_cross_xy):
"""Ensure an AttributeError is raised when the cross section lacks neeed coordinates."""
Copy link
Member

Choose a reason for hiding this comment

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

Not your change, but looks like we dropped a letter there.

Copy link
Member

Choose a reason for hiding this comment

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

By all means put in a PR for that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hey, it's cross sections, so the git blame is probably mine anyways!

@dopplershift dopplershift merged commit d5f85f8 into Unidata:master Aug 3, 2020
@jthielen jthielen deleted the xarray-warning-cleanup branch January 18, 2021 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Xarray Pertains to xarray integration Type: Maintenance Updates and clean ups (but not wrong)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants