xarray 2026.2.0__tar.gz → 2026.7.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.7.0/.claude/skills/upgrade-min-versions.md +126 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.devcontainer/Dockerfile +1 -1
- xarray-2026.7.0/.github/PULL_REQUEST_TEMPLATE.md +20 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/dependabot.yml +2 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/benchmarks-last-release.yml +10 -6
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/benchmarks.yml +8 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/ci-additional.yaml +99 -31
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/ci.yaml +32 -23
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/hypothesis.yaml +17 -14
- xarray-2026.7.0/.github/workflows/label-prs.yml +23 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/nightly-wheels.yml +34 -10
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/publish-test-results.yaml +7 -5
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/pypi-release.yaml +12 -9
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/upstream-dev-ci.yaml +79 -35
- {xarray-2026.2.0 → xarray-2026.7.0}/.gitignore +2 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.pre-commit-config.yaml +10 -5
- {xarray-2026.2.0 → xarray-2026.7.0}/.readthedocs.yaml +1 -1
- xarray-2026.7.0/AI_POLICY.md +1 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/CORE_TEAM_GUIDE.md +2 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/PKG-INFO +14 -13
- xarray-2026.7.0/_stubtest/allowlist.txt +172 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/groupby.py +4 -2
- xarray-2026.7.0/ci/numpydoc-public-api.py +175 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/ci/policy.yaml +1 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/ci/release_contributors.py +1 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/conftest.py +61 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/Makefile +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/dataarray.rst +2 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/io.rst +2 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api-hidden.rst +4 -10
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/conf.py +7 -7
- xarray-2026.7.0/doc/contribute/ai-policy.md +88 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/contribute/contributing.rst +10 -11
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/contribute/index.rst +1 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/get-help/help-diagram.rst +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/get-help/socials.rst +0 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/getting-started-guide/why-xarray.rst +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/how-to-create-custom-index.rst +6 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/duckarrays.rst +4 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/ecosystem.rst +1 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/options.rst +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/plotting.rst +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/reshaping.rst +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/time-series.rst +4 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/weather-climate.rst +4 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/whats-new.rst +286 -6
- {xarray-2026.2.0 → xarray-2026.7.0}/pixi.toml +106 -40
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/test_encode_decode.py +17 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/test_pandas_roundtrip.py +1 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/pyproject.toml +20 -17
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/api.py +13 -7
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/common.py +11 -27
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/h5netcdf_.py +24 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/scipy_.py +118 -72
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/zarr.py +75 -17
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/calendar_ops.py +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/cftime_offsets.py +12 -99
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/cftimeindex.py +18 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/frequencies.py +7 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/strings.py +9 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/times.py +37 -55
- xarray-2026.7.0/xarray/compat/dask_array_compat.py +60 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/compat/dask_array_ops.py +7 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/compat/pdcompat.py +1 -17
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/computation.py +3 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/nanops.py +3 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/conventions.py +3 -5
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/_aggregations.py +391 -150
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/accessor_dt.py +48 -21
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/coordinate_transform.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/coordinates.py +1 -1
- xarray-2026.7.0/xarray/core/dask_array_expr.py +300 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/dataarray.py +81 -21
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/dataset.py +107 -19
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/dataset_utils.py +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/datatree.py +78 -25
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/dtypes.py +11 -5
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/duck_array_ops.py +18 -5
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/formatting_html.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/groupby.py +77 -24
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/indexes.py +16 -3
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/indexing.py +9 -3
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/options.py +26 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/parallel.py +46 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/types.py +2 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/utils.py +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/variable.py +36 -20
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/groupers.py +3 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/indexes/range_index.py +17 -9
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/core.py +12 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/pycompat.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/plot/accessor.py +27 -27
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/plot/dataarray_plot.py +33 -27
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/plot/dataset_plot.py +16 -14
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/plot/facetgrid.py +58 -18
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/plot/utils.py +13 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/structure/chunks.py +6 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/structure/combine.py +2 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/testing/assertions.py +23 -13
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/CLAUDE.md +4 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/__init__.py +28 -14
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_accessor_dt.py +35 -70
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_accessor_str.py +1 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_assertions.py +115 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends.py +339 -249
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_datatree.py +31 -31
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_calendar_ops.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_cftime_offsets.py +4 -119
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_cftimeindex.py +8 -6
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_cftimeindex_resample.py +2 -7
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_coding.py +8 -7
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_coding_strings.py +31 -11
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_coding_times.py +33 -47
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_combine.py +19 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_computation.py +17 -19
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_conventions.py +5 -16
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_cupy.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_dask.py +123 -65
- xarray-2026.7.0/xarray/tests/test_dask_expr_protocol.py +382 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_dataarray.py +46 -13
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_dataarray_typing.yml +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_dataset.py +158 -53
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_dataset_typing.yml +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_datatree.py +40 -8
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_datatree_mapping.py +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_datatree_typing.yml +2 -2
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_distributed.py +6 -6
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_dtypes.py +2 -8
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_duck_array_ops.py +34 -22
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_duck_array_wrapping.py +18 -5
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_formatting_html.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_groupby.py +212 -66
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_indexing.py +27 -16
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_interp.py +87 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_missing.py +1 -3
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_namedarray.py +4 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_options.py +15 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_parallelcompat.py +3 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_plot.py +79 -12
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_plugins.py +1 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_range_index.py +22 -6
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_rolling.py +5 -4
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_sparse.py +59 -27
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_variable.py +27 -20
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/util/generate_aggregations.py +97 -17
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray.egg-info/PKG-INFO +14 -13
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray.egg-info/SOURCES.txt +9 -1
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray.egg-info/requires.txt +13 -12
- xarray-2026.7.0/xarray.egg-info/scm_file_list.json +438 -0
- xarray-2026.7.0/xarray.egg-info/scm_version.json +8 -0
- xarray-2026.2.0/.github/PULL_REQUEST_TEMPLATE.md +0 -6
- xarray-2026.2.0/.github/workflows/label-prs.yml +0 -12
- xarray-2026.2.0/setup.py +0 -4
- xarray-2026.2.0/xarray/compat/dask_array_compat.py +0 -32
- {xarray-2026.2.0 → xarray-2026.7.0}/.binder/environment.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.codecov.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.devcontainer/devcontainer.json +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.git-blame-ignore-revs +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.git_archival.txt +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.gitattributes +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/FUNDING.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/config.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/labeler.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/nightly-wheel-failure-template.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/release.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/stale.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/CITATION.cff +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/CLAUDE.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/CONTRIBUTING.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/HOW_TO_RELEASE.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/README.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/asv.conf.json +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/README_CI.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/accessors.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/alignment.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/coarsen.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/coding.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/combine.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/dataset_io.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/datatree.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/import.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/indexing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/interp.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/pandas.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/polyfit.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/rolling.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/asv_bench/benchmarks/unstacking.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/ci/requirements/environment-benchmark.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/ci/requirements/environment.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/design_notes/flexible_indexes_notes.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/design_notes/grouper_objects.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/design_notes/named_array_design_doc.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/README.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/.gitignore +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/ci.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/dask-array.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/index_api.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/style.css +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_static/view-docs.png +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/accessors.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/advanced.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/backends.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/coarsen.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/coordinates.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/dataset.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/datatree.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/deprecated.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/encoding.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/exceptions.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/groupby.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/indexes.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/plotting.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/resample.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/rolling-exp.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/rolling.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/testing.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/top-level.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/tutorial.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/ufuncs.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api/weighted.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/api.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/badge.json +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/combined.json +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/contribute/developers-meeting.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/monthly-means.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery/README.txt +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/gallery.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/get-help/faq.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/get-help/howdoi.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/getting-started-guide/index.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/getting-started-guide/installing.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/getting-started-guide/quick-overview.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/index.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/chunked-arrays.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/duck-arrays-integration.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/extending-xarray.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/how-to-add-new-backend.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/index.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/internal-design.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/interoperability.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/time-coding.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/internals/zarr-encoding-spec.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/roadmap.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/combining.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/complex-numbers.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/computation.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/dask.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/data-structures.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/groupby.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/hierarchical-data.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/index.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/indexing.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/interpolation.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/io.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/pandas.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/terminology.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/user-guide/testing.rst +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/doc/videos.yml +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/README.md +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/conftest.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/test_coordinate_transform.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/test_indexing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/properties/test_properties.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/setup.cfg +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/chunks.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/file_manager.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/locks.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/lru_cache.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/memory.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/netCDF4_.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/netcdf3.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/plugins.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/pydap_.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/store.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/backends/writers.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coders.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/common.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/coding/variables.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/compat/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/compat/array_api_compat.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/compat/npcompat.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/compat/toolzcompat.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/apply_ufunc.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/arithmetic.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/fit.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/ops.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/rolling.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/rolling_exp.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/computation/weighted.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/convert.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/_typed_ops.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/accessor_str.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/common.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/dataset_variables.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/datatree_mapping.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/datatree_render.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/eval.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/extension_array.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/extensions.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/formatting.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/missing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/nputils.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/resample.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/resample_cftime.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/core/treenode.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/indexes/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/indexes/nd_point_index.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/_aggregations.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/_array_api.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/_typing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/daskmanager.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/dtypes.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/parallelcompat.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/namedarray/utils.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/plot/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/py.typed +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/static/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/static/css/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/static/css/style.css +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/static/html/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/structure/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/structure/alignment.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/structure/concat.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/structure/merge.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/testing/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/testing/strategies.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/arrays.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/conftest.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/indexes.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/namespace.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_array_api.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_api.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_chunks.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_common.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_file_manager.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_locks.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_backends_lru_cache.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_coarsen.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_concat.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_coordinate_transform.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_coordinates.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_deprecation_helpers.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_error_messages.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_eval.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_extensions.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_formatting.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_hashable.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_indexes.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_merge.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_nd_point_index.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_pandas_to_xarray.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_print_versions.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_strategies.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_treenode.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_tutorial.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_typed_ops.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_ufuncs.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_units.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_utils.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tests/test_weighted.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/tutorial.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/typing.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/ufuncs.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/util/__init__.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/util/deprecation_helpers.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/util/generate_ops.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray/util/print_versions.py +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2026.2.0 → xarray-2026.7.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Upgrade Minimum Dependency Versions
|
|
2
|
+
|
|
3
|
+
This skill upgrades xarray's minimum dependency versions to match the policy defined in `ci/policy.yaml`.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
Run this skill when:
|
|
8
|
+
- Preparing a new release that bumps minimum versions
|
|
9
|
+
- The policy file has been updated and manifests need to catch up
|
|
10
|
+
- `pixi run policy-min-versions` shows `<` for any packages
|
|
11
|
+
|
|
12
|
+
## Steps
|
|
13
|
+
|
|
14
|
+
### 1. Check Current Policy Status
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pixi run policy-min-versions
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
This shows a table with:
|
|
21
|
+
- `=` means the version matches policy
|
|
22
|
+
- `<` means the version needs to be upgraded
|
|
23
|
+
- `>` means the version exceeds policy (usually fine)
|
|
24
|
+
|
|
25
|
+
### 2. Update Version Pins in pixi.toml
|
|
26
|
+
|
|
27
|
+
Update versions in these sections of `pixi.toml`:
|
|
28
|
+
|
|
29
|
+
- `[feature.minimal.dependencies]` - for numpy, pandas
|
|
30
|
+
- `[feature.minimum-scipy.dependencies]` - for scipy
|
|
31
|
+
- `[feature.min-versions.dependencies]` - for all other pinned dependencies
|
|
32
|
+
- `[package.run-dependencies]` - for packaging
|
|
33
|
+
|
|
34
|
+
Example changes:
|
|
35
|
+
```toml
|
|
36
|
+
# [feature.minimal.dependencies]
|
|
37
|
+
numpy = "2.0.*" # was "1.26.*"
|
|
38
|
+
|
|
39
|
+
# [feature.minimum-scipy.dependencies]
|
|
40
|
+
scipy = "1.15.*" # was "1.13.*"
|
|
41
|
+
|
|
42
|
+
# [feature.min-versions.dependencies]
|
|
43
|
+
zarr = "3.0.*" # was "2.18.*"
|
|
44
|
+
dask-core = "2025.1.*" # was "2024.6.*"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 3. Update pyproject.toml
|
|
48
|
+
|
|
49
|
+
Update the corresponding versions in `pyproject.toml` optional dependencies:
|
|
50
|
+
- `dependencies` - numpy, packaging, pandas
|
|
51
|
+
- `[project.optional-dependencies]` - accel, io, viz sections
|
|
52
|
+
|
|
53
|
+
### 4. Verify Lock File
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
pixi lock
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
This must pass. If it fails, there may be dependency conflicts to resolve.
|
|
60
|
+
|
|
61
|
+
### 5. Verify Policy Compliance
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pixi run policy-min-versions
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
All packages should now show `=`.
|
|
68
|
+
|
|
69
|
+
### 6. Clean Up Obsolete Test Decorators
|
|
70
|
+
|
|
71
|
+
In `xarray/tests/__init__.py`, remove any `has_*` / `requires_*` decorators for versions that are now guaranteed by the new minimums. For example:
|
|
72
|
+
- If numpy >= 2.0 is now required, remove `has_numpy_2` / `requires_numpy_2`
|
|
73
|
+
- If dask >= 2025.1 is now required, remove `has_dask_ge_2024_*` / `has_dask_ge_2025_1_0` / `has_dask_expr` / `requires_dask_expr`
|
|
74
|
+
- If zarr >= 3.0 is now required, remove `has_zarr_v3` / `requires_zarr_v3`
|
|
75
|
+
|
|
76
|
+
Then search for all usages of the deleted decorators and fix those files:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Search for usages of deleted decorators
|
|
80
|
+
rg "has_scipy_ge_|has_dask_ge_|has_zarr_v3[^_]|has_pandas_ge_|has_numpy_2|has_dask_expr|requires_dask_expr" xarray/tests/
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
For each file found:
|
|
84
|
+
- Remove imports of deleted decorators
|
|
85
|
+
- Remove `@requires_*` decorators that are always true
|
|
86
|
+
- Remove `if has_*:` conditionals (keep only the true branch)
|
|
87
|
+
- Remove `if not has_*:` conditionals (delete the code block)
|
|
88
|
+
- Delete tests marked with `@pytest.mark.skipif(has_*, ...)` (always skipped)
|
|
89
|
+
|
|
90
|
+
### 7. Update whats-new.rst
|
|
91
|
+
|
|
92
|
+
Add a table to `doc/whats-new.rst` under "Breaking Changes" documenting the version changes (in alphabetical order):
|
|
93
|
+
|
|
94
|
+
```rst
|
|
95
|
+
Breaking Changes
|
|
96
|
+
~~~~~~~~~~~~~~~~
|
|
97
|
+
|
|
98
|
+
- The minimum versions of some dependencies were changed:
|
|
99
|
+
|
|
100
|
+
===================== ========= =======
|
|
101
|
+
Package Old New
|
|
102
|
+
===================== ========= =======
|
|
103
|
+
boto3 1.34 1.36
|
|
104
|
+
cartopy 0.23 0.24
|
|
105
|
+
dask 2024.6 2025.1
|
|
106
|
+
distributed 2024.6 2025.1
|
|
107
|
+
h5netcdf 1.4 1.5
|
|
108
|
+
iris 3.9 3.11
|
|
109
|
+
lxml 5.1 5.3
|
|
110
|
+
matplotlib 3.8 3.10
|
|
111
|
+
numpy 1.26 2.0
|
|
112
|
+
packaging 24.1 24.2
|
|
113
|
+
rasterio 1.3 1.4
|
|
114
|
+
scipy 1.13 1.15
|
|
115
|
+
toolz 0.12 1.0
|
|
116
|
+
zarr 2.18 3.0
|
|
117
|
+
===================== ========= =======
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Common Issues
|
|
121
|
+
|
|
122
|
+
### Lock file conflicts
|
|
123
|
+
If `pixi lock` fails, check for incompatible version combinations. Some packages (like h5py/hdf5) are noted in comments as prone to conflicts.
|
|
124
|
+
|
|
125
|
+
### Test failures after cleanup
|
|
126
|
+
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
FROM mcr.microsoft.com/devcontainers/base:jammy
|
|
2
2
|
|
|
3
|
-
ARG PIXI_VERSION=v0.
|
|
3
|
+
ARG PIXI_VERSION=v0.63.2
|
|
4
4
|
|
|
5
5
|
RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \
|
|
6
6
|
&& chmod +x /usr/local/bin/pixi \
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
### Description
|
|
2
|
+
|
|
3
|
+
### Checklist
|
|
4
|
+
|
|
5
|
+
<!-- Feel free to remove check-list items aren't relevant to your change -->
|
|
6
|
+
|
|
7
|
+
- [ ] Closes #xxxx
|
|
8
|
+
- [ ] Tests added
|
|
9
|
+
- [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst`
|
|
10
|
+
- [ ] New functions/methods are listed in `api.rst`
|
|
11
|
+
|
|
12
|
+
### AI Disclosure
|
|
13
|
+
|
|
14
|
+
<!--- Please review our AI & contribution guidelines: https://docs.xarray.dev/en/stable/contribute/ai-policy.html. Remove this section if your PR does not contain AI-generated content. --->
|
|
15
|
+
|
|
16
|
+
- [ ] This PR contains AI-generated content.
|
|
17
|
+
- [ ] I have tested any AI-generated content in my PR.
|
|
18
|
+
- [ ] I take responsibility for any AI-generated content in my PR.
|
|
19
|
+
<!--- If you used AI to generate code, please specify the tool used and the prompt below. --->
|
|
20
|
+
Tools: {e.g., Claude, Codex, GitHub Copilot, ChatGPT, etc.}
|
|
@@ -6,6 +6,8 @@ on:
|
|
|
6
6
|
- main
|
|
7
7
|
workflow_dispatch:
|
|
8
8
|
|
|
9
|
+
permissions: {}
|
|
10
|
+
|
|
9
11
|
jobs:
|
|
10
12
|
benchmark:
|
|
11
13
|
name: Linux
|
|
@@ -17,12 +19,13 @@ jobs:
|
|
|
17
19
|
steps:
|
|
18
20
|
# We need the full repo to avoid this issue
|
|
19
21
|
# https://github.com/actions/checkout/issues/23
|
|
20
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
21
23
|
with:
|
|
22
24
|
fetch-depth: 0
|
|
25
|
+
persist-credentials: false
|
|
23
26
|
|
|
24
27
|
- name: Set up conda environment
|
|
25
|
-
uses: mamba-org/setup-micromamba@
|
|
28
|
+
uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 # v3.0.0
|
|
26
29
|
with:
|
|
27
30
|
micromamba-version: "1.5.10-0"
|
|
28
31
|
environment-file: ${{env.CONDA_ENV_FILE}}
|
|
@@ -34,7 +37,7 @@ jobs:
|
|
|
34
37
|
|
|
35
38
|
- name: "Get Previous tag"
|
|
36
39
|
id: previoustag
|
|
37
|
-
uses:
|
|
40
|
+
uses: WyriHaximus/github-action-get-previous-tag@61819f33034117e6c686e6a31dba995a85afc9de # v2.0.0
|
|
38
41
|
# with:
|
|
39
42
|
# fallback: 1.0.0 # Optional fallback tag to use when no tag can be found
|
|
40
43
|
|
|
@@ -47,18 +50,19 @@ jobs:
|
|
|
47
50
|
OMP_NUM_THREADS: 1
|
|
48
51
|
ASV_FACTOR: 1.5
|
|
49
52
|
ASV_SKIP_SLOW: 1
|
|
53
|
+
GITHUB_TAG: ${{ steps.previoustag.outputs.tag }}
|
|
50
54
|
run: |
|
|
51
55
|
set -x
|
|
52
56
|
# ID this runner
|
|
53
57
|
asv machine --yes
|
|
54
|
-
echo "Baseline: $
|
|
58
|
+
echo "Baseline: $GITHUB_TAG"
|
|
55
59
|
echo "Contender: ${{ github.sha }}"
|
|
56
60
|
# Use mamba for env creation
|
|
57
61
|
# export CONDA_EXE=$(which mamba)
|
|
58
62
|
export CONDA_EXE=$(which conda)
|
|
59
63
|
# Run benchmarks for current commit against base
|
|
60
64
|
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR"
|
|
61
|
-
asv continuous $ASV_OPTIONS $
|
|
65
|
+
asv continuous $ASV_OPTIONS "$GITHUB_TAG" ${{ github.sha }} \
|
|
62
66
|
| sed "/Traceback \|failed$\|PERFORMANCE DECREASED/ s/^/::error::/" \
|
|
63
67
|
| tee benchmarks.log
|
|
64
68
|
# Report and export results for subsequent steps
|
|
@@ -73,7 +77,7 @@ jobs:
|
|
|
73
77
|
cp benchmarks/README_CI.md benchmarks.log .asv/results/
|
|
74
78
|
working-directory: ${{ env.ASV_DIR }}
|
|
75
79
|
|
|
76
|
-
- uses: actions/upload-artifact@
|
|
80
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
77
81
|
if: always()
|
|
78
82
|
with:
|
|
79
83
|
name: asv-benchmark-results-${{ runner.os }}
|
|
@@ -8,6 +8,8 @@ on:
|
|
|
8
8
|
env:
|
|
9
9
|
PR_HEAD_LABEL: ${{ github.event.pull_request.head.label }}
|
|
10
10
|
|
|
11
|
+
permissions: {}
|
|
12
|
+
|
|
11
13
|
jobs:
|
|
12
14
|
benchmark:
|
|
13
15
|
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || contains( github.event.pull_request.labels.*.name, 'topic-performance') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
|
|
@@ -20,12 +22,13 @@ jobs:
|
|
|
20
22
|
steps:
|
|
21
23
|
# We need the full repo to avoid this issue
|
|
22
24
|
# https://github.com/actions/checkout/issues/23
|
|
23
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
24
26
|
with:
|
|
25
27
|
fetch-depth: 0
|
|
28
|
+
persist-credentials: false
|
|
26
29
|
|
|
27
30
|
- name: Set up conda environment
|
|
28
|
-
uses: mamba-org/setup-micromamba@
|
|
31
|
+
uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 # v3.0.0
|
|
29
32
|
with:
|
|
30
33
|
micromamba-version: "1.5.10-0"
|
|
31
34
|
environment-file: ${{env.CONDA_ENV_FILE}}
|
|
@@ -47,11 +50,12 @@ jobs:
|
|
|
47
50
|
OMP_NUM_THREADS: 1
|
|
48
51
|
ASV_FACTOR: 1.5
|
|
49
52
|
ASV_SKIP_SLOW: 1
|
|
53
|
+
GITHUB_LABEL: ${{ github.event.pull_request.base.label }}
|
|
50
54
|
run: |
|
|
51
55
|
set -x
|
|
52
56
|
# ID this runner
|
|
53
57
|
asv machine --yes
|
|
54
|
-
echo "Baseline: ${{ github.event.pull_request.base.sha }} ($
|
|
58
|
+
echo "Baseline: ${{ github.event.pull_request.base.sha }} ($GITHUB_LABEL)"
|
|
55
59
|
echo "Contender: ${GITHUB_SHA} ($PR_HEAD_LABEL)"
|
|
56
60
|
# Run benchmarks for current commit against base
|
|
57
61
|
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR"
|
|
@@ -70,7 +74,7 @@ jobs:
|
|
|
70
74
|
cp benchmarks/README_CI.md benchmarks.log .asv/results/
|
|
71
75
|
working-directory: ${{ env.ASV_DIR }}
|
|
72
76
|
|
|
73
|
-
- uses: actions/upload-artifact@
|
|
77
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
74
78
|
if: always()
|
|
75
79
|
with:
|
|
76
80
|
name: asv-benchmark-results-${{ runner.os }}
|
|
@@ -14,7 +14,8 @@ concurrency:
|
|
|
14
14
|
|
|
15
15
|
env:
|
|
16
16
|
FORCE_COLOR: 3
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
permissions: {}
|
|
18
19
|
|
|
19
20
|
jobs:
|
|
20
21
|
detect-ci-trigger:
|
|
@@ -27,10 +28,11 @@ jobs:
|
|
|
27
28
|
outputs:
|
|
28
29
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
29
30
|
steps:
|
|
30
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
31
32
|
with:
|
|
32
33
|
fetch-depth: 2
|
|
33
|
-
|
|
34
|
+
persist-credentials: false
|
|
35
|
+
- uses: xarray-contrib/ci-trigger@10cd2bfec3484946a4058a421ddf9cfad101e715 # v1.2.1
|
|
34
36
|
id: detect-trigger
|
|
35
37
|
with:
|
|
36
38
|
keyword: "[skip-ci]"
|
|
@@ -45,12 +47,12 @@ jobs:
|
|
|
45
47
|
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
|
|
46
48
|
|
|
47
49
|
steps:
|
|
48
|
-
- uses: actions/checkout@
|
|
49
|
-
- uses: Parcels-code/pixi-lock/create-and-cache@9a2866f8258b87a3c616d5ad7d51c6cd853df78b
|
|
50
|
-
id: pixi-lock
|
|
50
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
51
51
|
with:
|
|
52
|
-
|
|
53
|
-
- uses:
|
|
52
|
+
persist-credentials: false
|
|
53
|
+
- uses: Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
54
|
+
id: pixi-lock
|
|
55
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
54
56
|
with:
|
|
55
57
|
name: pixi-lock
|
|
56
58
|
path: pixi.lock
|
|
@@ -66,19 +68,20 @@ jobs:
|
|
|
66
68
|
env:
|
|
67
69
|
PIXI_ENV: "test-py313"
|
|
68
70
|
steps:
|
|
69
|
-
- uses: actions/checkout@
|
|
71
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
70
72
|
with:
|
|
71
73
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
74
|
+
persist-credentials: false
|
|
72
75
|
|
|
73
76
|
- name: set environment variables
|
|
74
77
|
run: |
|
|
75
78
|
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
|
76
79
|
|
|
77
80
|
- name: Restore cached pixi lockfile
|
|
78
|
-
uses: Parcels-code/pixi-lock/restore@
|
|
81
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
79
82
|
with:
|
|
80
83
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
81
|
-
- uses: prefix-dev/setup-pixi@v0.9.
|
|
84
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
82
85
|
with:
|
|
83
86
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
84
87
|
cache: true
|
|
@@ -106,17 +109,18 @@ jobs:
|
|
|
106
109
|
run:
|
|
107
110
|
shell: bash -l {0}
|
|
108
111
|
env:
|
|
109
|
-
PIXI_ENV: test-
|
|
112
|
+
PIXI_ENV: test-py314-with-typing
|
|
110
113
|
|
|
111
114
|
steps:
|
|
112
|
-
- uses: actions/checkout@
|
|
115
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
113
116
|
with:
|
|
114
117
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
118
|
+
persist-credentials: false
|
|
115
119
|
- name: Restore cached pixi lockfile
|
|
116
|
-
uses: Parcels-code/pixi-lock/restore@
|
|
120
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
117
121
|
with:
|
|
118
122
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
119
|
-
- uses: prefix-dev/setup-pixi@v0.9.
|
|
123
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
120
124
|
with:
|
|
121
125
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
122
126
|
cache: true
|
|
@@ -135,9 +139,9 @@ jobs:
|
|
|
135
139
|
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
136
140
|
|
|
137
141
|
- name: Upload mypy coverage to Codecov
|
|
138
|
-
uses: codecov/codecov-action@
|
|
142
|
+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
|
139
143
|
with:
|
|
140
|
-
|
|
144
|
+
files: mypy_report/cobertura.xml
|
|
141
145
|
flags: mypy
|
|
142
146
|
env_vars: PYTHON_VERSION
|
|
143
147
|
name: codecov-umbrella
|
|
@@ -154,14 +158,15 @@ jobs:
|
|
|
154
158
|
PIXI_ENV: test-py311-with-typing
|
|
155
159
|
|
|
156
160
|
steps:
|
|
157
|
-
- uses: actions/checkout@
|
|
161
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
158
162
|
with:
|
|
159
163
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
164
|
+
persist-credentials: false
|
|
160
165
|
- name: Restore cached pixi lockfile
|
|
161
|
-
uses: Parcels-code/pixi-lock/restore@
|
|
166
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
162
167
|
with:
|
|
163
168
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
164
|
-
- uses: prefix-dev/setup-pixi@v0.9.
|
|
169
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
165
170
|
with:
|
|
166
171
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
167
172
|
cache: true
|
|
@@ -180,14 +185,61 @@ jobs:
|
|
|
180
185
|
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
181
186
|
|
|
182
187
|
- name: Upload mypy coverage to Codecov
|
|
183
|
-
uses: codecov/codecov-action@
|
|
188
|
+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
|
184
189
|
with:
|
|
185
|
-
|
|
190
|
+
files: mypy_report/cobertura.xml
|
|
186
191
|
flags: mypy-min
|
|
187
192
|
env_vars: PYTHON_VERSION
|
|
188
193
|
name: codecov-umbrella
|
|
189
194
|
fail_ci_if_error: false
|
|
190
195
|
|
|
196
|
+
stubtest:
|
|
197
|
+
name: Stubtest
|
|
198
|
+
runs-on: "ubuntu-latest"
|
|
199
|
+
needs: [detect-ci-trigger, cache-pixi-lock]
|
|
200
|
+
# Phase 1: Non-blocking (informational only)
|
|
201
|
+
# Change to 'false' once stubtest is stable to make it required
|
|
202
|
+
continue-on-error: true
|
|
203
|
+
defaults:
|
|
204
|
+
run:
|
|
205
|
+
shell: bash -l {0}
|
|
206
|
+
env:
|
|
207
|
+
PIXI_ENV: test-py314-with-typing
|
|
208
|
+
|
|
209
|
+
steps:
|
|
210
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
211
|
+
with:
|
|
212
|
+
fetch-depth: 0
|
|
213
|
+
persist-credentials: false
|
|
214
|
+
|
|
215
|
+
- name: Restore cached pixi lockfile
|
|
216
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
217
|
+
with:
|
|
218
|
+
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
219
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
220
|
+
with:
|
|
221
|
+
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
222
|
+
cache: true
|
|
223
|
+
environments: ${{ env.PIXI_ENV }}
|
|
224
|
+
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
|
225
|
+
|
|
226
|
+
- name: Version info
|
|
227
|
+
run: |
|
|
228
|
+
pixi run -e ${{env.PIXI_ENV}} -- python xarray/util/print_versions.py
|
|
229
|
+
|
|
230
|
+
- name: Install type stubs
|
|
231
|
+
run: |
|
|
232
|
+
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive xarray/ || true
|
|
233
|
+
|
|
234
|
+
- name: Run stubtest (core modules)
|
|
235
|
+
run: |
|
|
236
|
+
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy.stubtest \
|
|
237
|
+
xarray.core.dataarray \
|
|
238
|
+
xarray.core.dataset \
|
|
239
|
+
xarray.core.variable \
|
|
240
|
+
--mypy-config-file pyproject.toml \
|
|
241
|
+
--allowlist _stubtest/allowlist.txt
|
|
242
|
+
|
|
191
243
|
pyright:
|
|
192
244
|
name: Pyright | ${{ matrix.pixi-env }}"
|
|
193
245
|
runs-on: "ubuntu-latest"
|
|
@@ -195,7 +247,7 @@ jobs:
|
|
|
195
247
|
strategy:
|
|
196
248
|
fail-fast: false
|
|
197
249
|
matrix:
|
|
198
|
-
pixi-env: ["test-
|
|
250
|
+
pixi-env: ["test-py314-with-typing", "test-py311-with-typing"]
|
|
199
251
|
if: |
|
|
200
252
|
always()
|
|
201
253
|
&& (
|
|
@@ -206,15 +258,16 @@ jobs:
|
|
|
206
258
|
shell: bash -l {0}
|
|
207
259
|
|
|
208
260
|
steps:
|
|
209
|
-
- uses: actions/checkout@
|
|
261
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
210
262
|
with:
|
|
211
263
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
264
|
+
persist-credentials: false
|
|
212
265
|
|
|
213
266
|
- name: Restore cached pixi lockfile
|
|
214
|
-
uses: Parcels-code/pixi-lock/restore@
|
|
267
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
215
268
|
with:
|
|
216
269
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
217
|
-
- uses: prefix-dev/setup-pixi@v0.9.
|
|
270
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
218
271
|
with:
|
|
219
272
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
220
273
|
cache: true
|
|
@@ -233,9 +286,9 @@ jobs:
|
|
|
233
286
|
pixi run -e ${{ matrix.pixi-env }} -- python -m pyright xarray/
|
|
234
287
|
|
|
235
288
|
- name: Upload pyright coverage to Codecov
|
|
236
|
-
uses: codecov/codecov-action@
|
|
289
|
+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
|
237
290
|
with:
|
|
238
|
-
|
|
291
|
+
files: pyright_report/cobertura.xml
|
|
239
292
|
flags: pyright
|
|
240
293
|
env_vars: PYTHON_VERSION
|
|
241
294
|
name: codecov-umbrella
|
|
@@ -254,16 +307,17 @@ jobs:
|
|
|
254
307
|
COLUMNS: 120
|
|
255
308
|
|
|
256
309
|
steps:
|
|
257
|
-
- uses: actions/checkout@
|
|
310
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
258
311
|
with:
|
|
259
312
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
313
|
+
persist-credentials: false
|
|
260
314
|
|
|
261
315
|
- name: Restore cached pixi lockfile
|
|
262
|
-
uses: Parcels-code/pixi-lock/restore@
|
|
316
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
263
317
|
with:
|
|
264
318
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
265
319
|
|
|
266
|
-
- uses: prefix-dev/setup-pixi@v0.9.
|
|
320
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
267
321
|
with:
|
|
268
322
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
269
323
|
cache: true
|
|
@@ -281,3 +335,17 @@ jobs:
|
|
|
281
335
|
- name: All-deps minimum versions policy
|
|
282
336
|
run: |
|
|
283
337
|
pixi run policy-min-versions
|
|
338
|
+
|
|
339
|
+
zizmor:
|
|
340
|
+
name: GHA Security Analysis using Zizmor
|
|
341
|
+
runs-on: ubuntu-latest
|
|
342
|
+
permissions:
|
|
343
|
+
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
|
|
344
|
+
steps:
|
|
345
|
+
- name: Checkout repository
|
|
346
|
+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
347
|
+
with:
|
|
348
|
+
persist-credentials: false
|
|
349
|
+
|
|
350
|
+
- name: Run zizmor
|
|
351
|
+
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
|
|
@@ -14,7 +14,8 @@ concurrency:
|
|
|
14
14
|
|
|
15
15
|
env:
|
|
16
16
|
FORCE_COLOR: 3
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
permissions: {}
|
|
18
19
|
|
|
19
20
|
jobs:
|
|
20
21
|
detect-ci-trigger:
|
|
@@ -27,10 +28,12 @@ jobs:
|
|
|
27
28
|
outputs:
|
|
28
29
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
29
30
|
steps:
|
|
30
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
31
32
|
with:
|
|
32
33
|
fetch-depth: 2
|
|
33
|
-
|
|
34
|
+
persist-credentials: false
|
|
35
|
+
|
|
36
|
+
- uses: xarray-contrib/ci-trigger@10cd2bfec3484946a4058a421ddf9cfad101e715 # v1.2.1
|
|
34
37
|
id: detect-trigger
|
|
35
38
|
with:
|
|
36
39
|
keyword: "[skip-ci]"
|
|
@@ -43,15 +46,14 @@ jobs:
|
|
|
43
46
|
|
|
44
47
|
outputs:
|
|
45
48
|
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
|
|
46
|
-
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
|
|
47
49
|
|
|
48
50
|
steps:
|
|
49
|
-
- uses: actions/checkout@
|
|
50
|
-
- uses: Parcels-code/pixi-lock/create-and-cache@9a2866f8258b87a3c616d5ad7d51c6cd853df78b
|
|
51
|
-
id: pixi-lock
|
|
51
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
52
52
|
with:
|
|
53
|
-
|
|
54
|
-
- uses:
|
|
53
|
+
persist-credentials: false
|
|
54
|
+
- uses: Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
55
|
+
id: pixi-lock
|
|
56
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
55
57
|
with:
|
|
56
58
|
name: pixi-lock
|
|
57
59
|
path: pixi.lock
|
|
@@ -68,7 +70,7 @@ jobs:
|
|
|
68
70
|
matrix:
|
|
69
71
|
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
|
|
70
72
|
# Bookend python versions
|
|
71
|
-
pixi-env: ["test-py311", "test-
|
|
73
|
+
pixi-env: ["test-py311", "test-py314"]
|
|
72
74
|
pytest-addopts: [""]
|
|
73
75
|
include:
|
|
74
76
|
# Minimum python version:
|
|
@@ -79,11 +81,11 @@ jobs:
|
|
|
79
81
|
- pixi-env: "test-py311-min-versions"
|
|
80
82
|
os: ubuntu-latest
|
|
81
83
|
# Latest python version:
|
|
82
|
-
- pixi-env: "test-
|
|
84
|
+
- pixi-env: "test-py314-no-numba"
|
|
83
85
|
os: ubuntu-latest
|
|
84
|
-
- pixi-env: "test-
|
|
86
|
+
- pixi-env: "test-py314-no-dask"
|
|
85
87
|
os: ubuntu-latest
|
|
86
|
-
- pixi-env: "test-
|
|
88
|
+
- pixi-env: "test-py314"
|
|
87
89
|
pytest-addopts: "flaky"
|
|
88
90
|
os: ubuntu-latest
|
|
89
91
|
# The mypy tests must be executed using only 1 process in order to guarantee
|
|
@@ -92,18 +94,24 @@ jobs:
|
|
|
92
94
|
pytest-addopts: "mypy"
|
|
93
95
|
numprocesses: 1
|
|
94
96
|
os: ubuntu-latest
|
|
95
|
-
- pixi-env: "test-
|
|
97
|
+
- pixi-env: "test-py314-with-typing"
|
|
96
98
|
numprocesses: 1
|
|
97
99
|
os: ubuntu-latest
|
|
100
|
+
|
|
101
|
+
environment:
|
|
102
|
+
name: codecov
|
|
103
|
+
deployment: false
|
|
104
|
+
|
|
98
105
|
steps:
|
|
99
|
-
- uses: actions/checkout@
|
|
106
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
100
107
|
with:
|
|
101
108
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
109
|
+
persist-credentials: false
|
|
102
110
|
- name: Restore cached pixi lockfile
|
|
103
|
-
uses: Parcels-code/pixi-lock/restore@
|
|
111
|
+
uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
|
|
104
112
|
with:
|
|
105
113
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
106
|
-
- uses: prefix-dev/setup-pixi@v0.9.
|
|
114
|
+
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
|
|
107
115
|
with:
|
|
108
116
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
109
117
|
cache: true
|
|
@@ -134,7 +142,8 @@ jobs:
|
|
|
134
142
|
# We only want to install this on one run, because otherwise we'll have
|
|
135
143
|
# duplicate annotations.
|
|
136
144
|
- name: Install error reporter
|
|
137
|
-
if:
|
|
145
|
+
if: |
|
|
146
|
+
matrix.os == 'ubuntu-latest' && matrix.pixi-env == 'test'
|
|
138
147
|
run: |
|
|
139
148
|
pixi add --pypi pytest-github-actions-annotate-failures
|
|
140
149
|
|
|
@@ -147,7 +156,7 @@ jobs:
|
|
|
147
156
|
pixi run -e ${{ matrix.pixi-env }} -- python -c "import xarray"
|
|
148
157
|
|
|
149
158
|
- name: Restore cached hypothesis directory
|
|
150
|
-
uses: actions/cache@
|
|
159
|
+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
151
160
|
with:
|
|
152
161
|
path: .hypothesis/
|
|
153
162
|
key: cache-hypothesis
|
|
@@ -164,17 +173,17 @@ jobs:
|
|
|
164
173
|
|
|
165
174
|
- name: Upload test results
|
|
166
175
|
if: always()
|
|
167
|
-
uses: actions/upload-artifact@
|
|
176
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
168
177
|
with:
|
|
169
178
|
name: Test results for OS ${{ runner.os }} pixi-env ${{ matrix.pixi-env }} pytest-addopts ${{ matrix.pytest-addopts }}
|
|
170
179
|
path: pytest.xml
|
|
171
180
|
|
|
172
181
|
- name: Upload code coverage to Codecov
|
|
173
|
-
uses: codecov/codecov-action@
|
|
182
|
+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
|
174
183
|
env:
|
|
175
184
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
176
185
|
with:
|
|
177
|
-
|
|
186
|
+
files: ./coverage.xml
|
|
178
187
|
flags: unittests
|
|
179
188
|
env_vars: RUNNER_OS,PYTHON_VERSION
|
|
180
189
|
name: codecov-umbrella
|
|
@@ -186,7 +195,7 @@ jobs:
|
|
|
186
195
|
if: github.repository == 'pydata/xarray'
|
|
187
196
|
steps:
|
|
188
197
|
- name: Upload
|
|
189
|
-
uses: actions/upload-artifact@
|
|
198
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
190
199
|
with:
|
|
191
200
|
name: Event File
|
|
192
201
|
path: ${{ github.event_path }}
|