question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xarray test suite failing with dask-master

See original GitHub issue

There are a wide variety of failures, mostly related to backends and indexing, e.g., AttributeError: 'tuple' object has no attribute 'tuple'. By the looks of it, something is going wrong with xarray’s internal ExplicitIndexer objects, which are getting converted into something else.

I’m pretty sure this is due to the recent merge of the Array._meta pull request: https://github.com/dask/dask/pull/4543

There are 81 test failures, but my guess is that there that probably only a handful (at most) of underlying causes.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
shoyercommented, Jun 17, 2019

We’re down to 1 failing test!

        # Invalid cases
        if not use_dask or LooseVersion(dask.__version__) > LooseVersion('0.17.4'):
            with pytest.raises(TypeError):
>               xr.dot(da_a, dims='a', invalid=None)
E               Failed: DID NOT RAISE <class 'TypeError'>

I think this was an intentional change – see https://github.com/dask/dask/pull/4914.

0reactions
pentschevcommented, Jun 17, 2019

Indeed it was. Regardless, https://github.com/dask/dask/pull/4954 will solve that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

test_rolling_wrapped_dask is failing with dask-master #2940
Changing this to padded.data shows that passing an actual dask array to dask_array_ops.rolling_window results in failing tests.
Read more >
Bug#1004870: python-xarray: autopkgtest regression on s390x
I've just tested on zelenka with python-xarray & pandas 1.4.3; FAILED xarray/tests/test_accessor_dt.py::test_calendar_cftime_2D[365_day] - pandas.
Read more >
2018-April.txt - Python mailing list
We'll need clear instructions on how to reproduce it, as it doesn't fail ... xarray.open_mfdataset('F:/NTU_PDF__Work/1_Codes/1_Python/testing/netcdf/*.nc') ...
Read more >
Praise for Beginning .NET Game Programming in VB .NET
In this case, all drawing code must be associated with the Paint event of the ... When a block stops falling, you'll check...
Read more >
Untitled
Anchorage alaska time check, Puran poli pics, Veraci spokane wa? ... Hindware logo, Quebec city summer festival 2013, Torre mannelli suites?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found