home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 505550120

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
505550120 MDU6SXNzdWU1MDU1NTAxMjA= 3391 map_blocks doesn't work when dask isn't installed 6213168 closed 0     1 2019-10-10T22:53:55Z 2021-11-24T17:25:24Z 2021-11-24T17:25:24Z MEMBER      

Iterative improvement on #3276 @dcherian

map_blocks crashes with ImportError if dask isn't installed, even if it's legal to run it on a DataArray/Dataset without any dask variables. This forces writers of extension libraries to either not use map_blocks, add dask as a strict requirement, or write a switch in their own code.

Please change the code so that it works without dask (you'll need to write a stub of dask.is_dask_collection that always returns False) and add relevant tests to be triggered in our py36-bare-minimum CI environment.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3391/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

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.609ms · About: xarray-datasette