home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 681188808

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/4221#issuecomment-681188808 https://api.github.com/repos/pydata/xarray/issues/4221 681188808 MDEyOklzc3VlQ29tbWVudDY4MTE4ODgwOA== 14808389 2020-08-27T00:17:12Z 2020-08-27T00:23:49Z MEMBER

yes, the failing test is definitely due to NEP18: there's a numpy array in an attribute, but since numpy 1.15 doesn't define __array_function__, is_duck_array returns False. We could extend is_duck_array with an isinstance check for numpy.ndarray, or we could take your suggestion and xfail the test. Not sure which is better.

black recently released a new version, which changed the way it treats a trailing comma, and it also reformats docstrings (at least as much as it can without breaking formats), but neither conda nor the pre-commit hook install the new version (yet). To make the diff of this PR as small as possible, I'm opening a new PR with just the automatic changes, once that is merged, it should be fixed by merging in master.

Edit: see #4381

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  656163384
Powered by Datasette · Queries took 0.589ms · About: xarray-datasette