Skip to content

Fix support for Xarray 2025.01 and up #721 - #948

Merged
soxofaan merged 1 commit into
masterfrom
issue721-lift-xarray-constraint
Oct 2, 2026
Merged

soxofaan merged 1 commit into
masterfrom
issue721-lift-xarray-constraint

Conversation

@soxofaan

@soxofaan soxofaan commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Tweak _build_xdc test helper to force "ns" datetime resolution, avoiding dtype mismatches (datetime64[s] vs [ns]) between directly-built and netCDF-roundtripped arrays caused by xarray's non-nanosecond datetime support.

Require at least xarray 2024.7.0 (highest version that still supports Python 3.9) to further reduce technical debt.

fixes #721

Tweak `_build_xdc` test helper to force "ns" datetime resolution,
avoiding dtype mismatches (datetime64[s] vs [ns]) between directly-built
and netCDF-roundtripped arrays caused by xarray's non-nanosecond datetime support.

Require at least xarray 2024.7.0 (highest version that still supports
Python 3.9) to further reduce technical debt.
@soxofaan
soxofaan merged commit 107becf into master Oct 2, 2026
16 checks passed
@soxofaan
soxofaan deleted the issue721-lift-xarray-constraint branch October 5, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test_run_local_udf_from_file_netcdf_with_context with xarray v2025.01.2

1 participant