home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

11 rows where issue = 832404698 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 5

  • ArchangeGabriel 4
  • keewis 3
  • FFY00 2
  • jhamman 1
  • eli-schwartz 1

author_association 3

  • CONTRIBUTOR 4
  • MEMBER 4
  • NONE 3

issue 1

  • [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed). · 11 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
800572482 https://github.com/pydata/xarray/issues/5038#issuecomment-800572482 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDU3MjQ4Mg== eli-schwartz 6551424 2021-03-16T20:15:38Z 2021-03-16T20:15:38Z NONE

My guess is that this started to fail because we moved the setup_requires entry to pyproject.toml, which means that if you don't use that you have to take care of the build dependencies yourself.

Current versions of setuptools use pip instead of easy_install, so moving the setup_requires back would result in setup.py reporting an error when it cannot find setuptools_scm and pip is not installed in the build chroot.

The pyproject.toml build-system.requires is not exclusive; PEP 517 <build-backend>.get_requires_for_build_wheel() will be added to it to create the complete list of build requirements; the pyproject.toml build-system.requires is only needed to bootstrap the build backend itself.

And since the build backend when run on its own does not support pyproject.toml, but setuptools_scm is an internal implementation detail of the build backend and NOT of the PEP 517 part of the story... I'd personally say that it belongs in setup.cfg setup_requires rather than pyproject.toml

YMMV

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800565107 https://github.com/pydata/xarray/issues/5038#issuecomment-800565107 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDU2NTEwNw== ArchangeGabriel 490531 2021-03-16T20:03:33Z 2021-03-16T20:04:19Z CONTRIBUTOR

Thanks to both of you as well as @eli-schwartz, it was indeed setuptools-scm missing (and apparently had been since 0.15.0, but previous setuptools version were silently downloading it through easy_install it seems).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800289142 https://github.com/pydata/xarray/issues/5038#issuecomment-800289142 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDI4OTE0Mg== FFY00 11718923 2021-03-16T14:09:57Z 2021-03-16T14:41:32Z NONE

We should not be using build in arch packaging yet as other team members do not like pip as a wheel installer. We are working on that in https://github.com/pradyunsg/installer.

Can you see if setting SETUPTOOLS_SCM_PRETEND_VERSION solves your issue? https://github.com/archlinux/svntogit-community/blob/d5d26f0836c57a20cbd6162a301c78ea60fc0845/trunk/PKGBUILD#L20

If setuptools-scm can't find a version I don't understand why it isn't falling back to 999. @keewis, did anyone actually test this change? https://github.com/pydata/xarray/blob/master/setup.py#L4

If what I said doesn't work, please try adding python-toml to makedepends so that setuptools picks up pyproject.toml.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800312893 https://github.com/pydata/xarray/issues/5038#issuecomment-800312893 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDMxMjg5Mw== FFY00 11718923 2021-03-16T14:35:37Z 2021-03-16T14:35:37Z NONE

That is fine. @ArchangeGabriel this should be solved by adding python-setuptools-scm to makedepends and then either building from git or a PyPI tarball (sdist) or setting SETUPTOOLS_SCM_PRETEND_VERSION.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800309366 https://github.com/pydata/xarray/issues/5038#issuecomment-800309366 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDMwOTM2Ng== keewis 14808389 2021-03-16T14:31:31Z 2021-03-16T14:31:31Z MEMBER

I don't understand why it isn't falling back to 999

I can reproduce the failure in an environment without setuptools-scm. If I install it everything works as expected. My guess is that this started to fail because we moved the setup_requires entry to pyproject.toml, which means that if you don't use that you have to take care of the build dependencies yourself.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800169491 https://github.com/pydata/xarray/issues/5038#issuecomment-800169491 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDE2OTQ5MQ== keewis 14808389 2021-03-16T11:12:48Z 2021-03-16T11:12:48Z MEMBER

actually, it seems you can use python setup.py install --prefix $PREFIX if you have setuptools_scm installed. You'll find other build time dependencies in pyproject.toml.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800164034 https://github.com/pydata/xarray/issues/5038#issuecomment-800164034 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDE2NDAzNA== ArchangeGabriel 490531 2021-03-16T11:03:51Z 2021-03-16T11:03:51Z CONTRIBUTOR

I’ve used the one from Pypi.

I’ll check with @FFY00 whether I should be switching to build then.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
800159060 https://github.com/pydata/xarray/issues/5038#issuecomment-800159060 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDgwMDE1OTA2MA== keewis 14808389 2021-03-16T10:56:46Z 2021-03-16T10:56:46Z MEMBER

Where did you get the tarball from? If you used the one from github you need to use a PEP517 frontend (e.g. build or pip) to build the actual tarball: setuptools_scm_git_archive is only mentioned in pyproject.toml.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
799982702 https://github.com/pydata/xarray/issues/5038#issuecomment-799982702 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDc5OTk4MjcwMg== ArchangeGabriel 490531 2021-03-16T06:12:05Z 2021-03-16T06:12:05Z CONTRIBUTOR

Actually while disabling tests and keeping on packaging, I indeed see a reported version of 0.0.0 for xarray. Our diff checker grabbed this: usr/lib/python3.9/site-packages/xarray-0.16.2-py3.9.egg-info/ | usr/lib/python3.9/site-packages/xarray-0.0.0-py3.9.egg-info/ So maybe there is something wrong in the 0.17.0 tarball?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
799980456 https://github.com/pydata/xarray/issues/5038#issuecomment-799980456 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDc5OTk4MDQ1Ng== ArchangeGabriel 490531 2021-03-16T06:07:37Z 2021-03-16T06:07:37Z CONTRIBUTOR

It’s not installed, I’m building it from source. So I run those command from within the cloned tarball: python setup.py build pytest --deselect xarray/tests/test_distributed.py::test_serializable_locks

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698
799958657 https://github.com/pydata/xarray/issues/5038#issuecomment-799958657 https://api.github.com/repos/pydata/xarray/issues/5038 MDEyOklzc3VlQ29tbWVudDc5OTk1ODY1Nw== jhamman 2443309 2021-03-16T05:21:12Z 2021-03-16T05:21:12Z MEMBER

Thanks for the report. Can you say more about how you installed Xarray?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [tests] ImportError: Pandas requires version '0.12.3' or newer of 'xarray' (version '0.0.0' currently installed).  832404698

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