xarray 2026.9.0__tar.gz → 2026.12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xarray-2026.9.0 → xarray-2026.12.0}/.binder/environment.yml +1 -1
- xarray-2026.12.0/.claude/skills/drop-python-version/SKILL.md +146 -0
- xarray-2026.12.0/.claude/skills/upgrade-min-versions/SKILL.md +216 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/ISSUE_TEMPLATE/bugreport.yml +3 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/ISSUE_TEMPLATE/config.yml +1 -1
- xarray-2026.12.0/.github/nightly-conda-failure-template.md +11 -0
- xarray-2026.12.0/.github/workflows/actions.lock +203 -0
- xarray-2026.12.0/.github/workflows/benchmarks-comment.yml +74 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/benchmarks-last-release.yml +4 -4
- xarray-2026.12.0/.github/workflows/benchmarks.yml +166 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/ci-additional.yaml +180 -37
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/ci.yaml +22 -65
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/hypothesis.yaml +11 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/label-prs.yml +1 -1
- xarray-2026.12.0/.github/workflows/nightly-conda.yml +147 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/nightly-wheels.yml +32 -26
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/publish-test-results.yaml +5 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/pypi-release.yaml +9 -9
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/upstream-dev-ci.yaml +15 -15
- {xarray-2026.9.0 → xarray-2026.12.0}/.gitignore +5 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/.pre-commit-config.yaml +14 -6
- xarray-2026.12.0/AGENTS.md +63 -0
- xarray-2026.12.0/CLAUDE.md +1 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/PKG-INFO +16 -15
- {xarray-2026.9.0 → xarray-2026.12.0}/README.md +3 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/_stubtest/allowlist.txt +8 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/asv.conf.json +5 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/README_CI.md +18 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/__init__.py +31 -18
- xarray-2026.12.0/asv_bench/benchmarks/accessors.py +78 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/alignment.py +5 -4
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/coding.py +2 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/combine.py +9 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/dataarray_missing.py +20 -22
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/dataset_io.py +107 -81
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/groupby.py +31 -33
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/import.py +1 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/indexing.py +12 -11
- xarray-2026.12.0/asv_bench/benchmarks/interp.py +125 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/pandas.py +3 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/polyfit.py +4 -3
- xarray-2026.12.0/asv_bench/benchmarks/rolling.py +185 -0
- xarray-2026.12.0/asv_bench/benchmarks/small_overhead.py +115 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/unstacking.py +23 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/nightly/pixi.toml +3 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/numpydoc-public-api.py +5 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/policy.yaml +6 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/release_contributors.py +3 -0
- xarray-2026.12.0/doc/README.md +3 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/deprecated.rst +0 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/top-level.rst +1 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api-hidden.rst +2 -6
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/conf.py +117 -8
- xarray-2026.12.0/doc/contribute/contributing.md +1062 -0
- xarray-2026.12.0/doc/contribute/developers-meeting.md +21 -0
- xarray-2026.9.0/doc/contribute/index.rst → xarray-2026.12.0/doc/contribute/index.md +12 -13
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/ROMS_ocean_model.ipynb +1 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery.rst +0 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery.yml +3 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/get-help/faq.md +7 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/get-help/help-diagram.rst +1 -1
- xarray-2026.12.0/doc/get-help/socials.md +8 -0
- xarray-2026.9.0/doc/getting-started-guide/index.rst → xarray-2026.12.0/doc/getting-started-guide/index.md +8 -9
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/getting-started-guide/installing.rst +1 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/how-to-add-new-backend.md +66 -41
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/how-to-create-custom-index.md +2 -2
- xarray-2026.12.0/doc/internals/index.md +29 -0
- xarray-2026.12.0/doc/internals/interoperability.md +43 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/time-coding.md +5 -42
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/zarr-encoding-spec.md +2 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/complex-numbers.md +4 -43
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/computation.md +12 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/dask.md +50 -43
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/data-structures.md +20 -17
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/duckarrays.md +2 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/ecosystem.rst +4 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/groupby.md +25 -2
- xarray-2026.12.0/doc/user-guide/index.md +66 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/io.md +147 -134
- xarray-2026.12.0/doc/user-guide/options.md +35 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/pandas.md +2 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/plotting.md +7 -11
- xarray-2026.12.0/doc/user-guide/terminology.md +296 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/testing.md +15 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/time-series.md +4 -4
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/weather-climate.md +2 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/whats-new.rst +804 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/pixi.toml +127 -52
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/test_encode_decode.py +1 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/test_pandas_roundtrip.py +2 -4
- {xarray-2026.9.0 → xarray-2026.12.0}/pyproject.toml +36 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/__init__.py +2 -0
- xarray-2026.12.0/xarray/accessors.py +86 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/__init__.py +1 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/api.py +256 -81
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/common.py +90 -52
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/file_manager.py +155 -39
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/h5netcdf_.py +58 -14
- xarray-2026.12.0/xarray/backends/locks.py +472 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/lru_cache.py +2 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/memory.py +10 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/netCDF4_.py +135 -15
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/netcdf3.py +6 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/plugins.py +96 -24
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/pydap_.py +32 -22
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/scipy_.py +84 -32
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/store.py +3 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/writers.py +18 -19
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/zarr.py +143 -89
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coders.py +1 -4
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/calendar_ops.py +12 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/cftime_offsets.py +126 -60
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/cftimeindex.py +68 -33
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/common.py +13 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/frequencies.py +34 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/strings.py +28 -22
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/times.py +189 -41
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/variables.py +58 -19
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/compat/dask_array_compat.py +4 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/compat/dask_array_ops.py +17 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/compat/pdcompat.py +15 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/compat/toolzcompat.py +1 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/apply_ufunc.py +313 -89
- xarray-2026.12.0/xarray/computation/arithmetic.py +275 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/computation.py +106 -69
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/fit.py +7 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/nanops.py +9 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/ops.py +19 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/rolling.py +95 -89
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/rolling_exp.py +15 -25
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/weighted.py +82 -30
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/conventions.py +66 -38
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/convert.py +8 -8
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/_aggregations.py +91 -186
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/_typed_ops.py +185 -116
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/accessor_dt.py +70 -87
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/accessor_str.py +323 -258
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/common.py +161 -177
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/coordinates.py +62 -20
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/dataarray.py +625 -358
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/dataset.py +858 -470
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/dataset_utils.py +4 -4
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/datatree.py +293 -114
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/datatree_mapping.py +4 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/datatree_render.py +7 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/dtypes.py +14 -14
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/duck_array_ops.py +30 -36
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/eval.py +1 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/extension_array.py +8 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/extensions.py +17 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/formatting.py +33 -27
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/formatting_html.py +56 -9
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/groupby.py +191 -115
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/indexes.py +166 -75
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/indexing.py +171 -76
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/missing.py +103 -56
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/nputils.py +11 -41
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/options.py +147 -93
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/parallel.py +15 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/resample.py +58 -43
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/resample_cftime.py +17 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/treenode.py +70 -82
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/types.py +32 -31
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/utils.py +108 -106
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/variable.py +598 -207
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/groupers.py +45 -39
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/indexes/__init__.py +3 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/indexes/nd_point_index.py +27 -16
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/indexes/range_index.py +20 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/_aggregations.py +30 -43
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/_array_api.py +64 -47
- xarray-2026.12.0/xarray/namedarray/_typing.py +307 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/core.py +320 -212
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/daskmanager.py +50 -34
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/parallelcompat.py +66 -89
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/pycompat.py +15 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/utils.py +71 -58
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/plot/__init__.py +2 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/plot/accessor.py +6 -18
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/plot/dataarray_plot.py +50 -62
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/plot/dataset_plot.py +11 -20
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/plot/facetgrid.py +59 -83
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/plot/utils.py +120 -96
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/static/css/style.css +213 -36
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/structure/alignment.py +67 -37
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/structure/chunks.py +32 -16
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/structure/combine.py +47 -52
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/structure/concat.py +14 -14
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/structure/merge.py +30 -20
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/testing/assertions.py +8 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/testing/strategies.py +26 -36
- xarray-2026.12.0/xarray/tests/AGENTS.md +104 -0
- xarray-2026.12.0/xarray/tests/CLAUDE.md +1 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/__init__.py +9 -51
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/arrays.py +30 -11
- xarray-2026.12.0/xarray/tests/backends/base.py +2233 -0
- xarray-2026.12.0/xarray/tests/backends/test_api.py +2199 -0
- xarray-2026.12.0/xarray/tests/backends/test_common.py +136 -0
- xarray-2026.9.0/xarray/tests/test_backends_datatree.py → xarray-2026.12.0/xarray/tests/backends/test_datatree.py +94 -14
- xarray-2026.12.0/xarray/tests/backends/test_file_manager.py +705 -0
- xarray-2026.12.0/xarray/tests/backends/test_h5netcdf.py +626 -0
- xarray-2026.9.0/xarray/tests/test_backends_locks.py → xarray-2026.12.0/xarray/tests/backends/test_locks.py +109 -7
- xarray-2026.12.0/xarray/tests/backends/test_netCDF4.py +632 -0
- {xarray-2026.9.0/xarray/tests → xarray-2026.12.0/xarray/tests/backends}/test_plugins.py +210 -42
- xarray-2026.12.0/xarray/tests/backends/test_pydap.py +183 -0
- xarray-2026.12.0/xarray/tests/backends/test_scipy.py +278 -0
- xarray-2026.12.0/xarray/tests/backends/test_zarr.py +3394 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/conftest.py +58 -23
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/indexes.py +1 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_accessor_dt.py +30 -27
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_accessor_str.py +147 -2
- xarray-2026.12.0/xarray/tests/test_accessors.py +58 -0
- xarray-2026.12.0/xarray/tests/test_accessors_typing.yml +31 -0
- xarray-2026.12.0/xarray/tests/test_array_ufunc_typing.yml +149 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_assertions.py +2 -2
- xarray-2026.12.0/xarray/tests/test_backends_typing.yml +32 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_cftime_offsets.py +14 -13
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_cftimeindex.py +1 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_coarsen.py +20 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_coding.py +106 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_coding_strings.py +17 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_coding_times.py +229 -8
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_combine.py +3 -4
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_computation.py +183 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_concat.py +46 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_conventions.py +25 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_coordinate_transform.py +27 -1
- xarray-2026.12.0/xarray/tests/test_cupy.py +182 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dask.py +21 -6
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dataarray.py +473 -89
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dataset.py +550 -78
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_datatree.py +372 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_datatree_mapping.py +1 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_deprecation_helpers.py +37 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_distributed.py +54 -39
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_duck_array_ops.py +4 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_duck_array_wrapping.py +7 -8
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_error_messages.py +3 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_formatting.py +14 -10
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_formatting_html.py +75 -31
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_groupby.py +157 -52
- xarray-2026.12.0/xarray/tests/test_hashable.py +135 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_indexes.py +60 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_indexing.py +34 -1
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_interp.py +166 -21
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_merge.py +20 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_missing.py +23 -13
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_namedarray.py +173 -108
- xarray-2026.12.0/xarray/tests/test_namedarray_typing.yml +235 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_nd_point_index.py +14 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_options.py +7 -7
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_pandas_to_xarray.py +1 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_parallelcompat.py +23 -8
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_plot.py +176 -58
- xarray-2026.12.0/xarray/tests/test_print_versions.py +106 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_range_index.py +5 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_rolling.py +97 -9
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_sparse.py +13 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_strategies.py +13 -12
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_treenode.py +12 -1
- xarray-2026.12.0/xarray/tests/test_tutorial.py +168 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_typed_ops.py +5 -10
- xarray-2026.12.0/xarray/tests/test_typed_ops_typing.yml +332 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_ufuncs.py +1 -8
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_units.py +2 -2
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_utils.py +96 -11
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_variable.py +159 -45
- xarray-2026.12.0/xarray/tests/test_variable_typing.yml +258 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_weighted.py +163 -5
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tutorial.py +17 -13
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/typing.py +1 -3
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/ufuncs.py +4 -0
- xarray-2026.12.0/xarray/util/__init__.py +0 -0
- xarray-2026.12.0/xarray/util/_report.py +124 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/util/deprecation_helpers.py +13 -17
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/util/generate_aggregations.py +18 -21
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/util/generate_ops.py +126 -48
- xarray-2026.12.0/xarray/util/print_versions.py +178 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/PKG-INFO +16 -15
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/SOURCES.txt +44 -24
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/requires.txt +9 -9
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/scm_file_list.json +44 -24
- xarray-2026.12.0/xarray.egg-info/scm_version.json +8 -0
- xarray-2026.9.0/.claude/skills/upgrade-min-versions.md +0 -126
- xarray-2026.9.0/.github/workflows/benchmarks.yml +0 -81
- xarray-2026.9.0/CLAUDE.md +0 -44
- xarray-2026.9.0/asv_bench/benchmarks/accessors.py +0 -25
- xarray-2026.9.0/asv_bench/benchmarks/interp.py +0 -65
- xarray-2026.9.0/asv_bench/benchmarks/rolling.py +0 -142
- xarray-2026.9.0/doc/README.rst +0 -6
- xarray-2026.9.0/doc/contribute/contributing.rst +0 -1053
- xarray-2026.9.0/doc/contribute/developers-meeting.rst +0 -22
- xarray-2026.9.0/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -741
- xarray-2026.9.0/doc/get-help/socials.rst +0 -9
- xarray-2026.9.0/doc/internals/index.rst +0 -29
- xarray-2026.9.0/doc/internals/interoperability.rst +0 -45
- xarray-2026.9.0/doc/user-guide/index.rst +0 -65
- xarray-2026.9.0/doc/user-guide/options.rst +0 -36
- xarray-2026.9.0/doc/user-guide/terminology.rst +0 -286
- xarray-2026.9.0/xarray/backends/locks.py +0 -309
- xarray-2026.9.0/xarray/compat/npcompat.py +0 -77
- xarray-2026.9.0/xarray/computation/arithmetic.py +0 -140
- xarray-2026.9.0/xarray/namedarray/_typing.py +0 -317
- xarray-2026.9.0/xarray/namedarray/dtypes.py +0 -190
- xarray-2026.9.0/xarray/tests/CLAUDE.md +0 -136
- xarray-2026.9.0/xarray/tests/test_backends.py +0 -8528
- xarray-2026.9.0/xarray/tests/test_backends_api.py +0 -325
- xarray-2026.9.0/xarray/tests/test_backends_common.py +0 -64
- xarray-2026.9.0/xarray/tests/test_backends_file_manager.py +0 -351
- xarray-2026.9.0/xarray/tests/test_cupy.py +0 -62
- xarray-2026.9.0/xarray/tests/test_hashable.py +0 -53
- xarray-2026.9.0/xarray/tests/test_print_versions.py +0 -15
- xarray-2026.9.0/xarray/tests/test_tutorial.py +0 -35
- xarray-2026.9.0/xarray/util/print_versions.py +0 -162
- xarray-2026.9.0/xarray.egg-info/scm_version.json +0 -8
- {xarray-2026.9.0 → xarray-2026.12.0}/.codecov.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.devcontainer/Dockerfile +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.devcontainer/devcontainer.json +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.git-blame-ignore-revs +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.git_archival.txt +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.gitattributes +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/FUNDING.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/config.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/dependabot.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/labeler.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/nightly-wheel-failure-template.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/release.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/stale.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/.readthedocs.yaml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/AI_POLICY.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/CITATION.cff +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/CONTRIBUTING.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/CORE_TEAM_GUIDE.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/HOW_TO_RELEASE.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/coarsen.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/datatree.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/recipe/pixi.toml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/recipe/prepare_recipe.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/recipe/recipe_template.yaml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/requirements/environment-benchmark.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/ci/requirements/environment.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/conftest.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/design_notes/flexible_indexes_notes.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/design_notes/grouper_objects.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/design_notes/named_array_design_doc.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/Makefile +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/.gitignore +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/ci.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/dask-array.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/index_api.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/style.css +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_static/view-docs.png +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/accessors.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/advanced.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/backends.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/coarsen.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/coordinates.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/dataarray.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/dataset.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/datatree.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/encoding.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/exceptions.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/groupby.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/indexes.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/io.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/plotting.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/resample.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/rolling-exp.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/rolling.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/testing.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/tutorial.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/ufuncs.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api/weighted.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/api.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/badge.json +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/contribute/ai-policy.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/create_environment.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/environment_template.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/monthly-means.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery/README.txt +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/get-help/howdoi.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/getting-started-guide/quick-overview.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/getting-started-guide/why-xarray.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/index.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/chunked-arrays.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/duck-arrays-integration.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/extending-xarray.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/internals/internal-design.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/roadmap.rst +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/try_examples.json +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/combined.json +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/combining.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/hierarchical-data.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/indexing.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/interpolation.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/user-guide/reshaping.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/doc/videos.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/README.md +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/conftest.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/test_coordinate_transform.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/test_indexing.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/properties/test_properties.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/setup.cfg +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/backends/chunks.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/coding/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/compat/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/compat/array_api_compat.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/computation/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/coordinate_transform.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/dask_array_expr.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/core/dataset_variables.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/namedarray/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/py.typed +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/static/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/static/css/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/static/html/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/structure/__init__.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/testing/__init__.py +0 -0
- {xarray-2026.9.0/xarray/util → xarray-2026.12.0/xarray/tests/backends}/__init__.py +0 -0
- /xarray-2026.9.0/xarray/tests/test_backends_chunks.py → /xarray-2026.12.0/xarray/tests/backends/test_chunks.py +0 -0
- /xarray-2026.9.0/xarray/tests/test_backends_lru_cache.py → /xarray-2026.12.0/xarray/tests/backends/test_lru_cache.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/namespace.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_array_api.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_calendar_ops.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_cftimeindex_resample.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_coordinates.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dask_expr_protocol.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dataarray_typing.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dataset_typing.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_datatree_typing.yml +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_dtypes.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_eval.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_extensions.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2026.9.0 → xarray-2026.12.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drop-python-version
|
|
3
|
+
description: Drop support for the oldest Python version in xarray (e.g. 3.12 -> minimum 3.13) - pyproject.toml, pixi environments, the CI matrix, docs and config files, dead version-gated code, ruff fallout, whats-new, and the GitHub required status checks. Use when the minimum dependency policy (ci/policy.yaml) allows raising the minimum Python version.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Drop a Python Version
|
|
7
|
+
|
|
8
|
+
Raises xarray's minimum supported Python version. Below, `OLD` is the version
|
|
9
|
+
being dropped and `NEW` the new minimum, e.g. `OLD=3.12`, `NEW=3.13`
|
|
10
|
+
(`pyOLD` = `py312`, `pyNEW` = `py313` in pixi and CI names).
|
|
11
|
+
|
|
12
|
+
For reference, Python 3.11 was dropped in pydata/xarray#11649.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
- `ci/policy.yaml` (`python: 30` months) allows dropping `OLD`
|
|
17
|
+
- Usually done separately from bumping other dependency minimums
|
|
18
|
+
(see the `upgrade-min-versions` skill)
|
|
19
|
+
|
|
20
|
+
## Steps
|
|
21
|
+
|
|
22
|
+
### 1. Find all references to the old version
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
git grep -nE "3\.OLD_MINOR\b|pyOLD" -- ':!doc/whats-new.rst' ':!pixi.lock'
|
|
26
|
+
git grep -n "sys.version_info" -- 'xarray/*.py'
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
e.g. `git grep -nE "3\.12\b|py312"`. Not every hit must change (see step 5).
|
|
30
|
+
|
|
31
|
+
### 2. pyproject.toml
|
|
32
|
+
|
|
33
|
+
- `requires-python = ">=NEW"`
|
|
34
|
+
- Classifiers: remove `Programming Language :: Python :: OLD`, and make sure
|
|
35
|
+
every supported version up to the newest tested one is listed.
|
|
36
|
+
|
|
37
|
+
### 3. pixi.toml
|
|
38
|
+
|
|
39
|
+
- **Features:** if a `[feature.pyNEW.dependencies]` already exists, delete
|
|
40
|
+
`[feature.pyOLD.dependencies]`. Otherwise rename it to `pyNEW` and set
|
|
41
|
+
`python = "NEW.*"`.
|
|
42
|
+
- **`[feature.minimal.dependencies]`:** `python = "NEW.*"`.
|
|
43
|
+
- **Environments:** rename all `test-pyOLD*` environments to `test-pyNEW*`
|
|
44
|
+
(`test-pyOLD`, `-with-typing`, `-bare-minimum`, `-bare-min-and-scipy`,
|
|
45
|
+
`-min-versions`) and switch their `"pyOLD"` feature to `"pyNEW"`. If a
|
|
46
|
+
`test-pyNEW` environment already exists, merge rather than duplicate.
|
|
47
|
+
- **Policy tasks:** update the `pixi:test-pyOLD-*` arguments in
|
|
48
|
+
`policy-bare-minimum`, `policy-bare-min-and-scipy`, `policy-min-versions`
|
|
49
|
+
and the combined policy task.
|
|
50
|
+
|
|
51
|
+
Then check the lock file resolves (`pixi.lock` is gitignored, but must work):
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pixi lock
|
|
55
|
+
pixi run policy-min-versions
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 4. CI workflows
|
|
59
|
+
|
|
60
|
+
- `.github/workflows/ci.yaml`: the "bookend" `pixi-env` matrix and the
|
|
61
|
+
`include` entries for the minimum Python version (`bare-minimum`,
|
|
62
|
+
`bare-min-and-scipy`, `min-versions`, `with-typing` + mypy).
|
|
63
|
+
- `.github/workflows/ci-additional.yaml`: the `mypy-min` job (`name: Mypy OLD`
|
|
64
|
+
and `PIXI_ENV`) and the `pixi-env` matrix of the typing jobs.
|
|
65
|
+
- `nightly-wheels.yml`, `pypi-release.yaml` pin a `python-version` for
|
|
66
|
+
building. Only bump these if they are the dropped version.
|
|
67
|
+
|
|
68
|
+
### 5. Other files
|
|
69
|
+
|
|
70
|
+
- `.binder/environment.yml`: `python=NEW`
|
|
71
|
+
- `.github/ISSUE_TEMPLATE/bugreport.yml`: `# requires-python = ">=NEW"` in the
|
|
72
|
+
MVCE script header
|
|
73
|
+
- `asv_bench/asv.conf.json`: `"pythons": ["NEW"]`
|
|
74
|
+
- `doc/getting-started-guide/installing.rst`: "Python (NEW or later)"
|
|
75
|
+
- `pixi.toml` `[feature.doc.dependencies]` and `.readthedocs.yaml` pin docs
|
|
76
|
+
Python versions independently. Leave them unless they are `OLD`.
|
|
77
|
+
|
|
78
|
+
### 6. Remove dead version-gated code
|
|
79
|
+
|
|
80
|
+
For every `sys.version_info >= (OLD_MAJOR, NEW_MINOR)` (or `< ...`) check,
|
|
81
|
+
keep only the branch that is now always taken, and drop now-unused
|
|
82
|
+
`import sys`. Also look for:
|
|
83
|
+
|
|
84
|
+
- `typing_extensions` imports of things that are in `typing` as of `NEW`
|
|
85
|
+
- `# type: ignore` comments that only existed for the old version
|
|
86
|
+
- tests skipped or xfailed only on `OLD`
|
|
87
|
+
|
|
88
|
+
### 7. Ruff and pre-commit
|
|
89
|
+
|
|
90
|
+
Ruff's target version is derived from `requires-python`, so new rules apply:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pre-commit run --all-files
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
- Small fixes (e.g. f-string quote style after PEP 701, pyupgrade rewrites):
|
|
97
|
+
apply them in this PR.
|
|
98
|
+
- Large syntax migrations (e.g. PEP 695 type parameters when moving to 3.12:
|
|
99
|
+
`UP040`, `UP046`, `UP047`): temporarily add the rules to `ignore` in
|
|
100
|
+
`pyproject.toml` with a comment, and do the migration in a follow-up PR.
|
|
101
|
+
|
|
102
|
+
### 8. Test
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
uv run pytest xarray -n auto
|
|
106
|
+
uv run dmypy run
|
|
107
|
+
pixi run -e test-pyNEW-bare-minimum pytest xarray -n auto
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### 9. whats-new.rst
|
|
111
|
+
|
|
112
|
+
Under "Breaking Changes":
|
|
113
|
+
|
|
114
|
+
```rst
|
|
115
|
+
- Support for Python OLD has been dropped. The minimum required Python version
|
|
116
|
+
is now NEW, in line with xarray's
|
|
117
|
+
:ref:`minimum dependency policy <mindeps_policy>` (:pull:`XXXXX`).
|
|
118
|
+
By `Name <https://github.com/handle>`_.
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### 10. Required status checks (GitHub ruleset)
|
|
122
|
+
|
|
123
|
+
The `main` branch ruleset requires CI checks by **name**, including
|
|
124
|
+
`os | test-pyOLD*` jobs. After renaming the environments, those checks never
|
|
125
|
+
report, so they show as "Expected — Waiting for status to be reported" and the
|
|
126
|
+
PR is blocked even with green CI. This is expected, not a CI failure.
|
|
127
|
+
|
|
128
|
+
A repo admin must replace them:
|
|
129
|
+
|
|
130
|
+
1. Find the ruleset:
|
|
131
|
+
```bash
|
|
132
|
+
gh api repos/pydata/xarray/rules/branches/main \
|
|
133
|
+
--jq '.[] | select(.type=="required_status_checks") | .ruleset_id, .parameters.required_status_checks[].context'
|
|
134
|
+
```
|
|
135
|
+
2. Open `https://github.com/pydata/xarray/settings/rules/<ruleset_id>`, under
|
|
136
|
+
"Require status checks to pass" delete each `test-pyOLD*` entry and use
|
|
137
|
+
"+ Add checks" to add the matching `test-pyNEW*` job. Names must match
|
|
138
|
+
exactly (e.g. `ubuntu-latest | test-pyNEW-with-typing (mypy)`). GitHub only
|
|
139
|
+
suggests checks that ran recently, so the PR's CI must have run first.
|
|
140
|
+
3. Do this right before or right after merging: other open PRs not yet
|
|
141
|
+
rebased on the new matrix will show the `pyNEW` checks as pending.
|
|
142
|
+
|
|
143
|
+
## Follow-ups
|
|
144
|
+
|
|
145
|
+
- New syntax/stdlib features available with `NEW` (e.g. PEP 695 with 3.12)
|
|
146
|
+
- Bump other dependency minimums (`upgrade-min-versions` skill)
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: upgrade-min-versions
|
|
3
|
+
description: Upgrade the minimum versions of xarray's dependencies (numpy, pandas, dask, zarr, scipy, ...) to match ci/policy.yaml, including pixi.toml/pyproject.toml pins, test decorator cleanup and the whats-new table. Use when bumping dependency minimums or when `pixi run policy-min-versions` shows `<`. For dropping a Python version, use drop-python-version instead.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Upgrade Minimum Dependency Versions
|
|
7
|
+
|
|
8
|
+
This skill upgrades xarray's minimum dependency versions to match the policy defined in `ci/policy.yaml`.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
Run this skill when:
|
|
13
|
+
|
|
14
|
+
- Preparing a new release that bumps minimum versions
|
|
15
|
+
- The policy file has been updated and manifests need to catch up
|
|
16
|
+
- `pixi run policy-min-versions` shows `<` for any packages
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
### 1. Check Current Policy Status
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pixi run policy-min-versions
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
This shows a table with:
|
|
27
|
+
|
|
28
|
+
- `=` means the version matches policy
|
|
29
|
+
- `<` means the version needs to be upgraded
|
|
30
|
+
- `>` means the version exceeds policy (usually fine)
|
|
31
|
+
|
|
32
|
+
### 2. Update Version Pins in pixi.toml
|
|
33
|
+
|
|
34
|
+
Update versions in these sections of `pixi.toml`:
|
|
35
|
+
|
|
36
|
+
- `[feature.minimal.dependencies]` - for numpy, pandas
|
|
37
|
+
- `[feature.minimum-scipy.dependencies]` - for scipy
|
|
38
|
+
- `[feature.min-versions.dependencies]` - for all other pinned dependencies
|
|
39
|
+
- `[package.run-dependencies]` - for packaging
|
|
40
|
+
|
|
41
|
+
Example changes:
|
|
42
|
+
|
|
43
|
+
```toml
|
|
44
|
+
# [feature.minimal.dependencies]
|
|
45
|
+
numpy = "2.0.*" # was "1.26.*"
|
|
46
|
+
|
|
47
|
+
# [feature.minimum-scipy.dependencies]
|
|
48
|
+
scipy = "1.15.*" # was "1.13.*"
|
|
49
|
+
|
|
50
|
+
# [feature.min-versions.dependencies]
|
|
51
|
+
zarr = "3.0.*" # was "2.18.*"
|
|
52
|
+
dask-core = "2025.1.*" # was "2024.6.*"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 3. Update pyproject.toml
|
|
56
|
+
|
|
57
|
+
Update the corresponding versions in `pyproject.toml` optional dependencies:
|
|
58
|
+
|
|
59
|
+
- `dependencies` - numpy, packaging, pandas
|
|
60
|
+
- `[project.optional-dependencies]` - accel, io, viz sections
|
|
61
|
+
|
|
62
|
+
### 4. Verify Lock File
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
pixi lock
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
This must pass. If it fails, there may be dependency conflicts to resolve.
|
|
69
|
+
|
|
70
|
+
### 5. Verify Policy Compliance
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pixi run policy-min-versions
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
All packages should now show `=`, and the command must exit with 0. Only a `>`
|
|
77
|
+
(pin newer than the policy) fails the check; it is allowed for packages listed
|
|
78
|
+
under `ignored_violations` in `ci/policy.yaml`.
|
|
79
|
+
|
|
80
|
+
Remove `overrides` in `ci/policy.yaml` that are no longer needed.
|
|
81
|
+
|
|
82
|
+
### 6. Clean Up Obsolete Test Decorators
|
|
83
|
+
|
|
84
|
+
In `xarray/tests/__init__.py`, remove any `has_*` / `requires_*` decorators for versions that are now guaranteed by the new minimums. For example:
|
|
85
|
+
|
|
86
|
+
- If numpy >= 2.0 is now required, remove `has_numpy_2` / `requires_numpy_2`
|
|
87
|
+
- If dask >= 2025.1 is now required, remove `has_dask_ge_2024_*` / `has_dask_ge_2025_1_0` / `has_dask_expr` / `requires_dask_expr`
|
|
88
|
+
- If zarr >= 3.0 is now required, remove `has_zarr_v3` / `requires_zarr_v3`
|
|
89
|
+
|
|
90
|
+
Then search for all usages of the deleted decorators and fix those files:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Search for usages of deleted decorators
|
|
94
|
+
rg "has_scipy_ge_|has_dask_ge_|has_zarr_v3[^_]|has_pandas_ge_|has_numpy_2|has_dask_expr|requires_dask_expr" xarray/tests/
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
For each file found:
|
|
98
|
+
|
|
99
|
+
- Remove imports of deleted decorators
|
|
100
|
+
- Replace `@requires_*` version decorators with the plain `@requires_<package>`
|
|
101
|
+
decorator, unless the test or its class already has one. They also skip the
|
|
102
|
+
test when the package is not installed at all, e.g. `@requires_dask_ge_2024_11_0`
|
|
103
|
+
in the `bare-minimum` and `no-dask` environments.
|
|
104
|
+
- Remove `if has_*:` conditionals (keep only the true branch), but use
|
|
105
|
+
`if has_<package>:` instead if the test doesn't require the package already.
|
|
106
|
+
- Remove `if not has_*:` conditionals (delete the code block)
|
|
107
|
+
- Delete tests marked with `@pytest.mark.skipif(has_*, ...)` (always skipped)
|
|
108
|
+
|
|
109
|
+
Also grep for decorators matching the new minimum exactly (e.g. `has_zarr_v3_dtypes`
|
|
110
|
+
for zarr 3.1) and for version guards defined elsewhere (e.g. `HAS_STRING_DTYPE`
|
|
111
|
+
in `xarray/compat/npcompat.py`).
|
|
112
|
+
|
|
113
|
+
### 7. Clean Up Version Guards in the Source
|
|
114
|
+
|
|
115
|
+
The source code has version guards too, which become dead code with the new
|
|
116
|
+
minimums. Search for them, not only for `module_available(..., minversion=...)`:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
rg -n -i "minversion|__version__|mod_version|NumpyVersion|oldest supported|remove (once|when)|delete when|requires (numpy|dask|pandas|zarr)|numpy ?[<>]=? ?[0-9]" xarray --glob '!xarray/tests/**'
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Also go through TODO and compat comments mentioning a dependency version, in
|
|
123
|
+
the source and the tests (e.g. `# use np.cumulative_sum(...) when we support
|
|
124
|
+
numpy>=2`, `# TODO: delete when min dask>=2023.12.1`, or `try: ... except
|
|
125
|
+
ImportError:` fallbacks for old versions):
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
rg -n -i "(TODO|FIXME|NOTE|compat|workaround|legacy|once|when|until|older|drop)[^\n]{0,80}\b(numpy|pandas|scipy|dask|zarr|netcdf4|h5netcdf|flox|numbagg|bottleneck|sparse|pint|matplotlib|cftime|numba)\b[^\n]{0,40}([<>]=?|version|v?[0-9]+\.[0-9]+)" xarray --glob '!xarray/core/_aggregations.py'
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
- Remove branches for versions older than the new minimum and keep the code for
|
|
132
|
+
the new versions, e.g. `try: from numpy.exceptions import RankWarning` /
|
|
133
|
+
`except ImportError:` becomes a plain import at the top of the module.
|
|
134
|
+
- `module_available("flox", minversion=...)` also checks that the package is
|
|
135
|
+
installed, so replace it with `module_available("flox")`, not `True`.
|
|
136
|
+
- Guards for versions _above_ the new minimum stay (e.g. `flox>=0.10.5`).
|
|
137
|
+
- Leave TODOs that depend on more than the version (e.g. a behavior change or
|
|
138
|
+
refactor) for a separate PR, and mention them in the PR.
|
|
139
|
+
- Delete compat modules that only re-export something available in all
|
|
140
|
+
supported versions, and their entries in `pyproject.toml` (e.g. coverage
|
|
141
|
+
`omit`).
|
|
142
|
+
- The flox checks in `xarray/core/_aggregations.py` are generated: change
|
|
143
|
+
`min_flox_version` in `xarray/util/generate_aggregations.py` and run
|
|
144
|
+
`pixi run generate-aggregations`. The generator writes to
|
|
145
|
+
`../xarray/xarray/...` relative to the current directory, so in a worktree
|
|
146
|
+
that is not named `xarray` it overwrites the main checkout instead. Run it
|
|
147
|
+
from a checkout named `xarray`, or check `git status` in both afterwards.
|
|
148
|
+
|
|
149
|
+
### 8. Update whats-new.rst
|
|
150
|
+
|
|
151
|
+
Add a table to `doc/whats-new.rst` under "Breaking Changes" documenting the version changes (in alphabetical order):
|
|
152
|
+
|
|
153
|
+
```rst
|
|
154
|
+
Breaking Changes
|
|
155
|
+
~~~~~~~~~~~~~~~~
|
|
156
|
+
|
|
157
|
+
- The minimum versions of some dependencies were changed (:pull:`<PR number>`):
|
|
158
|
+
|
|
159
|
+
=========== ====== ======
|
|
160
|
+
Package Old New
|
|
161
|
+
=========== ====== ======
|
|
162
|
+
boto3 1.34 1.36
|
|
163
|
+
cartopy 0.23 0.24
|
|
164
|
+
dask 2024.6 2025.1
|
|
165
|
+
distributed 2024.6 2025.1
|
|
166
|
+
h5netcdf 1.4 1.5
|
|
167
|
+
iris 3.9 3.11
|
|
168
|
+
lxml 5.1 5.3
|
|
169
|
+
matplotlib 3.8 3.10
|
|
170
|
+
numpy 1.26 2.0
|
|
171
|
+
packaging 24.1 24.2
|
|
172
|
+
rasterio 1.3 1.4
|
|
173
|
+
scipy 1.13 1.15
|
|
174
|
+
toolz 0.12 1.0
|
|
175
|
+
zarr 2.18 3.0
|
|
176
|
+
=========== ====== ======
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Only edit this entry, older releases contain the same sentence.
|
|
180
|
+
|
|
181
|
+
Every value must lie within the `=` signs of its column, otherwise the docs
|
|
182
|
+
build fails with "Malformed table". Size the columns to the longest value, e.g.
|
|
183
|
+
`2025.9` for dask.
|
|
184
|
+
|
|
185
|
+
### 9. Open the PR
|
|
186
|
+
|
|
187
|
+
Always ask the user before opening the PR, and show them the description first.
|
|
188
|
+
|
|
189
|
+
Follow `.github/PULL_REQUEST_TEMPLATE.md`: a short description (an intro line
|
|
190
|
+
and a few one-line bullets, e.g. the notable bumps and any policy override),
|
|
191
|
+
the checklist with the relevant items ticked (whats-new) and the AI disclosure
|
|
192
|
+
section filled in. Then add the PR number to the whats-new entry.
|
|
193
|
+
|
|
194
|
+
## Common Issues
|
|
195
|
+
|
|
196
|
+
### Lock file conflicts
|
|
197
|
+
|
|
198
|
+
If `pixi lock` fails, check for incompatible version combinations. Some packages (like h5py/hdf5) are noted in comments as prone to conflicts.
|
|
199
|
+
|
|
200
|
+
A package that is not bumped by the policy can still conflict with the new
|
|
201
|
+
minimums, e.g. netcdf4 1.6 has no builds for numpy 2. Bump it to the oldest
|
|
202
|
+
version that solves, and make sure the policy check still passes.
|
|
203
|
+
|
|
204
|
+
### Test failures after cleanup
|
|
205
|
+
|
|
206
|
+
After removing version guards, some tests may fail if they relied on version-specific behavior. Update the test logic to use only the new minimum version's behavior.
|
|
207
|
+
|
|
208
|
+
Run the full test suite in an environment with the latest versions (e.g.
|
|
209
|
+
`test-py314`) as well, not only in `test-py312-min-versions`: a workaround whose
|
|
210
|
+
TODO names an old version may still be needed for newer versions.
|
|
211
|
+
|
|
212
|
+
Run the touched tests not only in `test-py312-min-versions` but also in
|
|
213
|
+
`test-py312-bare-minimum` and `test-py314-no-dask`, which catch removed
|
|
214
|
+
decorators that also skipped tests for missing packages. Run mypy in the CI
|
|
215
|
+
environment, `pixi run -e test-py314-with-typing -- python -m mypy`; the
|
|
216
|
+
`typing` environment lacks optional dependencies and reports false positives.
|
|
@@ -35,7 +35,7 @@ body:
|
|
|
35
35
|
render: Python
|
|
36
36
|
value: |
|
|
37
37
|
# /// script
|
|
38
|
-
# requires-python = ">=3.
|
|
38
|
+
# requires-python = ">=3.12"
|
|
39
39
|
# dependencies = [
|
|
40
40
|
# "xarray[complete]@git+https://github.com/pydata/xarray.git@main",
|
|
41
41
|
# ]
|
|
@@ -92,7 +92,8 @@ body:
|
|
|
92
92
|
attributes:
|
|
93
93
|
label: Environment
|
|
94
94
|
description: |
|
|
95
|
-
|
|
95
|
+
Replace the `<details>` block below with the output of `xr.show_versions(markdown=True)`, which already includes the `<details>` tags.
|
|
96
|
+
Older versions of xarray do not support `markdown=True`; then paste the output of `xr.show_versions()` between the `<details>` tags, leaving an empty line following the opening tag.
|
|
96
97
|
value: |
|
|
97
98
|
<details>
|
|
98
99
|
|
|
@@ -7,7 +7,7 @@ contact_links:
|
|
|
7
7
|
If you have a question like "How do I concatenate a list of datasets?" then
|
|
8
8
|
please include a self-contained reproducible example if possible.
|
|
9
9
|
- name: 🗺️ Raster analysis usage question
|
|
10
|
-
url: https://github.com/
|
|
10
|
+
url: https://github.com/vylor/rioxarray/discussions
|
|
11
11
|
about: |
|
|
12
12
|
If you are using the rioxarray extension (engine='rasterio'), or have questions about
|
|
13
13
|
raster analysis such as geospatial formats, coordinate reprojection, etc.,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Nightly Conda Build/Upload Failed
|
|
2
|
+
|
|
3
|
+
**Workflow:** {{WORKFLOW}}
|
|
4
|
+
**Run:** [{{RUN_ID}}]({{RUN_URL}})
|
|
5
|
+
**Date:** {{DATE}}
|
|
6
|
+
|
|
7
|
+
The nightly conda build or upload to the [`scientific-python/scientific-python-nightly`](https://prefix.dev/scientific-python/scientific-python-nightly) channel has failed.
|
|
8
|
+
|
|
9
|
+
Please check the [workflow run]({{RUN_URL}}) for details.
|
|
10
|
+
|
|
11
|
+
This issue was automatically generated from the nightly conda workflow.
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# This file is machine-generated by `gh actions-lock`.
|
|
2
|
+
# Do not edit by hand; run `gh actions-lock` to update.
|
|
3
|
+
# Docs: https://gh.io/actions-lockfile
|
|
4
|
+
version: 'v0.0.3'
|
|
5
|
+
workflows:
|
|
6
|
+
'.github/workflows/benchmarks-comment.yml': []
|
|
7
|
+
'.github/workflows/benchmarks-last-release.yml':
|
|
8
|
+
- 'actions/checkout@v7.0.1'
|
|
9
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
10
|
+
- 'mamba-org/setup-micromamba@v3.2.1'
|
|
11
|
+
- 'wyrihaximus/github-action-get-previous-tag@v2.1.0'
|
|
12
|
+
'.github/workflows/benchmarks.yml':
|
|
13
|
+
- 'actions/checkout@v7.0.1'
|
|
14
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
15
|
+
- 'mamba-org/setup-micromamba@v3.2.1'
|
|
16
|
+
'.github/workflows/ci-additional.yaml':
|
|
17
|
+
- 'actions/checkout@v7.0.1'
|
|
18
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
19
|
+
- 'codecov/codecov-action@v7.1.1'
|
|
20
|
+
- 'prefix-dev/setup-pixi@v0.11.3'
|
|
21
|
+
- 'xarray-contrib/ci-trigger@v1.2.1'
|
|
22
|
+
- 'xarray-contrib/pixi-lock@v0.1.1'
|
|
23
|
+
- 'zizmorcore/zizmor-action@v0.9.2'
|
|
24
|
+
'.github/workflows/ci.yaml':
|
|
25
|
+
- 'actions/cache@v6.1.0'
|
|
26
|
+
- 'actions/checkout@v7.0.1'
|
|
27
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
28
|
+
- 'codecov/codecov-action@v7.1.1'
|
|
29
|
+
- 'prefix-dev/setup-pixi@v0.11.3'
|
|
30
|
+
- 'xarray-contrib/ci-trigger@v1.2.1'
|
|
31
|
+
- 'xarray-contrib/pixi-lock@v0.1.1'
|
|
32
|
+
'.github/workflows/hypothesis.yaml':
|
|
33
|
+
- 'actions/cache@v6.1.0'
|
|
34
|
+
- 'actions/checkout@v7.0.1'
|
|
35
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
36
|
+
- 'prefix-dev/setup-pixi@v0.11.3'
|
|
37
|
+
- 'scientific-python/issue-from-pytest-log-action@v1.6.2'
|
|
38
|
+
- 'xarray-contrib/ci-trigger@v1.2.1'
|
|
39
|
+
- 'xarray-contrib/pixi-lock@v0.1.1'
|
|
40
|
+
'.github/workflows/label-prs.yml':
|
|
41
|
+
- 'actions/labeler@v7.0.0'
|
|
42
|
+
'.github/workflows/nightly-conda.yml':
|
|
43
|
+
- 'actions/checkout@v7.0.1'
|
|
44
|
+
- 'actions/download-artifact@v8.0.2'
|
|
45
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
46
|
+
- 'prefix-dev/setup-pixi@v0.11.3'
|
|
47
|
+
'.github/workflows/nightly-wheels.yml':
|
|
48
|
+
- 'actions/checkout@v7.0.1'
|
|
49
|
+
- 'actions/download-artifact@v8.0.2'
|
|
50
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
51
|
+
- 'prefix-dev/setup-pixi@v0.11.3'
|
|
52
|
+
- 'scientific-python/upload-nightly-action@0.6.6'
|
|
53
|
+
'.github/workflows/publish-test-results.yaml':
|
|
54
|
+
- 'enricomi/publish-unit-test-result-action@v2.26.0'
|
|
55
|
+
'.github/workflows/pypi-release.yaml':
|
|
56
|
+
- 'actions/checkout@v7.0.1'
|
|
57
|
+
- 'actions/download-artifact@v8.0.2'
|
|
58
|
+
- 'actions/setup-python@v7.1.0'
|
|
59
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
60
|
+
- 'pypa/gh-action-pypi-publish@v1.14.3'
|
|
61
|
+
'.github/workflows/upstream-dev-ci.yaml':
|
|
62
|
+
- 'actions/checkout@v7.0.1'
|
|
63
|
+
- 'actions/download-artifact@v8.0.2'
|
|
64
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
65
|
+
- 'codecov/codecov-action@v7.1.1'
|
|
66
|
+
- 'prefix-dev/setup-pixi@v0.11.3'
|
|
67
|
+
- 'scientific-python/issue-from-pytest-log-action@v1.6.2'
|
|
68
|
+
- 'xarray-contrib/ci-trigger@v1.2.1'
|
|
69
|
+
- 'xarray-contrib/pixi-lock@v0.1.1'
|
|
70
|
+
dependencies:
|
|
71
|
+
'actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7':
|
|
72
|
+
ref: 'v5.0.2'
|
|
73
|
+
commit: 'sha1-8b402f58fbc84540c8b491a91e594a4576fec3d7'
|
|
74
|
+
owner_id: 44036562
|
|
75
|
+
repo_id: 215566462
|
|
76
|
+
'actions/cache@v6.1.0':
|
|
77
|
+
ref: 'v6.1.0'
|
|
78
|
+
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
|
|
79
|
+
owner_id: 44036562
|
|
80
|
+
repo_id: 215566462
|
|
81
|
+
'actions/checkout@v7.0.1':
|
|
82
|
+
ref: 'v7.0.1'
|
|
83
|
+
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
|
|
84
|
+
owner_id: 44036562
|
|
85
|
+
repo_id: 197814629
|
|
86
|
+
'actions/download-artifact@v8.0.2':
|
|
87
|
+
ref: 'v8.0.2'
|
|
88
|
+
commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
|
|
89
|
+
owner_id: 44036562
|
|
90
|
+
repo_id: 192626254
|
|
91
|
+
'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd':
|
|
92
|
+
ref: 'v8.0.0'
|
|
93
|
+
commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd'
|
|
94
|
+
owner_id: 44036562
|
|
95
|
+
repo_id: 205262760
|
|
96
|
+
'actions/labeler@v7.0.0':
|
|
97
|
+
ref: 'v7.0.0'
|
|
98
|
+
commit: 'sha1-bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13'
|
|
99
|
+
owner_id: 44036562
|
|
100
|
+
repo_id: 177139928
|
|
101
|
+
'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
|
|
102
|
+
ref: 'v6.2.0'
|
|
103
|
+
commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
|
|
104
|
+
owner_id: 44036562
|
|
105
|
+
repo_id: 192625525
|
|
106
|
+
'actions/setup-python@v7.1.0':
|
|
107
|
+
ref: 'v7.1.0'
|
|
108
|
+
commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
|
|
109
|
+
owner_id: 44036562
|
|
110
|
+
repo_id: 192625525
|
|
111
|
+
'actions/upload-artifact@v7.0.2':
|
|
112
|
+
ref: 'v7.0.2'
|
|
113
|
+
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
|
|
114
|
+
owner_id: 44036562
|
|
115
|
+
repo_id: 192625955
|
|
116
|
+
'astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39':
|
|
117
|
+
ref: 'v8.2.0'
|
|
118
|
+
commit: 'sha1-fac544c07dec837d0ccb6301d7b5580bf5edae39'
|
|
119
|
+
owner_id: 115962839
|
|
120
|
+
repo_id: 846733598
|
|
121
|
+
'codecov/codecov-action@v7.1.1':
|
|
122
|
+
ref: 'v7.1.1'
|
|
123
|
+
commit: 'sha1-303a32d7a59b442fa8d48b6a1cc6825c09c847a5'
|
|
124
|
+
owner_id: 8226205
|
|
125
|
+
repo_id: 200299178
|
|
126
|
+
uses:
|
|
127
|
+
- 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd'
|
|
128
|
+
'enricomi/publish-unit-test-result-action@v2.26.0':
|
|
129
|
+
ref: 'v2.26.0'
|
|
130
|
+
commit: 'sha1-da5b7be67623cd59bbbd1a0ce4f022050a55605f'
|
|
131
|
+
owner_id: 44700269
|
|
132
|
+
repo_id: 290227969
|
|
133
|
+
'github/codeql-action@33d7b85da1a04171e211befe2c739303b9a4c066':
|
|
134
|
+
ref: 'v4.39.3'
|
|
135
|
+
commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066'
|
|
136
|
+
owner_id: 9919
|
|
137
|
+
repo_id: 259445878
|
|
138
|
+
'mamba-org/setup-micromamba@v3.2.1':
|
|
139
|
+
ref: 'v3.2.1'
|
|
140
|
+
commit: 'sha1-f457c30a868e4760d3a6fcea5f25dc655b8edf39'
|
|
141
|
+
owner_id: 66118895
|
|
142
|
+
repo_id: 595118157
|
|
143
|
+
'prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7':
|
|
144
|
+
ref: 'v0.9.3'
|
|
145
|
+
commit: 'sha1-82d477f15f3a381dbcc8adc1206ce643fe110fb7'
|
|
146
|
+
owner_id: 111356225
|
|
147
|
+
repo_id: 686703662
|
|
148
|
+
'prefix-dev/setup-pixi@ad1da6449d9e506fd127fd67ab2d054a769f6a94':
|
|
149
|
+
ref: 'v0.11.2'
|
|
150
|
+
commit: 'sha1-ad1da6449d9e506fd127fd67ab2d054a769f6a94'
|
|
151
|
+
owner_id: 111356225
|
|
152
|
+
repo_id: 686703662
|
|
153
|
+
'prefix-dev/setup-pixi@v0.11.3':
|
|
154
|
+
ref: 'v0.11.3'
|
|
155
|
+
commit: 'sha1-9936258fee697aff89b3fed6ca1f80a382ef694e'
|
|
156
|
+
owner_id: 111356225
|
|
157
|
+
repo_id: 686703662
|
|
158
|
+
'pypa/gh-action-pypi-publish@v1.14.3':
|
|
159
|
+
ref: 'v1.14.3'
|
|
160
|
+
commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
|
|
161
|
+
owner_id: 647025
|
|
162
|
+
repo_id: 178055147
|
|
163
|
+
uses:
|
|
164
|
+
- 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
|
|
165
|
+
'scientific-python/issue-from-pytest-log-action@v1.6.2':
|
|
166
|
+
ref: 'v1.6.2'
|
|
167
|
+
commit: 'sha1-35b4e0a9e06f8e7e261778289cf4b968b722662d'
|
|
168
|
+
owner_id: 41802190
|
|
169
|
+
repo_id: 555368081
|
|
170
|
+
uses:
|
|
171
|
+
- 'astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39'
|
|
172
|
+
'scientific-python/upload-nightly-action@0.6.6':
|
|
173
|
+
ref: '0.6.6'
|
|
174
|
+
commit: 'sha1-5a74a2a4ec19d7ab8b5317c1cdd356c150d92cd0'
|
|
175
|
+
owner_id: 41802190
|
|
176
|
+
repo_id: 644050251
|
|
177
|
+
uses:
|
|
178
|
+
- 'prefix-dev/setup-pixi@ad1da6449d9e506fd127fd67ab2d054a769f6a94'
|
|
179
|
+
'wyrihaximus/github-action-get-previous-tag@v2.1.0':
|
|
180
|
+
ref: 'v2.1.0'
|
|
181
|
+
commit: 'sha1-83f26fea93bc7efcbca2eb5591f5eaaf66b8f206'
|
|
182
|
+
owner_id: 147145
|
|
183
|
+
repo_id: 216229397
|
|
184
|
+
'xarray-contrib/ci-trigger@v1.2.1':
|
|
185
|
+
ref: 'v1.2.1'
|
|
186
|
+
commit: 'sha1-10cd2bfec3484946a4058a421ddf9cfad101e715'
|
|
187
|
+
owner_id: 35757293
|
|
188
|
+
repo_id: 332483451
|
|
189
|
+
'xarray-contrib/pixi-lock@v0.1.1':
|
|
190
|
+
ref: 'v0.1.1'
|
|
191
|
+
commit: 'sha1-1fab4c17af8243f6ca1321bc941cf2325f46c05d'
|
|
192
|
+
owner_id: 35757293
|
|
193
|
+
repo_id: 1135633880
|
|
194
|
+
uses:
|
|
195
|
+
- 'actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7'
|
|
196
|
+
- 'prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7'
|
|
197
|
+
'zizmorcore/zizmor-action@v0.9.2':
|
|
198
|
+
ref: 'v0.9.2'
|
|
199
|
+
commit: 'sha1-1b4550e929643b8b26a62303c6bd64814271a4f1'
|
|
200
|
+
owner_id: 210636713
|
|
201
|
+
repo_id: 985558803
|
|
202
|
+
uses:
|
|
203
|
+
- 'github/codeql-action@33d7b85da1a04171e211befe2c739303b9a4c066'
|