home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

11 rows where 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 3

  • brhillman 5
  • jhamman 4
  • ocefpaf 2

author_association 2

  • CONTRIBUTOR 7
  • MEMBER 4

issue 1

  • pynio backend broken in python 3 · 11 ✖
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
334534517 https://github.com/pydata/xarray/issues/1611#issuecomment-334534517 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDUzNDUxNw== jhamman 2443309 2017-10-05T17:25:11Z 2017-10-05T17:25:11Z MEMBER

Yep, it sounds like you have it about right. Why don't you open a PR and we can iterate further 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
334513337 https://github.com/pydata/xarray/issues/1611#issuecomment-334513337 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDUxMzMzNw== jhamman 2443309 2017-10-05T16:07:10Z 2017-10-05T16:07:10Z MEMBER

@brhillman - A PR to fix the iteritems issue can happen now. You could also add a test to the allowed_failures section: https://github.com/pydata/xarray/blob/c748062ef4353f5e249553b06a198a44c71083c4/.travis.yml#L42-L61

that pulls the ncar dev build down. That would allow us to work out some of the kinks while they get their final python3 release ready.

More broadly, if we don't have a viable way to install the package, perhaps your effort would be better spent helping PyNio get Python3 into a full release.

{
    "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
334340087 https://github.com/pydata/xarray/issues/1611#issuecomment-334340087 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDM0MDA4Nw== jhamman 2443309 2017-10-05T02:15:05Z 2017-10-05T02:15:05Z MEMBER

One PR is fine. I don't think you'll need to add any tests, just add pynio to the conda environment file I linked to above and the existing test base should run for python 3 with pynio.

We may need to ping @ocefpaf to help us get a conda-forge build of pynio for python3 repo.

{
    "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
334323641 https://github.com/pydata/xarray/issues/1611#issuecomment-334323641 https://api.github.com/repos/pydata/xarray/issues/1611 MDEyOklzc3VlQ29tbWVudDMzNDMyMzY0MQ== jhamman 2443309 2017-10-05T00:06:06Z 2017-10-05T02:12:33Z MEMBER

@brhillman - that would be great. I don't think anyone has worked on this yet and we'd be happy to have you contribute here.

We have some contributor guidelines in the works (see #1485).

Generally, we'll want to add the pynio package to one or more of the python3 test suites (here would be a good place to start).

Put your changes on a branch (e.g. feature/python3_pynio), run the test suite (py.test), follow pep8 formatting, and then push to your fork and open a PR. The template checklist in the PRs helps us make sure we're catching the main things.

{
    "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 18.494ms · About: xarray-datasette