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 0.16.1 breaks compatibility

See original GitHub issue

Describe the bug arviz.utils.HtmlTemplate depends on xarray.core.formatting_html.CSS_STYLE: https://github.com/arviz-devs/arviz/blob/aab82191677c0ead4cceee3a0198f0afcd7313a4/arviz/utils.py#L700 This was just removed in 0.16.1 of xarray. Here is the corresponding pull request: https://github.com/pydata/xarray/pull/4297

To Reproduce

  1. Install arviz==0.9.0 and xarray==0.16.1.
  2. import arviz

Expected behavior No error during import.

Additional context arviz==0.9.0 and xarray==0.16.1. Happens on both Windows and Linux.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
ahartikainencommented, Sep 21, 2020

We are going to make a new release soon, so this is probably going to be only a small annoyance until we have release ready.

0reactions
nicospinucommented, Sep 23, 2020

Thank you so much! It works

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's New - Xarray
This release is intended as a small patch release to be compatible with the new 2021.5.0 dask.distributed release. It also includes a new...
Read more >
Did copy(deep=True) break with 0.16.1? · Issue #4449 - GitHub
What happened: I have a script that downloads a file, reads and copies it to memory with ds.copy(deep=True), and then removes the downloaded ......
Read more >
Installation — xarray 0.15.0 documentation
Even with it, interaction with non-numpy array libraries, e.g. dask or sparse, is broken. Any numpy-like objects that support NEP-18.
Read more >
Dask Release 0.16.0
This is a major release with new features, breaking changes, ... The dask.async module was moved to dask.local for Python 3.7 compatibility.
Read more >
python3-xarray_0.16.2-2_all.deb - Debian PKGS.org
It provides a pandas-like and pandas-compatible toolkit for analytics on ... /usr/lib/python3/dist-packages/xarray-0.16.1.egg-info/PKG-INFO.
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