Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
#738: going for dask >=0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Sep 12, 2018
1 parent 922fa96 commit ba7655f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ dependencies:
- conda >=4.5.1,<5.0
# Include Cython, otherwise pip will do so during "python setup.py install" (why???)
- cython >=0.25,<1.0
# TODO: investigate test_anomaly.py line 235 that fails using dask 0.18
# dask 0.18 causes a unit test to fail
- dask >=0.15.4,<0.18
- dask >=0.19,<1.0
- fiona >=1.7,<2.0
- gdal >=2.2.3,<3.0
- geopandas >=0.3,<1.0
Expand All @@ -29,7 +27,6 @@ dependencies:
- munch ==2.3.1
- netcdf4 >=1.2,<2.0
- numba >=0.33,<1.0
# numpy 1.12 gave some trouble
# Starting from numpy 1.13 xarray ufuncs are deprecated, as np ufuncs work across dask datasets
- numpy >=1.13,<2.0
- owslib >=0.14,<1.0
Expand All @@ -43,7 +40,6 @@ dependencies:
- scipy >=0.19,<1.0
- shapely >=1.6,<2.0
- tornado >=5.0,<6.0
# Require >= 0.10.3 due to #579
- xarray >=0.10.6
#
# for testing only
Expand Down
4 changes: 2 additions & 2 deletions test/ops/test_anomaly.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def test_dask(self):

actual = anomaly.anomaly_external(ds, tmp1)
assert_dataset_equal(actual, expected)
# Test that actual is also a dask array, based on ds
self.assertEqual(actual.chunks, ds.chunks)
# Test that actual is also a dask array
self.assertFalse(not actual.chunks)

def test_registered(self):
"""
Expand Down

0 comments on commit ba7655f

Please sign in to comment.