home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

17 rows where issue = 1020407925 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 7

  • marscher 6
  • keewis 5
  • dcherian 2
  • dopplershift 1
  • max-sixty 1
  • pep8speaks 1
  • github-actions[bot] 1

author_association 3

  • CONTRIBUTOR 8
  • MEMBER 8
  • NONE 1

issue 1

  • remove requirement for setuptools.pkg_resources · 17 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
959835614 https://github.com/pydata/xarray/pull/5845#issuecomment-959835614 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X845Ne3e marscher 170287 2021-11-03T19:04:45Z 2021-11-03T19:04:45Z CONTRIBUTOR

Thanks @marscher This is a great change.

I see this is your first PR. Welcome to Xarray!

Thanks for the warm welcome.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
956286144 https://github.com/pydata/xarray/pull/5845#issuecomment-956286144 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X844_8TA dcherian 2448579 2021-11-01T14:33:19Z 2021-11-01T14:33:19Z MEMBER

Thanks @marscher This is a great change.

I see this is your first PR. Welcome to Xarray!

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
938114133 https://github.com/pydata/xarray/pull/5845#issuecomment-938114133 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8436nxV github-actions[bot] 41898282 2021-10-07T20:02:55Z 2021-10-29T17:40:36Z CONTRIBUTOR

Unit Test Results

0 files  0 suites   0s :stopwatch: 0 tests 0 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 28c84858.

:recycle: This comment has been updated with latest results.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
938111206 https://github.com/pydata/xarray/pull/5845#issuecomment-938111206 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8436nDm pep8speaks 24736507 2021-10-07T19:58:42Z 2021-10-29T17:39:51Z NONE

Hello @marscher! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2021-10-29 17:39:51 UTC
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
954886300 https://github.com/pydata/xarray/pull/5845#issuecomment-954886300 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8446mic dcherian 2448579 2021-10-29T16:35:43Z 2021-10-29T16:35:43Z MEMBER

Test failure is real xarray/__init__.py:34: error: Name "_version" already defined (possibly by an import) [no-redef] Found 1 error in 1 file (checked 145 source files)

I think we just revert the last commit and merge...

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
954595452 https://github.com/pydata/xarray/pull/5845#issuecomment-954595452 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8445fh8 marscher 170287 2021-10-29T09:32:34Z 2021-10-29T09:32:34Z CONTRIBUTOR

All suggestions of yours are now included and CI is green. Thank you all very much for your review and suggestions.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
954246645 https://github.com/pydata/xarray/pull/5845#issuecomment-954246645 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8444KX1 keewis 14808389 2021-10-28T21:45:31Z 2021-10-28T21:47:35Z MEMBER

thanks for the PR, @marscher, and especially for being patient with us/me.

if the CI still passes without the explicit mention of setuptools in the CI environments this should be ready for merging. It would probably be good to review the change to the dependency policy, though (do we need to list setuptools even if we only depend on it at build time?)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
953773679 https://github.com/pydata/xarray/pull/5845#issuecomment-953773679 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8442W5v keewis 14808389 2021-10-28T11:55:24Z 2021-10-28T11:55:24Z MEMBER

the CI passes, too. Now we just need an entry in whats-new.rst saying that the runtime dependency on setuptools was dropped, and we might also want to remove the explicit mention of setuptools in the CI files

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
953722459 https://github.com/pydata/xarray/pull/5845#issuecomment-953722459 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8442KZb marscher 170287 2021-10-28T10:37:30Z 2021-10-28T10:37:30Z CONTRIBUTOR

I installed the precommit hook and everything passed locally.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
953259849 https://github.com/pydata/xarray/pull/5845#issuecomment-953259849 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X8440ZdJ marscher 170287 2021-10-27T19:53:32Z 2021-10-27T19:53:32Z CONTRIBUTOR

I wonder if there are any tests for the backend entry points or if tests are just being skipped if the mandatory backends are unavailble (due to a bug introduced by switching from pkg_resources). I have like 5600 skipped tests when I naively invoke pytest.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
953085452 https://github.com/pydata/xarray/pull/5845#issuecomment-953085452 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X844zu4M keewis 14808389 2021-10-27T16:15:43Z 2021-10-27T16:45:37Z MEMBER

thanks, @dopplershift. We agreed on doing that in the last meeting, and to then drop the new dependency together with python=3.7 in December. That means that if we can figure out the remaining issues we can include this in the next release (which will be very soon!)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
951404731 https://github.com/pydata/xarray/pull/5845#issuecomment-951404731 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X844tUi7 dopplershift 221526 2021-10-25T23:10:25Z 2021-10-25T23:10:25Z CONTRIBUTOR

You cannot use selectors with noarch conda packages. Full stop.

For conda-forge, it's perfectly fine to just unconditionally depend on the importlib_metadata backport, especially with the implementation done like here where you use the std lib version and fall back.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
946419161 https://github.com/pydata/xarray/pull/5845#issuecomment-946419161 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X844aTXZ marscher 170287 2021-10-19T06:56:22Z 2021-10-19T06:56:22Z CONTRIBUTOR

If one installs local packages with conda, all dependencies are ignored (--use-local flag). I have not yet figured out, why this is the case due to a lack of time.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
940127873 https://github.com/pydata/xarray/pull/5845#issuecomment-940127873 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X844CTaB keewis 14808389 2021-10-11T15:23:06Z 2021-10-11T15:24:43Z MEMBER

I might be confusing something, but I thought preprocessing selectors were executed at build time? So if you build the noarch: python package in an environment that has python=3.7 you will keep the importlib_metadata while in a different one with python=3.8 it will be removed?

The easiest way to figure this out would be to build in a py38 environment, install in a py37 environment and then try to import it (i.e. trigger the code path that uses importlib.metadata). If that works, then it would be fine to merge now.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
939985659 https://github.com/pydata/xarray/pull/5845#issuecomment-939985659 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X844Bwr7 marscher 170287 2021-10-11T12:29:19Z 2021-10-11T12:38:01Z CONTRIBUTOR

I don't think that noarch packages are restricted to python version selectors any more. I've tested this locally with a dummy recipe like this: ```yaml package: name: {{ name|lower }} version: {{ version }}

source: path: .

build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv"

requirements: host: - python - pip run: - python - importlib_metadata # [ py < 38] ``` This creates a noarch package as expected with a recent conda/build version.

This means you can merge this and still use a noarch package on Conda-forge, which will conditionally install the backport importlib-metadata package for older Python versions.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
939371374 https://github.com/pydata/xarray/pull/5845#issuecomment-939371374 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X843_atu keewis 14808389 2021-10-09T22:41:15Z 2021-10-10T16:40:21Z MEMBER

is there any reason not to merge this?

the issue is that with conda we can either always install importlib_metadata or not at all: conda doesn't support noarch_python packages with preprocessing selectors (see the comments around https://github.com/pydata/xarray/issues/4295#issuecomment-667657310 for more discussion).

importlib.metadata is included in python>=3.8, which we can officially require from end of December this year.

All of this means that if we want to merge this now we have to decide between not releasing until we can drop python=3.7 or always installing importlib_metadata (which is what the pint feedstock does). However, I guess the cleanest way would be to wait until we can require python>=3.8.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925
939368646 https://github.com/pydata/xarray/pull/5845#issuecomment-939368646 https://api.github.com/repos/pydata/xarray/issues/5845 IC_kwDOAMm_X843_aDG max-sixty 5635139 2021-10-09T22:11:31Z 2021-10-09T22:11:31Z MEMBER

Thanks for the PR @marscher

I don't know this area well — assuming this cuts the import time down considerably, is there any reason not to merge this?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  remove requirement for setuptools.pkg_resources 1020407925

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