home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 220078792

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
220078792 MDU6SXNzdWUyMjAwNzg3OTI= 1357 dask strict version check fails 1197350 closed 0     1 2017-04-07T01:08:56Z 2017-04-07T01:43:53Z 2017-04-07T01:43:53Z MEMBER      

I am on xarray version 0.9.1-28-g1cad803 and dask version 0.14.1+39.g964b377 (both from recent github masters).

I can't save chunked data to netcdf because of a failing dask version check.

python ds = xr.Dataset({'a': (['x'], np.random.rand(100)), 'b': (['x'], np.random.rand(100))}) ds = ds.chunk({'x': 20}) ds.to_netcdf('test.nc')

The relevant part of the stack trace is ``` /home/rpa/xarray/xarray/backends/common.pyc in sync(self) 165 import dask.array as da 166 import dask --> 167 if StrictVersion(dask.version) > StrictVersion('0.8.1'): 168 da.store(self.sources, self.targets, lock=GLOBAL_LOCK) 169 else:

/home/rpa/.conda/envs/lagrangian_vorticity/lib/python2.7/distutils/version.pyc in init(self, vstring) 38 def init (self, vstring=None): 39 if vstring: ---> 40 self.parse(vstring) 41 42 def repr (self):

/home/rpa/.conda/envs/lagrangian_vorticity/lib/python2.7/distutils/version.pyc in parse(self, vstring) 105 match = self.version_re.match(vstring) 106 if not match: --> 107 raise ValueError, "invalid version number '%s'" % vstring 108 109 (major, minor, patch, prerelease, prerelease_num) = \

ValueError: invalid version number '0.14.1+39.g964b377' ```

It appears that StrictVersion does not like the dask version numbering scheme.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1357/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.796ms · About: xarray-datasette