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 484955475,MDU6SXNzdWU0ODQ5NTU0NzU=,3263,test_sparse doesn't work with pytest-xdist,2448579,closed,0,,,0,2019-08-25T17:30:51Z,2020-12-17T22:33:46Z,2020-12-17T22:33:46Z,MEMBER,,,,"`pytest -n 4 test_sparse.py` results in ``` ====================================================================================== ERRORS ====================================================================================== _______________________________________________________________________________ ERROR collecting gw0 _______________________________________________________________________________ Different tests were collected between gw1 and gw0. The difference is: --- gw1 +++ gw0 @@ -11,7 +11,7 @@ xarray/tests/test_sparse.py::test_variable_method[obj.any(*(), **{})-False] xarray/tests/test_sparse.py::test_variable_method[obj.astype(*(), **{'dtype': })-True] xarray/tests/test_sparse.py::test_variable_method[obj.clip(*(), **{'min': 0, 'max': 1})-True] -xarray/tests/test_sparse.py::test_variable_method[obj.coarsen(*(), **{'windows': {'x': 2}, 'func': })-True] +xarray/tests/test_sparse.py::test_variable_method[obj.coarsen(*(), **{'windows': {'x': 2}, 'func': })-True] xarray/tests/test_sparse.py::test_variable_method[obj.compute(*(), **{})-True] xarray/tests/test_sparse.py::test_variable_method[obj.conj(*(), **{})-True] xarray/tests/test_sparse.py::test_variable_method[obj.copy(*(), **{})-True] @@ -49,7 +49,7 @@ xarray/tests/test_sparse.py::test_variable_method[obj.prod(*(), **{})-False] xarray/tests/test_sparse.py::test_variable_method[obj.quantile(*(), **{'q': 0.5})-True] xarray/tests/test_sparse.py::test_variable_method[obj.rank(*(), **{'dim': 'x'})-False] -xarray/tests/test_sparse.py::test_variable_method[obj.reduce(*(), **{'func': , 'dim': 'x'})-True] +xarray/tests/test_sparse.py::test_variable_method[obj.reduce(*(), **{'func': , 'dim': 'x'})-True] xarray/tests/test_sparse.py::test_variable_method[obj.rolling_window(*(), **{'dim': 'x', 'window': 2, 'window_dim': 'x_win'})-True] xarray/tests/test_sparse.py::test_variable_method[obj.shift(*(), **{'x': 2})-True] xarray/tests/test_sparse.py::test_variable_method[obj.std(*(), **{})-False] @@ -144,11 +144,11 @@ xarray/tests/test_sparse.py::test_dataarray_method[obj.median(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.min(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.notnull(*(), **{})-False] -xarray/tests/test_sparse.py::test_dataarray_method[obj.pipe(*(,), **{'axis': 1})-True] +xarray/tests/test_sparse.py::test_dataarray_method[obj.pipe(*(,), **{'axis': 1})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.prod(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.quantile(*(), **{'q': 0.5})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.rank(*('x',), **{})-False] -xarray/tests/test_sparse.py::test_dataarray_method[obj.reduce(*(,), **{'dim': 'x'})-False] +xarray/tests/test_sparse.py::test_dataarray_method[obj.reduce(*(,), **{'dim': 'x'})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.reindex_like(*(\n\nCoordinates:\n * x (x) float64 0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5 9.5\n * y (y) float64 0.5 1.5 2.5 3.5 4.5,), **{})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.roll(*(), **{'x': 2})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.sel(*(), **{'x': [0, 1, 2], 'y': [2, 3]})-True] _______________________________________________________________________________ ERROR collecting gw2 _______________________________________________________________________________ Different tests were collected between gw1 and gw2. The difference is: --- gw1 +++ gw2 @@ -11,7 +11,7 @@ xarray/tests/test_sparse.py::test_variable_method[obj.any(*(), **{})-False] xarray/tests/test_sparse.py::test_variable_method[obj.astype(*(), **{'dtype': })-True] xarray/tests/test_sparse.py::test_variable_method[obj.clip(*(), **{'min': 0, 'max': 1})-True] -xarray/tests/test_sparse.py::test_variable_method[obj.coarsen(*(), **{'windows': {'x': 2}, 'func': })-True] +xarray/tests/test_sparse.py::test_variable_method[obj.coarsen(*(), **{'windows': {'x': 2}, 'func': })-True] xarray/tests/test_sparse.py::test_variable_method[obj.compute(*(), **{})-True] xarray/tests/test_sparse.py::test_variable_method[obj.conj(*(), **{})-True] xarray/tests/test_sparse.py::test_variable_method[obj.copy(*(), **{})-True] @@ -49,7 +49,7 @@ xarray/tests/test_sparse.py::test_variable_method[obj.prod(*(), **{})-False] xarray/tests/test_sparse.py::test_variable_method[obj.quantile(*(), **{'q': 0.5})-True] xarray/tests/test_sparse.py::test_variable_method[obj.rank(*(), **{'dim': 'x'})-False] -xarray/tests/test_sparse.py::test_variable_method[obj.reduce(*(), **{'func': , 'dim': 'x'})-True] +xarray/tests/test_sparse.py::test_variable_method[obj.reduce(*(), **{'func': , 'dim': 'x'})-True] xarray/tests/test_sparse.py::test_variable_method[obj.rolling_window(*(), **{'dim': 'x', 'window': 2, 'window_dim': 'x_win'})-True] xarray/tests/test_sparse.py::test_variable_method[obj.shift(*(), **{'x': 2})-True] xarray/tests/test_sparse.py::test_variable_method[obj.std(*(), **{})-False] @@ -118,7 +118,7 @@ xarray/tests/test_sparse.py::test_dataarray_method[obj.sel(*(), **{'x': [0, 1, 2]})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.shift(*(), **{})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.sortby(*('x',), **{'ascending': False})-True] -xarray/tests/test_sparse.py::test_dataarray_method[obj.stack(*(), **{'z': {'y', 'x'}})-True] +xarray/tests/test_sparse.py::test_dataarray_method[obj.stack(*(), **{'z': {'x', 'y'}})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.transpose(*(), **{})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.broadcast_equals(*(\n,), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.equals(*(\n,), **{})-False] @@ -144,11 +144,11 @@ xarray/tests/test_sparse.py::test_dataarray_method[obj.median(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.min(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.notnull(*(), **{})-False] -xarray/tests/test_sparse.py::test_dataarray_method[obj.pipe(*(,), **{'axis': 1})-True] +xarray/tests/test_sparse.py::test_dataarray_method[obj.pipe(*(,), **{'axis': 1})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.prod(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.quantile(*(), **{'q': 0.5})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.rank(*('x',), **{})-False] -xarray/tests/test_sparse.py::test_dataarray_method[obj.reduce(*(,), **{'dim': 'x'})-False] +xarray/tests/test_sparse.py::test_dataarray_method[obj.reduce(*(,), **{'dim': 'x'})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.reindex_like(*(\n\nCoordinates:\n * x (x) float64 0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5 9.5\n * y (y) float64 0.5 1.5 2.5 3.5 4.5,), **{})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.roll(*(), **{'x': 2})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.sel(*(), **{'x': [0, 1, 2], 'y': [2, 3]})-True] _______________________________________________________________________________ ERROR collecting gw3 _______________________________________________________________________________ Different tests were collected between gw1 and gw3. The difference is: --- gw1 +++ gw3 @@ -11,7 +11,7 @@ xarray/tests/test_sparse.py::test_variable_method[obj.any(*(), **{})-False] xarray/tests/test_sparse.py::test_variable_method[obj.astype(*(), **{'dtype': })-True] xarray/tests/test_sparse.py::test_variable_method[obj.clip(*(), **{'min': 0, 'max': 1})-True] -xarray/tests/test_sparse.py::test_variable_method[obj.coarsen(*(), **{'windows': {'x': 2}, 'func': })-True] +xarray/tests/test_sparse.py::test_variable_method[obj.coarsen(*(), **{'windows': {'x': 2}, 'func': })-True] xarray/tests/test_sparse.py::test_variable_method[obj.compute(*(), **{})-True] xarray/tests/test_sparse.py::test_variable_method[obj.conj(*(), **{})-True] xarray/tests/test_sparse.py::test_variable_method[obj.copy(*(), **{})-True] @@ -49,7 +49,7 @@ xarray/tests/test_sparse.py::test_variable_method[obj.prod(*(), **{})-False] xarray/tests/test_sparse.py::test_variable_method[obj.quantile(*(), **{'q': 0.5})-True] xarray/tests/test_sparse.py::test_variable_method[obj.rank(*(), **{'dim': 'x'})-False] -xarray/tests/test_sparse.py::test_variable_method[obj.reduce(*(), **{'func': , 'dim': 'x'})-True] +xarray/tests/test_sparse.py::test_variable_method[obj.reduce(*(), **{'func': , 'dim': 'x'})-True] xarray/tests/test_sparse.py::test_variable_method[obj.rolling_window(*(), **{'dim': 'x', 'window': 2, 'window_dim': 'x_win'})-True] xarray/tests/test_sparse.py::test_variable_method[obj.shift(*(), **{'x': 2})-True] xarray/tests/test_sparse.py::test_variable_method[obj.std(*(), **{})-False] @@ -144,11 +144,11 @@ xarray/tests/test_sparse.py::test_dataarray_method[obj.median(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.min(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.notnull(*(), **{})-False] -xarray/tests/test_sparse.py::test_dataarray_method[obj.pipe(*(,), **{'axis': 1})-True] +xarray/tests/test_sparse.py::test_dataarray_method[obj.pipe(*(,), **{'axis': 1})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.prod(*(), **{})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.quantile(*(), **{'q': 0.5})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.rank(*('x',), **{})-False] -xarray/tests/test_sparse.py::test_dataarray_method[obj.reduce(*(,), **{'dim': 'x'})-False] +xarray/tests/test_sparse.py::test_dataarray_method[obj.reduce(*(,), **{'dim': 'x'})-False] xarray/tests/test_sparse.py::test_dataarray_method[obj.reindex_like(*(\n\nCoordinates:\n * x (x) float64 0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5 9.5\n * y (y) float64 0.5 1.5 2.5 3.5 4.5,), **{})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.roll(*(), **{'x': 2})-True] xarray/tests/test_sparse.py::test_dataarray_method[obj.sel(*(), **{'x': [0, 1, 2], 'y': [2, 3]})-True] ================================================================================= warnings summary ================================================================================= /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/client.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/client.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/client.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/client.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/client.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import defaultdict, Iterator /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/publish.py:1 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/publish.py:1 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/publish.py:1 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/publish.py:1 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/publish.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2 /home/deepak/miniconda3/envs/dcpy/lib/python3.7/site-packages/distributed/scheduler.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import defaultdict, deque, OrderedDict, Mapping, Set -- Docs: https://docs.pytest.org/en/latest/warnings.html ======================================================================= ```","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/3263/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue