Skip to content

ux.open_dataset and other functions failing with xarray==2026.4.0 #1490

@VeckoTheGecko

Description

@VeckoTheGecko

Version

main

How did you install UXarray?

Source

What happened?

Uxarray constructors are now failing with TypeError('Passing a Dataset as data_varsto the Dataset constructor is not supported. Useds.copy() to create a copy of a Dataset.') . Due to pydata/xarray#11139 in https://github.com/pydata/xarray/releases/tag/v2026.04.0

What did you expect to happen?

No failures

Can you provide a MCVE to repoduce the bug?

You can use the test suite in this project

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

📝 To-Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions