Skip to content

Move parallelcompat and chunkmanagers to NamedArray #13108

Move parallelcompat and chunkmanagers to NamedArray

Move parallelcompat and chunkmanagers to NamedArray #13108

GitHub Actions / Test Results failed Feb 2, 2024 in 0s

2 errors, 674 fail, 1 841 skipped, 17 323 pass in 2h 17m 3s

     12 files   -      1       12 suites   - 1   2h 17m 3s ⏱️ + 8m 6s
 19 840 tests +     1   17 323 ✅  -    674   1 841 💤 ±    0    674 ❌ +  673  2 🔥 +2 
209 818 runs   - 18 979  183 146 ✅  - 19 012  25 190 💤  - 1 440  1 479 ❌ +1 470  3 🔥 +3 

Results for commit 01c3d24. ± Comparison against earlier commit 541049f.

Annotations

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-None-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85023e80>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = None, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-None-True-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85023c10>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = True, min_periods = None, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-None-False-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85023e20>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = False, min_periods = None, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-None-False-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85023be0>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = False, min_periods = None, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-1-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85021720>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-1-True-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85022110>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = True, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-1-False-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85022590>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = False, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-1-False-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b850200a0>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = False, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-2-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020100>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-2-True-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020190>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = True, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-2-False-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020400>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = False, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-2-False-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020460>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = False, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-3-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85021090>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-3-True-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85021210>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = True, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-3-False-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85021180>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = False, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-1-3-False-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85021360>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = False, min_periods = 1, window = 1, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-None-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85021300>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = None, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-None-True-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020640>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = True, min_periods = None, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-None-False-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020730>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = False, min_periods = None, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-None-False-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020910>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = False, min_periods = None, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-1-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020970>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = 1, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-1-True-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020ac0>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = True, min_periods = 1, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-1-False-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020b80>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = False, min_periods = 1, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-1-False-2] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020df0>
da = <xarray.DataArray (time: 11)>
dask.array<xarray-<this-array>, shape=(11,), dtype=float64, chunksize=(11,), chunktype=numpy.ndarray>
Dimensions without coordinates: time
center = False, min_periods = 1, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.

Check warning on line 0 in xarray.tests.test_rolling.TestDataArrayRolling

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 12 runs failed: test_rolling_reduce[numbagg-dask-sum-2-2-True-1] (xarray.tests.test_rolling.TestDataArrayRolling)

artifacts/Test results for Linux-3.10 flaky/pytest.xml [took 1s]
artifacts/Test results for Linux-3.9/pytest.xml [took 1s]
Raw output
RecursionError: maximum recursion depth exceeded while calling a Python object
self = <xarray.tests.test_rolling.TestDataArrayRolling object at 0x7f2b85020d00>
da = <xarray.DataArray (a: 3, time: 21, x: 4)>
dask.array<xarray-<this-array>, shape=(3, 21, 4), dtype=float64, chunksize=(...ordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-02 ... 2000-01-21
Dimensions without coordinates: a, x
center = True, min_periods = 2, window = 2, name = 'sum'
compute_backend = 'numbagg'

    @pytest.mark.parametrize("da", (1, 2), indirect=True)
    @pytest.mark.parametrize("center", (True, False))
    @pytest.mark.parametrize("min_periods", (None, 1, 2, 3))
    @pytest.mark.parametrize("window", (1, 2, 3, 4))
    @pytest.mark.parametrize("name", ("sum", "mean", "std", "max"))
    def test_rolling_reduce(
        self, da, center, min_periods, window, name, compute_backend
    ) -> None:
        if min_periods is not None and window < min_periods:
            min_periods = window
    
>       if da.isnull().sum() > 1 and window == 1:

/home/runner/work/xarray/xarray/xarray/tests/test_rolling.py:250: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/xarray/xarray/xarray/core/common.py:154: in __bool__
    return bool(self.values)
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:765: in values
    return self.variable.values
/home/runner/work/xarray/xarray/xarray/core/variable.py:505: in values
    return _as_array_or_item(self._data)
/home/runner/work/xarray/xarray/xarray/core/variable.py:303: in _as_array_or_item
    data = np.asarray(data)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/array/core.py:1704: in __array__
    x = np.array(x)
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:208: in <dictcomp>
    return {k: subs(v, substitution) for k, v in task.items()}
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in subs
    return type(task)([subs(x, substitution) for x in task])
/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:210: in <listcomp>
    return type(task)([subs(x, substitution) for x in task])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

task = 'enforce_dtype'
substitution = {'__dask_blockwise__1': '__dask_blockwise__0'}

    def subs(task, substitution):
        """Create a new task with the values substituted
    
        This is like dask.core.subs, but takes a dict of many substitutions to
        perform simultaneously.  It is not as concerned with micro performance.
        """
>       if isinstance(task, dict):
E       RecursionError: maximum recursion depth exceeded while calling a Python object

/home/runner/micromamba/envs/xarray-tests/lib/python3.10/site-packages/dask/blockwise.py:207: RecursionError
!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    RecursionError: maximum recursion depth exceeded in comparison
  Displaying first and last 10 stack frames out of 489.