xarray 2026.7.0__tar.gz → 2026.9.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 → xarray-2026.9.0}/.github/workflows/benchmarks-last-release.yml +9 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/benchmarks.yml +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/ci-additional.yaml +45 -32
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/ci.yaml +76 -11
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/hypothesis.yaml +13 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/label-prs.yml +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/nightly-wheels.yml +4 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/pypi-release.yaml +11 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/upstream-dev-ci.yaml +52 -20
- {xarray-2026.7.0 → xarray-2026.9.0}/.gitignore +6 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.pre-commit-config.yaml +24 -6
- {xarray-2026.7.0 → xarray-2026.9.0}/.readthedocs.yaml +5 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/HOW_TO_RELEASE.md +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/PKG-INFO +7 -3
- xarray-2026.9.0/_stubtest/allowlist.txt +38 -0
- xarray-2026.9.0/ci/nightly/pixi.toml +146 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/ci/numpydoc-public-api.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/ci/policy.yaml +5 -0
- xarray-2026.9.0/ci/recipe/pixi.toml +10 -0
- xarray-2026.9.0/ci/recipe/prepare_recipe.py +46 -0
- xarray-2026.9.0/ci/recipe/recipe_template.yaml +41 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/ci/requirements/environment.yml +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/conftest.py +48 -12
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/Makefile +4 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/plotting.rst +2 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api-hidden.rst +1 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/conf.py +38 -28
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/contribute/contributing.rst +11 -15
- xarray-2026.9.0/doc/create_environment.py +22 -0
- xarray-2026.9.0/doc/environment_template.yml +29 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/ROMS_ocean_model.ipynb +11 -10
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +16 -12
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/area_weighted_temperature.ipynb +4 -10
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/monthly-means.ipynb +2 -2
- xarray-2026.9.0/doc/get-help/faq.md +432 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/get-help/howdoi.rst +3 -3
- xarray-2026.9.0/doc/getting-started-guide/quick-overview.md +343 -0
- xarray-2026.9.0/doc/internals/duck-arrays-integration.md +93 -0
- xarray-2026.7.0/doc/internals/extending-xarray.rst → xarray-2026.9.0/doc/internals/extending-xarray.md +59 -54
- xarray-2026.9.0/doc/internals/how-to-add-new-backend.md +535 -0
- xarray-2026.9.0/doc/internals/how-to-create-custom-index.md +247 -0
- xarray-2026.9.0/doc/internals/internal-design.md +217 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/internals/interoperability.rst +3 -3
- xarray-2026.9.0/doc/internals/time-coding.md +608 -0
- xarray-2026.9.0/doc/internals/zarr-encoding-spec.md +205 -0
- xarray-2026.9.0/doc/try_examples.json +3 -0
- xarray-2026.9.0/doc/user-guide/combining.md +354 -0
- xarray-2026.9.0/doc/user-guide/complex-numbers.md +176 -0
- xarray-2026.9.0/doc/user-guide/computation.md +945 -0
- xarray-2026.9.0/doc/user-guide/dask.md +494 -0
- xarray-2026.9.0/doc/user-guide/data-structures.md +972 -0
- xarray-2026.9.0/doc/user-guide/duckarrays.md +232 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/user-guide/ecosystem.rst +2 -0
- xarray-2026.9.0/doc/user-guide/groupby.md +356 -0
- xarray-2026.9.0/doc/user-guide/hierarchical-data.md +854 -0
- xarray-2026.9.0/doc/user-guide/indexing.md +903 -0
- xarray-2026.9.0/doc/user-guide/interpolation.md +345 -0
- xarray-2026.9.0/doc/user-guide/io.md +1755 -0
- xarray-2026.9.0/doc/user-guide/pandas.md +272 -0
- xarray-2026.9.0/doc/user-guide/plotting.md +945 -0
- xarray-2026.9.0/doc/user-guide/reshaping.md +376 -0
- xarray-2026.9.0/doc/user-guide/testing.md +315 -0
- xarray-2026.9.0/doc/user-guide/time-series.md +361 -0
- xarray-2026.9.0/doc/user-guide/weather-climate.md +384 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/whats-new.rst +367 -105
- {xarray-2026.7.0 → xarray-2026.9.0}/pixi.toml +73 -110
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/test_encode_decode.py +6 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/test_pandas_roundtrip.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/pyproject.toml +42 -15
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/api.py +11 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/common.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/file_manager.py +69 -13
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/h5netcdf_.py +61 -58
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/locks.py +34 -8
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/netCDF4_.py +49 -22
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/scipy_.py +4 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/store.py +0 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/writers.py +8 -30
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/zarr.py +168 -221
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/cftime_offsets.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/strings.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/times.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/variables.py +9 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/dask_array_ops.py +13 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/apply_ufunc.py +30 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/arithmetic.py +1 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/computation.py +5 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/nanops.py +12 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/ops.py +1 -118
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/rolling.py +94 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/conventions.py +17 -12
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/_aggregations.py +215 -133
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/accessor_str.py +42 -40
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/common.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/dataarray.py +158 -41
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/dataset.py +129 -35
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/datatree.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/datatree_mapping.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/duck_array_ops.py +16 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/extension_array.py +8 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/groupby.py +32 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/indexes.py +28 -8
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/indexing.py +17 -5
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/options.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/resample.py +0 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/resample_cftime.py +10 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/types.py +3 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/variable.py +15 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/indexes/nd_point_index.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/indexes/range_index.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/_aggregations.py +44 -28
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/_typing.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/daskmanager.py +31 -6
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/dtypes.py +0 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/parallelcompat.py +8 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/pycompat.py +1 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/plot/__init__.py +2 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/plot/accessor.py +248 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/plot/dataarray_plot.py +201 -11
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/plot/dataset_plot.py +177 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/plot/facetgrid.py +6 -6
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/plot/utils.py +274 -14
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/structure/alignment.py +21 -8
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/structure/combine.py +3 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/__init__.py +21 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/conftest.py +54 -64
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_accessor_dt.py +0 -16
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_accessor_str.py +22 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_assertions.py +5 -8
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends.py +633 -274
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends_datatree.py +3 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends_file_manager.py +61 -1
- xarray-2026.9.0/xarray/tests/test_backends_locks.py +176 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_cftime_offsets.py +19 -18
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_cftimeindex_resample.py +13 -8
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_coarsen.py +19 -17
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_coding_times.py +72 -64
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_computation.py +112 -27
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_concat.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_conventions.py +44 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_coordinate_transform.py +45 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_coordinates.py +20 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dask.py +28 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dataarray.py +428 -92
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dataarray_typing.yml +11 -11
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dataset.py +143 -51
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dataset_typing.yml +11 -11
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_datatree_typing.yml +11 -11
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_deprecation_helpers.py +15 -15
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_distributed.py +29 -27
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dtypes.py +4 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_duck_array_ops.py +93 -109
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_duck_array_wrapping.py +28 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_formatting_html.py +2 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_groupby.py +249 -169
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_indexes.py +44 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_indexing.py +47 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_interp.py +37 -60
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_missing.py +0 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_namedarray.py +7 -4
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_pandas_to_xarray.py +12 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_plot.py +220 -49
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_print_versions.py +4 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_range_index.py +13 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_rolling.py +127 -52
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_sparse.py +2 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_strategies.py +9 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_ufuncs.py +38 -6
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_units.py +18 -7
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_variable.py +52 -44
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/ufuncs.py +0 -1
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/util/generate_aggregations.py +40 -22
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/PKG-INFO +7 -3
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/SOURCES.txt +34 -27
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/requires.txt +7 -2
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/scm_file_list.json +384 -377
- xarray-2026.9.0/xarray.egg-info/scm_version.json +8 -0
- xarray-2026.7.0/_stubtest/allowlist.txt +0 -172
- xarray-2026.7.0/doc/get-help/faq.rst +0 -448
- xarray-2026.7.0/doc/getting-started-guide/quick-overview.rst +0 -356
- xarray-2026.7.0/doc/internals/duck-arrays-integration.rst +0 -94
- xarray-2026.7.0/doc/internals/how-to-add-new-backend.rst +0 -542
- xarray-2026.7.0/doc/internals/how-to-create-custom-index.rst +0 -235
- xarray-2026.7.0/doc/internals/internal-design.rst +0 -223
- xarray-2026.7.0/doc/internals/time-coding.rst +0 -604
- xarray-2026.7.0/doc/internals/zarr-encoding-spec.rst +0 -200
- xarray-2026.7.0/doc/user-guide/combining.rst +0 -354
- xarray-2026.7.0/doc/user-guide/complex-numbers.rst +0 -163
- xarray-2026.7.0/doc/user-guide/computation.rst +0 -957
- xarray-2026.7.0/doc/user-guide/dask.rst +0 -496
- xarray-2026.7.0/doc/user-guide/data-structures.rst +0 -999
- xarray-2026.7.0/doc/user-guide/duckarrays.rst +0 -236
- xarray-2026.7.0/doc/user-guide/groupby.rst +0 -370
- xarray-2026.7.0/doc/user-guide/hierarchical-data.rst +0 -865
- xarray-2026.7.0/doc/user-guide/indexing.rst +0 -938
- xarray-2026.7.0/doc/user-guide/interpolation.rst +0 -352
- xarray-2026.7.0/doc/user-guide/io.rst +0 -1733
- xarray-2026.7.0/doc/user-guide/pandas.rst +0 -275
- xarray-2026.7.0/doc/user-guide/plotting.rst +0 -950
- xarray-2026.7.0/doc/user-guide/reshaping.rst +0 -383
- xarray-2026.7.0/doc/user-guide/testing.rst +0 -323
- xarray-2026.7.0/doc/user-guide/time-series.rst +0 -377
- xarray-2026.7.0/doc/user-guide/weather-climate.rst +0 -383
- xarray-2026.7.0/xarray/tests/test_backends_locks.py +0 -90
- xarray-2026.7.0/xarray.egg-info/scm_version.json +0 -8
- {xarray-2026.7.0 → xarray-2026.9.0}/.binder/environment.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.claude/skills/upgrade-min-versions.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.codecov.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.devcontainer/Dockerfile +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.devcontainer/devcontainer.json +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.git-blame-ignore-revs +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.git_archival.txt +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.gitattributes +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/FUNDING.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/config.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/dependabot.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/labeler.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/nightly-wheel-failure-template.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/release.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/stale.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/.github/workflows/publish-test-results.yaml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/AI_POLICY.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/CITATION.cff +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/CLAUDE.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/CONTRIBUTING.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/CORE_TEAM_GUIDE.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/README.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/asv.conf.json +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/README_CI.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/accessors.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/alignment.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/coarsen.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/coding.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/combine.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/dataset_io.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/datatree.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/groupby.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/import.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/indexing.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/interp.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/pandas.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/polyfit.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/rolling.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/asv_bench/benchmarks/unstacking.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/ci/release_contributors.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/ci/requirements/environment-benchmark.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/design_notes/flexible_indexes_notes.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/design_notes/grouper_objects.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/design_notes/named_array_design_doc.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/README.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/.gitignore +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/ci.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/dask-array.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/index_api.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/style.css +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_static/view-docs.png +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/accessors.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/advanced.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/backends.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/coarsen.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/coordinates.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/dataarray.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/dataset.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/datatree.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/deprecated.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/encoding.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/exceptions.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/groupby.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/indexes.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/io.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/resample.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/rolling-exp.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/rolling.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/testing.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/top-level.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/tutorial.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/ufuncs.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api/weighted.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/api.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/badge.json +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/contribute/ai-policy.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/contribute/developers-meeting.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/contribute/index.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery/README.txt +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/gallery.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/get-help/help-diagram.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/get-help/socials.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/getting-started-guide/index.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/getting-started-guide/installing.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/getting-started-guide/why-xarray.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/index.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/internals/chunked-arrays.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/internals/index.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/roadmap.rst +0 -0
- {xarray-2026.7.0/doc → xarray-2026.9.0/doc/user-guide}/combined.json +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/user-guide/index.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/user-guide/options.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/user-guide/terminology.rst +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/doc/videos.yml +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/README.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/conftest.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/test_coordinate_transform.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/test_indexing.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/properties/test_properties.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/setup.cfg +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/chunks.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/lru_cache.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/memory.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/netcdf3.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/plugins.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/backends/pydap_.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coders.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/calendar_ops.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/cftimeindex.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/common.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/coding/frequencies.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/array_api_compat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/dask_array_compat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/npcompat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/pdcompat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/compat/toolzcompat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/fit.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/rolling_exp.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/computation/weighted.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/convert.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/_typed_ops.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/accessor_dt.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/coordinate_transform.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/coordinates.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/dask_array_expr.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/dataset_utils.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/dataset_variables.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/datatree_render.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/dtypes.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/eval.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/extensions.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/formatting.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/formatting_html.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/missing.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/nputils.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/parallel.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/treenode.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/core/utils.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/groupers.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/indexes/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/_array_api.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/core.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/namedarray/utils.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/py.typed +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/static/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/static/css/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/static/css/style.css +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/static/html/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/structure/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/structure/chunks.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/structure/concat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/structure/merge.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/testing/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/testing/assertions.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/testing/strategies.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/CLAUDE.md +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/arrays.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/indexes.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/namespace.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_array_api.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends_api.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends_chunks.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends_common.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_backends_lru_cache.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_calendar_ops.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_cftimeindex.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_coding.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_coding_strings.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_combine.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_cupy.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_dask_expr_protocol.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_datatree.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_datatree_mapping.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_error_messages.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_eval.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_extensions.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_formatting.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_hashable.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_merge.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_nd_point_index.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_options.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_parallelcompat.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_plugins.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_treenode.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_tutorial.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_typed_ops.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_utils.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tests/test_weighted.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/tutorial.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/typing.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/util/__init__.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/util/deprecation_helpers.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/util/generate_ops.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray/util/print_versions.py +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2026.7.0 → xarray-2026.9.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -14,30 +14,32 @@ jobs:
|
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
env:
|
|
16
16
|
ASV_DIR: "./asv_bench"
|
|
17
|
-
CONDA_ENV_FILE: ci/requirements/environment.yml
|
|
17
|
+
CONDA_ENV_FILE: ci/requirements/environment-benchmark.yml
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
20
|
# We need the full repo to avoid this issue
|
|
21
21
|
# https://github.com/actions/checkout/issues/23
|
|
22
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
23
23
|
with:
|
|
24
24
|
fetch-depth: 0
|
|
25
25
|
persist-credentials: false
|
|
26
26
|
|
|
27
27
|
- name: Set up conda environment
|
|
28
|
-
uses: mamba-org/setup-micromamba@
|
|
28
|
+
uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1
|
|
29
29
|
with:
|
|
30
30
|
micromamba-version: "1.5.10-0"
|
|
31
31
|
environment-file: ${{env.CONDA_ENV_FILE}}
|
|
32
|
-
environment-name: xarray-
|
|
32
|
+
environment-name: xarray-benchmark
|
|
33
33
|
cache-environment: true
|
|
34
34
|
cache-environment-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}-benchmark"
|
|
35
|
+
# add "build" because of https://github.com/airspeed-velocity/asv/issues/1385
|
|
35
36
|
create-args: >-
|
|
36
37
|
asv
|
|
38
|
+
python-build
|
|
37
39
|
|
|
38
40
|
- name: "Get Previous tag"
|
|
39
41
|
id: previoustag
|
|
40
|
-
uses: WyriHaximus/github-action-get-previous-tag@
|
|
42
|
+
uses: WyriHaximus/github-action-get-previous-tag@83f26fea93bc7efcbca2eb5591f5eaaf66b8f206 # v2.1.0
|
|
41
43
|
# with:
|
|
42
44
|
# fallback: 1.0.0 # Optional fallback tag to use when no tag can be found
|
|
43
45
|
|
|
@@ -53,6 +55,8 @@ jobs:
|
|
|
53
55
|
GITHUB_TAG: ${{ steps.previoustag.outputs.tag }}
|
|
54
56
|
run: |
|
|
55
57
|
set -x
|
|
58
|
+
# Fail if asv itself fails, not just when the log matches the grep below
|
|
59
|
+
set -o pipefail
|
|
56
60
|
# ID this runner
|
|
57
61
|
asv machine --yes
|
|
58
62
|
echo "Baseline: $GITHUB_TAG"
|
|
@@ -22,13 +22,13 @@ jobs:
|
|
|
22
22
|
steps:
|
|
23
23
|
# We need the full repo to avoid this issue
|
|
24
24
|
# https://github.com/actions/checkout/issues/23
|
|
25
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
26
26
|
with:
|
|
27
27
|
fetch-depth: 0
|
|
28
28
|
persist-credentials: false
|
|
29
29
|
|
|
30
30
|
- name: Set up conda environment
|
|
31
|
-
uses: mamba-org/setup-micromamba@
|
|
31
|
+
uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1
|
|
32
32
|
with:
|
|
33
33
|
micromamba-version: "1.5.10-0"
|
|
34
34
|
environment-file: ${{env.CONDA_ENV_FILE}}
|
|
@@ -28,10 +28,11 @@ jobs:
|
|
|
28
28
|
outputs:
|
|
29
29
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
32
32
|
with:
|
|
33
33
|
fetch-depth: 2
|
|
34
34
|
persist-credentials: false
|
|
35
|
+
|
|
35
36
|
- uses: xarray-contrib/ci-trigger@10cd2bfec3484946a4058a421ddf9cfad101e715 # v1.2.1
|
|
36
37
|
id: detect-trigger
|
|
37
38
|
with:
|
|
@@ -47,11 +48,13 @@ jobs:
|
|
|
47
48
|
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
|
|
48
49
|
|
|
49
50
|
steps:
|
|
50
|
-
- uses: actions/checkout@
|
|
51
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
51
52
|
with:
|
|
52
53
|
persist-credentials: false
|
|
53
|
-
|
|
54
|
+
|
|
55
|
+
- uses: xarray-contrib/pixi-lock/create-and-cache@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
54
56
|
id: pixi-lock
|
|
57
|
+
|
|
55
58
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
56
59
|
with:
|
|
57
60
|
name: pixi-lock
|
|
@@ -68,7 +71,7 @@ jobs:
|
|
|
68
71
|
env:
|
|
69
72
|
PIXI_ENV: "test-py313"
|
|
70
73
|
steps:
|
|
71
|
-
- uses: actions/checkout@
|
|
74
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
72
75
|
with:
|
|
73
76
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
74
77
|
persist-credentials: false
|
|
@@ -78,10 +81,11 @@ jobs:
|
|
|
78
81
|
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
|
79
82
|
|
|
80
83
|
- name: Restore cached pixi lockfile
|
|
81
|
-
uses:
|
|
84
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
82
85
|
with:
|
|
83
86
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
84
|
-
|
|
87
|
+
|
|
88
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
85
89
|
with:
|
|
86
90
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
87
91
|
cache: true
|
|
@@ -91,6 +95,7 @@ jobs:
|
|
|
91
95
|
- name: Version info
|
|
92
96
|
run: |
|
|
93
97
|
pixi run -e ${{env.PIXI_ENV}} -- python xarray/util/print_versions.py
|
|
98
|
+
|
|
94
99
|
- name: Run doctests
|
|
95
100
|
run: |
|
|
96
101
|
# Raise an error if there are warnings in the doctests, with `-Werror`.
|
|
@@ -112,34 +117,38 @@ jobs:
|
|
|
112
117
|
PIXI_ENV: test-py314-with-typing
|
|
113
118
|
|
|
114
119
|
steps:
|
|
115
|
-
- uses: actions/checkout@
|
|
120
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
116
121
|
with:
|
|
117
122
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
118
123
|
persist-credentials: false
|
|
124
|
+
|
|
119
125
|
- name: Restore cached pixi lockfile
|
|
120
|
-
uses:
|
|
126
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
121
127
|
with:
|
|
122
128
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
123
|
-
|
|
129
|
+
|
|
130
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
124
131
|
with:
|
|
125
132
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
126
133
|
cache: true
|
|
127
134
|
environments: ${{ env.PIXI_ENV }}
|
|
128
135
|
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
|
136
|
+
|
|
129
137
|
- name: set environment variables
|
|
130
138
|
run: |
|
|
131
139
|
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
|
132
140
|
echo "PYTHON_VERSION=$(pixi run -e ${{env.PIXI_ENV}} -- python --version | cut -d' ' -f2 | cut -d. -f1,2)" >> $GITHUB_ENV
|
|
141
|
+
|
|
133
142
|
- name: Version info
|
|
134
143
|
run: |
|
|
135
144
|
pixi run -e ${{env.PIXI_ENV}} -- python xarray/util/print_versions.py
|
|
136
145
|
|
|
137
146
|
- name: Run mypy
|
|
138
147
|
run: |
|
|
139
|
-
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --
|
|
148
|
+
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --cobertura-xml-report mypy_report
|
|
140
149
|
|
|
141
150
|
- name: Upload mypy coverage to Codecov
|
|
142
|
-
uses: codecov/codecov-action@
|
|
151
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
143
152
|
with:
|
|
144
153
|
files: mypy_report/cobertura.xml
|
|
145
154
|
flags: mypy
|
|
@@ -158,34 +167,38 @@ jobs:
|
|
|
158
167
|
PIXI_ENV: test-py311-with-typing
|
|
159
168
|
|
|
160
169
|
steps:
|
|
161
|
-
- uses: actions/checkout@
|
|
170
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
162
171
|
with:
|
|
163
172
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
164
173
|
persist-credentials: false
|
|
174
|
+
|
|
165
175
|
- name: Restore cached pixi lockfile
|
|
166
|
-
uses:
|
|
176
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
167
177
|
with:
|
|
168
178
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
169
|
-
|
|
179
|
+
|
|
180
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
170
181
|
with:
|
|
171
182
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
172
183
|
cache: true
|
|
173
184
|
environments: ${{ env.PIXI_ENV }}
|
|
174
185
|
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
|
186
|
+
|
|
175
187
|
- name: set environment variables
|
|
176
188
|
run: |
|
|
177
189
|
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
|
178
190
|
echo "PYTHON_VERSION=$(pixi run -e ${{env.PIXI_ENV}} -- python --version | cut -d' ' -f2 | cut -d. -f1,2)" >> $GITHUB_ENV
|
|
191
|
+
|
|
179
192
|
- name: Version info
|
|
180
193
|
run: |
|
|
181
194
|
pixi run -e ${{env.PIXI_ENV}} -- python xarray/util/print_versions.py
|
|
182
195
|
|
|
183
196
|
- name: Run mypy
|
|
184
197
|
run: |
|
|
185
|
-
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --
|
|
198
|
+
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --cobertura-xml-report mypy_report
|
|
186
199
|
|
|
187
200
|
- name: Upload mypy coverage to Codecov
|
|
188
|
-
uses: codecov/codecov-action@
|
|
201
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
189
202
|
with:
|
|
190
203
|
files: mypy_report/cobertura.xml
|
|
191
204
|
flags: mypy-min
|
|
@@ -207,16 +220,17 @@ jobs:
|
|
|
207
220
|
PIXI_ENV: test-py314-with-typing
|
|
208
221
|
|
|
209
222
|
steps:
|
|
210
|
-
- uses: actions/checkout@
|
|
223
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
211
224
|
with:
|
|
212
225
|
fetch-depth: 0
|
|
213
226
|
persist-credentials: false
|
|
214
227
|
|
|
215
228
|
- name: Restore cached pixi lockfile
|
|
216
|
-
uses:
|
|
229
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
217
230
|
with:
|
|
218
231
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
219
|
-
|
|
232
|
+
|
|
233
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
220
234
|
with:
|
|
221
235
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
222
236
|
cache: true
|
|
@@ -227,10 +241,6 @@ jobs:
|
|
|
227
241
|
run: |
|
|
228
242
|
pixi run -e ${{env.PIXI_ENV}} -- python xarray/util/print_versions.py
|
|
229
243
|
|
|
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
244
|
- name: Run stubtest (core modules)
|
|
235
245
|
run: |
|
|
236
246
|
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy.stubtest \
|
|
@@ -258,25 +268,28 @@ jobs:
|
|
|
258
268
|
shell: bash -l {0}
|
|
259
269
|
|
|
260
270
|
steps:
|
|
261
|
-
- uses: actions/checkout@
|
|
271
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
262
272
|
with:
|
|
263
273
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
264
274
|
persist-credentials: false
|
|
265
275
|
|
|
266
276
|
- name: Restore cached pixi lockfile
|
|
267
|
-
uses:
|
|
277
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
268
278
|
with:
|
|
269
279
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
270
|
-
|
|
280
|
+
|
|
281
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
271
282
|
with:
|
|
272
283
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
273
284
|
cache: true
|
|
274
285
|
environments: ${{ matrix.pixi-env }}
|
|
275
286
|
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
|
287
|
+
|
|
276
288
|
- name: set environment variables
|
|
277
289
|
run: |
|
|
278
290
|
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
|
279
291
|
echo "PYTHON_VERSION=$(pixi run -e ${{ matrix.pixi-env }} -- python --version | cut -d' ' -f2 | cut -d. -f1,2)" >> $GITHUB_ENV
|
|
292
|
+
|
|
280
293
|
- name: Version info
|
|
281
294
|
run: |
|
|
282
295
|
pixi run -e ${{ matrix.pixi-env }} -- python xarray/util/print_versions.py
|
|
@@ -286,7 +299,7 @@ jobs:
|
|
|
286
299
|
pixi run -e ${{ matrix.pixi-env }} -- python -m pyright xarray/
|
|
287
300
|
|
|
288
301
|
- name: Upload pyright coverage to Codecov
|
|
289
|
-
uses: codecov/codecov-action@
|
|
302
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
290
303
|
with:
|
|
291
304
|
files: pyright_report/cobertura.xml
|
|
292
305
|
flags: pyright
|
|
@@ -307,17 +320,17 @@ jobs:
|
|
|
307
320
|
COLUMNS: 120
|
|
308
321
|
|
|
309
322
|
steps:
|
|
310
|
-
- uses: actions/checkout@
|
|
323
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
311
324
|
with:
|
|
312
325
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
313
326
|
persist-credentials: false
|
|
314
327
|
|
|
315
328
|
- name: Restore cached pixi lockfile
|
|
316
|
-
uses:
|
|
329
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
317
330
|
with:
|
|
318
331
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
319
332
|
|
|
320
|
-
- uses: prefix-dev/setup-pixi@
|
|
333
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
321
334
|
with:
|
|
322
335
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
323
336
|
cache: true
|
|
@@ -343,9 +356,9 @@ jobs:
|
|
|
343
356
|
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
|
|
344
357
|
steps:
|
|
345
358
|
- name: Checkout repository
|
|
346
|
-
uses: actions/checkout@
|
|
359
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
347
360
|
with:
|
|
348
361
|
persist-credentials: false
|
|
349
362
|
|
|
350
363
|
- name: Run zizmor
|
|
351
|
-
uses: zizmorcore/zizmor-action@
|
|
364
|
+
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
outputs:
|
|
29
29
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
32
32
|
with:
|
|
33
33
|
fetch-depth: 2
|
|
34
34
|
persist-credentials: false
|
|
@@ -48,11 +48,13 @@ jobs:
|
|
|
48
48
|
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
|
|
49
49
|
|
|
50
50
|
steps:
|
|
51
|
-
- uses: actions/checkout@
|
|
51
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
52
52
|
with:
|
|
53
53
|
persist-credentials: false
|
|
54
|
-
|
|
54
|
+
|
|
55
|
+
- uses: xarray-contrib/pixi-lock/create-and-cache@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
55
56
|
id: pixi-lock
|
|
57
|
+
|
|
56
58
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
57
59
|
with:
|
|
58
60
|
name: pixi-lock
|
|
@@ -62,6 +64,8 @@ jobs:
|
|
|
62
64
|
name: "${{ matrix.os }} | ${{ matrix.pixi-env }}${{ matrix.pytest-addopts && format(' ({0})', matrix.pytest-addopts) || '' }}"
|
|
63
65
|
runs-on: ${{ matrix.os }}
|
|
64
66
|
needs: cache-pixi-lock
|
|
67
|
+
# The slowest jobs take ~20 minutes; a hung test should not burn the 6h default.
|
|
68
|
+
timeout-minutes: 60
|
|
65
69
|
defaults:
|
|
66
70
|
run:
|
|
67
71
|
shell: bash -l {0}
|
|
@@ -103,15 +107,17 @@ jobs:
|
|
|
103
107
|
deployment: false
|
|
104
108
|
|
|
105
109
|
steps:
|
|
106
|
-
- uses: actions/checkout@
|
|
110
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
107
111
|
with:
|
|
108
112
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
109
113
|
persist-credentials: false
|
|
114
|
+
|
|
110
115
|
- name: Restore cached pixi lockfile
|
|
111
|
-
uses:
|
|
116
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
112
117
|
with:
|
|
113
118
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
114
|
-
|
|
119
|
+
|
|
120
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
115
121
|
with:
|
|
116
122
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
117
123
|
cache: true
|
|
@@ -127,7 +133,9 @@ jobs:
|
|
|
127
133
|
then
|
|
128
134
|
if [[ "${{ matrix.pytest-addopts }}" == "flaky" ]] ;
|
|
129
135
|
then
|
|
130
|
-
|
|
136
|
+
# The thread timeout method also kills tests stuck in C code or deadlocked
|
|
137
|
+
# threads, which the default signal method cannot interrupt.
|
|
138
|
+
echo "PYTEST_ADDOPTS=-m 'flaky or network' --run-flaky --run-network-tests --timeout-method=thread -W default" >> $GITHUB_ENV
|
|
131
139
|
elif [[ "${{ matrix.pytest-addopts }}" == "mypy" ]] ;
|
|
132
140
|
then
|
|
133
141
|
echo "PYTEST_ADDOPTS=-n 1 -m 'mypy' --run-mypy -W default" >> $GITHUB_ENV
|
|
@@ -155,15 +163,20 @@ jobs:
|
|
|
155
163
|
run: |
|
|
156
164
|
pixi run -e ${{ matrix.pixi-env }} -- python -c "import xarray"
|
|
157
165
|
|
|
166
|
+
# caches are immutable, so use a unique key per job and restore the latest cache
|
|
167
|
+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
|
|
158
168
|
- name: Restore cached hypothesis directory
|
|
159
|
-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
169
|
+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
160
170
|
with:
|
|
161
171
|
path: .hypothesis/
|
|
162
|
-
key: cache-hypothesis
|
|
172
|
+
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }}-${{ strategy.job-index }}
|
|
173
|
+
restore-keys: |
|
|
174
|
+
cache-hypothesis-${{ runner.os }}-
|
|
175
|
+
cache-hypothesis-
|
|
163
176
|
enableCrossOsArchive: true
|
|
164
|
-
save-always: true
|
|
165
177
|
|
|
166
178
|
- name: Run tests
|
|
179
|
+
id: tests
|
|
167
180
|
run: |
|
|
168
181
|
pixi run -e ${{ matrix.pixi-env }} -- python -m pytest -n ${{ matrix.numprocesses || 4 }} \
|
|
169
182
|
--timeout 180 \
|
|
@@ -171,6 +184,15 @@ jobs:
|
|
|
171
184
|
--cov-report=xml \
|
|
172
185
|
--junitxml=pytest.xml
|
|
173
186
|
|
|
187
|
+
# explicitly save the cache so it gets updated, also do this even if the tests fail
|
|
188
|
+
- name: Save cached hypothesis directory
|
|
189
|
+
if: always() && steps.tests.outcome != 'skipped'
|
|
190
|
+
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
191
|
+
with:
|
|
192
|
+
path: .hypothesis/
|
|
193
|
+
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }}-${{ strategy.job-index }}
|
|
194
|
+
enableCrossOsArchive: true
|
|
195
|
+
|
|
174
196
|
- name: Upload test results
|
|
175
197
|
if: always()
|
|
176
198
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
@@ -179,7 +201,7 @@ jobs:
|
|
|
179
201
|
path: pytest.xml
|
|
180
202
|
|
|
181
203
|
- name: Upload code coverage to Codecov
|
|
182
|
-
uses: codecov/codecov-action@
|
|
204
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
183
205
|
env:
|
|
184
206
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
185
207
|
with:
|
|
@@ -189,6 +211,49 @@ jobs:
|
|
|
189
211
|
name: codecov-umbrella
|
|
190
212
|
fail_ci_if_error: false
|
|
191
213
|
|
|
214
|
+
check-generate-aggregations:
|
|
215
|
+
name: "Check generate-aggregations is up-to-date"
|
|
216
|
+
runs-on: ubuntu-latest
|
|
217
|
+
needs: cache-pixi-lock
|
|
218
|
+
if: |
|
|
219
|
+
github.event_name == 'pull_request'
|
|
220
|
+
&& needs.cache-pixi-lock.result == 'success'
|
|
221
|
+
defaults:
|
|
222
|
+
run:
|
|
223
|
+
shell: bash -l {0}
|
|
224
|
+
steps:
|
|
225
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
226
|
+
with:
|
|
227
|
+
fetch-depth: 0
|
|
228
|
+
persist-credentials: false
|
|
229
|
+
|
|
230
|
+
- name: Check if generate_aggregations.py changed
|
|
231
|
+
id: filter
|
|
232
|
+
run: |
|
|
233
|
+
if git diff --name-only origin/${GITHUB_BASE_REF}...HEAD | grep -q 'xarray/util/generate_aggregations.py'; then
|
|
234
|
+
echo "changed=true" >> "$GITHUB_OUTPUT"
|
|
235
|
+
else
|
|
236
|
+
echo "changed=false" >> "$GITHUB_OUTPUT"
|
|
237
|
+
fi
|
|
238
|
+
|
|
239
|
+
- name: Restore cached pixi lockfile
|
|
240
|
+
if: steps.filter.outputs.changed == 'true'
|
|
241
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
242
|
+
with:
|
|
243
|
+
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
244
|
+
|
|
245
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
246
|
+
if: steps.filter.outputs.changed == 'true'
|
|
247
|
+
with:
|
|
248
|
+
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
249
|
+
cache: true
|
|
250
|
+
cache-write: false
|
|
251
|
+
|
|
252
|
+
- name: Run generate-aggregations-ci
|
|
253
|
+
if: steps.filter.outputs.changed == 'true'
|
|
254
|
+
run: |
|
|
255
|
+
pixi run generate-aggregations-ci
|
|
256
|
+
|
|
192
257
|
event_file:
|
|
193
258
|
name: "Event File"
|
|
194
259
|
runs-on: ubuntu-slim
|
|
@@ -27,10 +27,11 @@ jobs:
|
|
|
27
27
|
outputs:
|
|
28
28
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
29
29
|
steps:
|
|
30
|
-
- uses: actions/checkout@
|
|
30
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
31
31
|
with:
|
|
32
32
|
fetch-depth: 2
|
|
33
33
|
persist-credentials: false
|
|
34
|
+
|
|
34
35
|
- uses: xarray-contrib/ci-trigger@10cd2bfec3484946a4058a421ddf9cfad101e715 # v1.2.1
|
|
35
36
|
id: detect-trigger
|
|
36
37
|
with:
|
|
@@ -54,11 +55,13 @@ jobs:
|
|
|
54
55
|
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
|
|
55
56
|
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
|
|
56
57
|
steps:
|
|
57
|
-
- uses: actions/checkout@
|
|
58
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
58
59
|
with:
|
|
59
60
|
persist-credentials: false
|
|
60
|
-
|
|
61
|
+
|
|
62
|
+
- uses: xarray-contrib/pixi-lock/create-and-cache@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
61
63
|
id: pixi-lock
|
|
64
|
+
|
|
62
65
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
63
66
|
with:
|
|
64
67
|
name: pixi-lock
|
|
@@ -69,6 +72,8 @@ jobs:
|
|
|
69
72
|
runs-on: "ubuntu-latest"
|
|
70
73
|
|
|
71
74
|
needs: cache-pixi-lock
|
|
75
|
+
if: |
|
|
76
|
+
always() && needs.cache-pixi-lock.result == 'success'
|
|
72
77
|
|
|
73
78
|
defaults:
|
|
74
79
|
run:
|
|
@@ -78,16 +83,17 @@ jobs:
|
|
|
78
83
|
PIXI_ENV: "test-py313"
|
|
79
84
|
|
|
80
85
|
steps:
|
|
81
|
-
- uses: actions/checkout@
|
|
86
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
82
87
|
with:
|
|
83
88
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
84
89
|
persist-credentials: false
|
|
85
90
|
|
|
86
91
|
- name: Restore cached pixi lockfile
|
|
87
|
-
uses:
|
|
92
|
+
uses: xarray-contrib/pixi-lock/restore@1fab4c17af8243f6ca1321bc941cf2325f46c05d # v0.1.1
|
|
88
93
|
with:
|
|
89
94
|
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
|
|
90
|
-
|
|
95
|
+
|
|
96
|
+
- uses: prefix-dev/setup-pixi@d3f436a425481402e6a95a1d1fc10331c708cd9e # v0.10.2
|
|
91
97
|
with:
|
|
92
98
|
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
|
|
93
99
|
cache: true
|
|
@@ -135,7 +141,7 @@ jobs:
|
|
|
135
141
|
&& steps.status.outcome == 'failure'
|
|
136
142
|
&& github.event_name == 'schedule'
|
|
137
143
|
&& github.repository_owner == 'pydata'
|
|
138
|
-
uses: scientific-python/issue-from-pytest-log-action@
|
|
144
|
+
uses: scientific-python/issue-from-pytest-log-action@35b4e0a9e06f8e7e261778289cf4b968b722662d # v1.6.2
|
|
139
145
|
with:
|
|
140
146
|
log-path: output-${{ env.PIXI_ENV }}-log.jsonl
|
|
141
147
|
issue-title: "Nightly Hypothesis tests failed"
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
pull-requests: write
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/labeler@
|
|
20
|
+
- uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0
|
|
21
21
|
with:
|
|
22
22
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
23
23
|
sync-labels: false
|
|
@@ -12,11 +12,12 @@ jobs:
|
|
|
12
12
|
if: github.repository == 'pydata/xarray'
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
16
16
|
with:
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
persist-credentials: false
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
20
21
|
with:
|
|
21
22
|
python-version: "3.12"
|
|
22
23
|
|
|
@@ -69,7 +70,7 @@ jobs:
|
|
|
69
70
|
|
|
70
71
|
- name: Upload wheel
|
|
71
72
|
id: upload
|
|
72
|
-
uses: scientific-python/upload-nightly-action@
|
|
73
|
+
uses: scientific-python/upload-nightly-action@16fa02eacee1655195143de09f03676e60ef2bf5 # 0.6.5
|
|
73
74
|
with:
|
|
74
75
|
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_NIGHTLY }}
|
|
75
76
|
artifacts_path: dist
|
|
@@ -22,11 +22,12 @@ jobs:
|
|
|
22
22
|
startsWith(github.ref, 'refs/tags/v')
|
|
23
23
|
) }}
|
|
24
24
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
26
26
|
with:
|
|
27
27
|
fetch-depth: 0
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
30
31
|
name: Install Python
|
|
31
32
|
with:
|
|
32
33
|
python-version: "3.12"
|
|
@@ -52,6 +53,7 @@ jobs:
|
|
|
52
53
|
else
|
|
53
54
|
echo "✅ Looks good"
|
|
54
55
|
fi
|
|
56
|
+
|
|
55
57
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
56
58
|
with:
|
|
57
59
|
name: releases
|
|
@@ -61,14 +63,16 @@ jobs:
|
|
|
61
63
|
needs: build-artifacts
|
|
62
64
|
runs-on: ubuntu-latest
|
|
63
65
|
steps:
|
|
64
|
-
- uses: actions/setup-python@
|
|
66
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
65
67
|
name: Install Python
|
|
66
68
|
with:
|
|
67
69
|
python-version: "3.12"
|
|
70
|
+
|
|
68
71
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
69
72
|
with:
|
|
70
73
|
name: releases
|
|
71
74
|
path: dist
|
|
75
|
+
|
|
72
76
|
- name: List contents of built dist
|
|
73
77
|
run: |
|
|
74
78
|
ls -ltrh
|
|
@@ -96,9 +100,10 @@ jobs:
|
|
|
96
100
|
with:
|
|
97
101
|
name: releases
|
|
98
102
|
path: dist
|
|
103
|
+
|
|
99
104
|
- name: Publish package to TestPyPI
|
|
100
105
|
if: github.event_name == 'push'
|
|
101
|
-
uses: pypa/gh-action-pypi-publish@
|
|
106
|
+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
102
107
|
with:
|
|
103
108
|
repository_url: https://test.pypi.org/legacy/
|
|
104
109
|
verbose: true
|
|
@@ -119,7 +124,8 @@ jobs:
|
|
|
119
124
|
with:
|
|
120
125
|
name: releases
|
|
121
126
|
path: dist
|
|
127
|
+
|
|
122
128
|
- name: Publish package to PyPI
|
|
123
|
-
uses: pypa/gh-action-pypi-publish@
|
|
129
|
+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
124
130
|
with:
|
|
125
131
|
verbose: true
|