home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "CONTRIBUTOR" and issue = 262966657 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 2

  • brhillman 5
  • ocefpaf 2

issue 1

  • pynio backend broken in python 3 · 7 ✖

author_association 1

  • CONTRIBUTOR · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
334543078 https://github.com/pydata/xarray/issues/1611#issuecomment-334543078 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDU0MzA3OA== brhillman 15826727 2017-10-05T17:56:07Z 2017-10-05T17:56:42Z CONTRIBUTOR

@jhamman okay I figured it out, added the tests, confirmed that the Nio tests get run, and they all pass (other than a dask test, but I think that's expected right now?). But, I'm getting some strange results from git diff upstream/master | flake8 --diff, on lines that I did not modify, and some lines that I copied the syntax over from existing files (i.e., ci/requirements-py36-pynio-dev.yml, where it complains about indentation). Is this a concern? PR ready to go other than that. My branch is here: https://github.com/brhillman/xarray/tree/fix-py3-pynio-backend.

edit: oops, commented before I got your response. Opening PR now and we can iterate there...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657
334528039 https://github.com/pydata/xarray/issues/1611#issuecomment-334528039 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDUyODAzOQ== brhillman 15826727 2017-10-05T17:00:51Z 2017-10-05T17:00:51Z CONTRIBUTOR

Okay @jhamman excuse my ignorance on the test suite, I've never worked with pytest or Travis CI before, but if I understand correctly, this would involve adding a section like: - python: 3.6 env: CONDA_ENV=py36-pynio-dev to xarray/.travis.yml, and then add a corresponding ci/requirements-py36-pynio-dev.yml file to list the dependencies for that test environment? I've gotten the tests to run and pass on my environment just by adding an entry to ci/requirements-py36.yml that reads - pynio=dev python=3 and adding an entry that reads - ncar to the "channels" section, but maybe this is the wrong place to add this?

FYI I also had to make a change to xarray/tests/__init__.py to import pynio correctly (the test would have never run, regardless of whether or not pynio because it tried to import the wrong package name).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657
334509553 https://github.com/pydata/xarray/issues/1611#issuecomment-334509553 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDUwOTU1Mw== brhillman 15826727 2017-10-05T15:54:36Z 2017-10-05T15:54:36Z CONTRIBUTOR

@ocefpaf @jhamman should I wait to put together the PR then until they release an official version of pynio with py3 support?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657
334508795 https://github.com/pydata/xarray/issues/1611#issuecomment-334508795 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDUwODc5NQ== ocefpaf 950575 2017-10-05T15:52:04Z 2017-10-05T15:52:04Z CONTRIBUTOR

Yep, just saw that in https://github.com/conda-forge/pynio-feedstock/pull/30

So we need to wait... Hopefully they will release it soon. Thanks!

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657
334508204 https://github.com/pydata/xarray/issues/1611#issuecomment-334508204 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDUwODIwNA== brhillman 15826727 2017-10-05T15:50:11Z 2017-10-05T15:50:11Z CONTRIBUTOR

@ocefpaf no, I don't think so. I think the only version of pynio that has py3 support is the dev snapshot on the ncar conda-forge channel. This is the version I used to get pynio to work in my python 3 environment so that I could use xarray to read ERA-Interim grib files. I installed the dev snapshot via conda install -c ncar -c conda-forge pynio=dev python=3.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657
334482987 https://github.com/pydata/xarray/issues/1611#issuecomment-334482987 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDQ4Mjk4Nw== ocefpaf 950575 2017-10-05T14:31:14Z 2017-10-05T14:31:14Z CONTRIBUTOR

Do you know if the py3k support made into pynio 1.5.0 release? If so I can "fix" the conda package easily, if not I am unsure what source I should use to enable the Python 3 builds.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657
334326880 https://github.com/pydata/xarray/issues/1611#issuecomment-334326880 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDMyNjg4MA== brhillman 15826727 2017-10-05T00:31:08Z 2017-10-05T00:31:08Z CONTRIBUTOR

@jhamman okay I'll take a look and put this together. Would you prefer a single PR to both fix the issue and add a pynio test, or separate PRs for those two changes? I've got a bit of reading to do to get up to speed on adding a test I think.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  pynio backend broken in python 3 262966657

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