home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

16 rows where author_association = "MEMBER", issue = 521887948 and user = 14808389 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

  • keewis · 16 ✖

issue 1

  • Silence sphinx warnings · 16 ✖

author_association 1

  • MEMBER · 16 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
555777096 https://github.com/pydata/xarray/pull/3516#issuecomment-555777096 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTc3NzA5Ng== keewis 14808389 2019-11-20T00:20:43Z 2019-11-20T00:20:43Z MEMBER

no, sorry, I don't have a twitter account. Can you use the github handle?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
555561105 https://github.com/pydata/xarray/pull/3516#issuecomment-555561105 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTU2MTEwNQ== keewis 14808389 2019-11-19T15:32:03Z 2019-11-19T15:32:03Z MEMBER

okay, go ahead

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
555499639 https://github.com/pydata/xarray/pull/3516#issuecomment-555499639 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTQ5OTYzOQ== keewis 14808389 2019-11-19T13:08:08Z 2019-11-19T15:31:47Z MEMBER

Enabling is blocked by these warnings, so we can only do that once we silenced them. After that, I would be fine with a merge.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
555279577 https://github.com/pydata/xarray/pull/3516#issuecomment-555279577 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTI3OTU3Nw== keewis 14808389 2019-11-19T00:50:09Z 2019-11-19T13:06:22Z MEMBER

there are three warnings (locally for me five) of the same kind left before we could switch on -W --keep-going, but I don't know how to fix these: autosummary (or autodoc?) seems to put labels for name, values, attrs (locally also coords and dims) in both xarray.DataArray.rst and xarray.DataArray.name.rst (or similar). The warnings recommend to put :noindex: in one of these, but both are generated so I don't know what to edit. Does anyone know more?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
555089313 https://github.com/pydata/xarray/pull/3516#issuecomment-555089313 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTA4OTMxMw== keewis 14808389 2019-11-18T16:17:07Z 2019-11-18T16:17:07Z MEMBER

it will print all warnings, then return a non-zero error code (or zero if there was no warning). Of course, if there are actual errors, it will still fail (at least, that is what the help on sphinx-build says).

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
555083696 https://github.com/pydata/xarray/pull/3516#issuecomment-555083696 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTA4MzY5Ng== keewis 14808389 2019-11-18T16:05:48Z 2019-11-18T16:05:48Z MEMBER

re warnings checking: I'd start with something like sphinx-build -WT --keep-going and wait until we fixed all the nitpicky warnings to enable -n

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554815126 https://github.com/pydata/xarray/pull/3516#issuecomment-554815126 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDgxNTEyNg== keewis 14808389 2019-11-18T01:37:31Z 2019-11-18T15:33:29Z MEMBER

re sections in whats-new.rst: done, if interp is indeed the label to the correct section (at least it creates a link)?

Looking at the links to h5netcdf and cftime again: while h5netcdf is only referenced once (h5netcdf.File in whats-new.rst), cftime.datetime is referenced quite often and not just in whats-new.rst. So I think it might be better to ask the cftime project to fix their intersphinx: bash $ python -m sphinx.ext.intersphinx https://unidata.github.io/cftime/objects.inv std:doc api API : api.html index cftime : index.html installing Installation : installing.html std:label genindex Index : genindex.html modindex Module Index : py-modindex.html search Search Page : search.html Edit: let's see what they think: unidata/cftime#132

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
555033923 https://github.com/pydata/xarray/pull/3516#issuecomment-555033923 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NTAzMzkyMw== keewis 14808389 2019-11-18T14:17:36Z 2019-11-18T14:17:36Z MEMBER

I think I found the reasons for the numpy docstring warnings: 1. some of the numpy functions include signatures. I think that is because they are written in C? In the signature there is an asterisk which sphinx misinterprets. 2. the numpy docstrings are indented which somehow confuses sphinx, but only for some of the functions 3. some references are labeled, but not used

all of these can be silenced by rewriting the docstrings: ```python def _create_op(name): func = _UFuncDispatcher(name) func.name = name doc = textwrap.dedent(getattr(_np, name).doc) if doc.strip().startswith(name): start_location = doc.strip().find("\n\n") doc = doc[start_location + 2:]

for ref_num in range(5):
    if f".. [{ref_num}]" not in doc or f"[{ref_num}]_" in doc:
        continue

    doc = doc.replace(f".. [{ref_num}]", f"{ref_num}.    ")

func.__doc__ = (
    "xarray specific variant of numpy.%s. Handles "
    "xarray.Dataset, xarray.DataArray, xarray.Variable, "
    "numpy.ndarray and dask.array.Array objects with "
    "automatic dispatching.\n\n"
    "Documentation from numpy:\n\n%s" % (name, doc)
)
return func

``` However, I'm not sure this is a good idea.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554808148 https://github.com/pydata/xarray/pull/3516#issuecomment-554808148 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDgwODE0OA== keewis 14808389 2019-11-18T00:48:25Z 2019-11-18T00:50:58Z MEMBER

now the only warnings left in non-nitpicky mode are the ones in the numpy docstrings and these: whats-new.rst:1268: WARNING: undefined label: interpolating values with interp (if the link has no caption the label must precede a section header) whats-new.rst:1387: WARNING: undefined label: faq.other_projects (if the link has no caption the label must precede a section header) whats-new.rst:3253: WARNING: undefined label: copies vs views (if the link has no caption the label must precede a section header) whats-new.rst:4035: WARNING: unknown document: tutorial which are all related to the documentation. What should we do with these? I think interpolating values with interp never had an existing label, copies vs views is still there but with underscores instead of spaces and faq.other_projects got moved/renamed to related-projects. tutorial got removed a long time ago. I'm not sure about the first three, but the entry for tutorial actually looks fine, I'd simply put it in double-backticks.

Edit: there are also 5 lines related to DataArray properties like xarray/doc/generated/xarray.DataArray.attrs.rst:2: WARNING: duplicate object description of xarray.DataArray.attrs, other instance in generated/xarray.DataArray, use :noindex: for one of them

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554794029 https://github.com/pydata/xarray/pull/3516#issuecomment-554794029 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDc5NDAyOQ== keewis 14808389 2019-11-17T22:21:03Z 2019-11-17T22:21:03Z MEMBER

there were not enough entries to actually require regex-replace, so I did it by hand.

How would you handle links to h5netcdf and cftime? Convert them to double-backtick quoted? I don't think either of them has working intersphinx entries?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554768259 https://github.com/pydata/xarray/pull/3516#issuecomment-554768259 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDc2ODI1OQ== keewis 14808389 2019-11-17T17:35:55Z 2019-11-17T17:38:45Z MEMBER

for author names in whats-new.rst entries: would it be reasonable to always require a format of Name <https://github.com/user>? The warnings regarding these was due to inconsistencies with the link location (mostly a trailing slash or using http instead of https).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554686360 https://github.com/pydata/xarray/pull/3516#issuecomment-554686360 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDY4NjM2MA== keewis 14808389 2019-11-17T00:01:34Z 2019-11-17T00:01:34Z MEMBER

the CI will probably work when pushing new commits (or one might try to remove -j auto so sphinx runs sequentially: this might take longer but should avoid timeouts).

No, I was trying to set up readthedocs for this branch which I thought could make discussing the changes a bit easier. However, the current build fails because conda ends up consuming too much memory. My impression was that this is a common problem that was somehow fixed for master.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554640238 https://github.com/pydata/xarray/pull/3516#issuecomment-554640238 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDY0MDIzOA== keewis 14808389 2019-11-16T14:02:52Z 2019-11-16T14:02:52Z MEMBER

unfortunately, those are not the majority of warnings and this would also cause warnings for deprecated methods (like xray.Dataset.isel_points). Unless someone has a better idea, I'd vote for converting :py:meth:... links to double backtick-quoted text

I also created a preview page, but that currently fails. Can someone help me with the build errors (excessive memory consumption)?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
554591837 https://github.com/pydata/xarray/pull/3516#issuecomment-554591837 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1NDU5MTgzNw== keewis 14808389 2019-11-16T01:49:47Z 2019-11-16T01:55:04Z MEMBER

does anyone have an idea about what to do about broken links in whats-new.rst? There are also a lot of those that reference xray but apart from that would work fine. Since we don't want to update them, the easiest way to silence these warnings would be to remove any prefixes like :func: or :py:meth:. I can't seem to find anything on this, but ideally there would be a way to mark links as intentionally broken. Thoughts?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
553618337 https://github.com/pydata/xarray/pull/3516#issuecomment-553618337 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1MzYxODMzNw== keewis 14808389 2019-11-13T21:45:44Z 2019-11-13T21:45:44Z MEMBER

I took a shot at using :orphan:, but doc/README.rst seems like it should be excluded from the documentation?

Also, while trying to fix the nit-picky warnings, I found this: ```python

import xarray as xr ds = xr.Dataset(data_vars={"a": ("x", list("abcd"))}, coords={"x": range(4)}) ds.a.groupby(ds.x % 2 == 0).quantile <bound method DataArrayGroupBy.quantile of DataArrayGroupBy, grouped over 'x' 2 groups with labels False, True.> ds.groupby(ds.x % 2 == 0).quantile AttributeError: 'DatasetGroupBy' object has no attribute 'quantile' `` despite the documentation claiming otherwise (and indeed,DataArrayGroupByexplicitly implementsquantilewhileDatasetGroupBy` doesn't). Does this deserve its own issue?

Implementing DatasetGroupBy.quantile probably won't silence the nit-picky warning, though, since DataArrayGroupBy.quantile has the same problem. I'll investigate more on this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948
553392712 https://github.com/pydata/xarray/pull/3516#issuecomment-553392712 https://api.github.com/repos/pydata/xarray/issues/3516 MDEyOklzc3VlQ29tbWVudDU1MzM5MjcxMg== keewis 14808389 2019-11-13T12:56:50Z 2019-11-13T18:29:16Z MEMBER

CI: I think it's possible using sphinx-build -W --keep-going, which continues as normal and returns a non-zero error code if a warning was emitted, but first we need to stamp out all warnings (otherwise we have a lot of failing checks on unrelated PRs).

I also noticed the CI uses -n for a nit-picky mode that increases the number of emitted warnings, so now I know where the extra warnings come from.

numpy: sure, but updating upstream is only a long term fix, we will still have to somehow ignore these warnings if we want to check for new warnings using CI.

Edit: the warning about files not included by any toctree can be silenced by adding :orphan: to the top of the file (see documentation and this question on SO)

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Silence sphinx warnings 521887948

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 122.062ms · About: xarray-datasette