home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "MEMBER", issue = 508167922 and user = 6213168 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 1

  • crusaderky · 7 ✖

issue 1

  • test failure with upstream-dev · 7 ✖

author_association 1

  • MEMBER · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
551142493 https://github.com/pydata/xarray/issues/3409#issuecomment-551142493 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU1MTE0MjQ5Mw== crusaderky 6213168 2019-11-07T15:59:01Z 2019-11-07T15:59:01Z MEMBER

@dcherian I didn't try running the PR code, but I don't think so? The PR may mean (must test) that nanmin() and nanmax() now work with NaT. However, as highlighted above https://github.com/pydata/xarray/issues/3409#issuecomment-544299242 xarray is invoking min() on an array that contains NaT - which in numpy 1.17 ignores them, while in 1.18 correctly returns NaT.

Does anybody have the time to test it?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922
547625012 https://github.com/pydata/xarray/issues/3409#issuecomment-547625012 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU0NzYyNTAxMg== crusaderky 6213168 2019-10-29T20:54:42Z 2019-10-29T20:54:42Z MEMBER

Same problem: python a = xarray.DataArray(['1999-12-15', 'NaT']).astype('M8[ns]') a.min(skipna=False) # np 1.17: 1999-12-15; np 1.18: NaT a.min(skipna=True) # np 1.17: crashes; np 1.18: crashes

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922
544299242 https://github.com/pydata/xarray/issues/3409#issuecomment-544299242 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU0NDI5OTI0Mg== crusaderky 6213168 2019-10-20T22:25:00Z 2019-10-20T22:32:34Z MEMBER

Narrowed down: ```python

import numpy as np a = np.array(['1999-12-15', 'NaT'], dtype='M8[ns]') np.min(a) ` Output: numpy 1.17:numpy.datetime64('1999-12-15T00:00:00.000000000')numpy 1.18:numpy.datetime64('NaT')``

triggered by: https://github.com/pydata/xarray/blob/0f7ab0e909d9b6272f734a0b6fa4318e9522d3a2/xarray/core/duck_array_ops.py#L372

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922
544294825 https://github.com/pydata/xarray/issues/3409#issuecomment-544294825 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU0NDI5NDgyNQ== crusaderky 6213168 2019-10-20T21:31:25Z 2019-10-20T21:31:25Z MEMBER

Looking more closely at the failing tests, there are actually two problems. One is with pandas/numpy git tip, and it only affects the upstream-dev test suite. The other is with pseudonetcdf-3.1, and it affects py36, py37, and upstream-dev.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922
544292376 https://github.com/pydata/xarray/issues/3409#issuecomment-544292376 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU0NDI5MjM3Ng== crusaderky 6213168 2019-10-20T21:03:19Z 2019-10-20T21:03:19Z MEMBER

It doesn't add up - the upstream ticket mentions an incompatibility with numpy 1.18. However, our failing tests are all running with numpy 1.17.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922
544263042 https://github.com/pydata/xarray/issues/3409#issuecomment-544263042 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU0NDI2MzA0Mg== crusaderky 6213168 2019-10-20T15:32:17Z 2019-10-20T15:35:01Z MEMBER

conda list (py36) before and after the breakage: ``` < boto3 1.9.252 py_0 conda-forge

boto3 1.9.253 py_0 conda-forge < botocore 1.12.252 py_0 conda-forge botocore 1.12.253 py_0 conda-forge < expat 2.2.5 he1b5a44_1003 conda-forge expat 2.2.5 he1b5a44_1004 conda-forge < libxkbcommon 0.8.4 h516909a_0 conda-forge libxkbcommon 0.9.0 hebb1f50_0 conda-forge < mypy_extensions 0.4.2 py36_0 conda-forge mypy_extensions 0.4.3 py36_0 conda-forge < nss 3.46 he751ad9_0 conda-forge nss 3.47 he751ad9_0 conda-forge < pandas 0.25.1 py36hb3f55d8_0 conda-forge pandas 0.25.2 py36hb3f55d8_0 conda-forge < pip 19.3 py36_0 conda-forge pip 19.3.1 py36_0 conda-forge < pseudonetcdf 3.0.2 py_0 conda-forge pseudonetcdf 3.1.0 py_0 conda-forge ```

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922
544262623 https://github.com/pydata/xarray/issues/3409#issuecomment-544262623 https://api.github.com/repos/pydata/xarray/issues/3409 MDEyOklzc3VlQ29tbWVudDU0NDI2MjYyMw== crusaderky 6213168 2019-10-20T15:27:40Z 2019-10-20T15:34:41Z MEMBER

This has now spread to all tests without pinned dependencies

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failure with upstream-dev 508167922

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 36.805ms · About: xarray-datasette