Skip to content

Commit 7a5815c

Browse files
authored
Merge pull request #424 from itamarst/423-dask2
Add support for Dask 2.0+.
2 parents 1949abe + 23e6610 commit 7a5815c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/source/news.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ What's New
44
1.10.0
55
^^^^^^
66

7-
Bug fix:
7+
Bug fixes:
88

99
* ``@eliot.testing.capture_logging`` now passes ``*args`` and ``**kwargs`` to the wrapped function, as one would expect. Fixes #420. Thanks to Jean-Paul Calderone for the bug report.
10+
* Eliot works with Dask 2.0. Thanks to Dan Myung for the bug report.
1011

1112
1.9.0
1213
^^^^^

eliot/dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def simplify(k):
127127
)
128128
result[key] = (wrapped_func,) + tuple(args)
129129

130-
assert result.keys() == dsk.keys()
130+
assert set(result.keys()) == set(dsk.keys())
131131
return result
132132

133133

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ commands =
2020
[testenv:py35-numpy]
2121
basepython = python3.5
2222
deps = numpy
23-
dask[bag]
23+
dask[bag]==1.2.1
2424

2525
[testenv:py36]
2626
basepython = python3.6
@@ -30,6 +30,7 @@ deps = cffi
3030
[testenv:py37]
3131
basepython = python3.7
3232
deps = cffi
33+
dask[bag]
3334

3435
[testenv:py35-twisted-latest]
3536
basepython = python3.5

0 commit comments

Comments
 (0)