Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Cannot import 'datatree.testing' with Xarray 2023.12.0 #293

Closed
flemmel opened this issue Dec 10, 2023 · 1 comment · Fixed by #294
Closed

Cannot import 'datatree.testing' with Xarray 2023.12.0 #293

flemmel opened this issue Dec 10, 2023 · 1 comment · Fixed by #294

Comments

@flemmel
Copy link

flemmel commented Dec 10, 2023

Hello everybody,

It's not possible to import datatree.testing with the Xarray 2023.12.0

Here is the error message:

>>> import datatree.testing     # or from datatree.testing import assert_identical
ImportError: cannot import name 'ensure_warnings' from 'xarray.testing' 
@TomNicholas
Copy link
Member

Thank you for raising this and alerting me! This is a manifestation of the fragility I warned about in #270. It is fixed by #294, and I'll issue a release with that fix shortly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants