home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 279456192

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
279456192 MDU6SXNzdWUyNzk0NTYxOTI= 1761 Importing xarray fails if old version of bottleneck is installed 1882397 closed 0     5 2017-12-05T17:10:25Z 2020-02-09T21:39:48Z 2020-02-09T21:39:48Z NONE      

Importing version 0.11 of xarray fails if version 1.0.0 of Bottleneck is installed. Bottleneck seems to be an optional dependency of xarray. During runtime xarray replaces functions by their bottleneck versions if that is installed, but it does not check if the version of bottleneck that is installed is new enough to provide that function:

The getattr here fails with an AttributeError in this case:

https://github.com/pydata/xarray/blob/b46fcd656391d786b8d25b0615f6d4bd30b524b7/xarray/core/ops.py#L361-L365

AttributeError: 'module' object has no attribute 'move_argmax'

move_argmax was included into bottleneck in version 1.1.0, so if version 1.0 is installed this can't work.

I saw this on python2.7, but I don't think that should matter...

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1761/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 5 rows from issue in issue_comments
Powered by Datasette · Queries took 0.537ms · About: xarray-datasette