Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
ea9f02b
Support for DataTree.to_netcdf to write to a file-like object or byte…
mjwillson Aug 8, 2025
54ac2fe
add kwarg to handle invalid files in open_mfdataset (#9955)
pratiman-91 Aug 11, 2025
d1873f9
Bump actions/download-artifact from 4 to 5 in the actions group (#10621)
dependabot[bot] Aug 11, 2025
69316e5
Sanitize unlimited_dims when writing `to_netcdf` (#10608)
kmuehlbauer Aug 12, 2025
6d73f01
slicing a slice with an array without expanding the slice (#10580)
keewis Aug 12, 2025
3c9217e
Skip call to `.tolist()` when creating pd.Index (#10619)
y4n9squared Aug 13, 2025
e8b41fe
fix: Empty `RangeIndex` Display (#10594)
ianhi Aug 13, 2025
b96d607
clarify lazy behaviour and eager loading chunks=None in open_*-functi…
kmuehlbauer Aug 13, 2025
6762c2e
Avoid refining parent dimensions in NetCDF files (#10623)
shoyer Aug 13, 2025
ef180b8
Add DataTree.prune() method … (#10598)
aladinor Aug 13, 2025
9b1d570
Add asynchronous load method (#10327)
TomNicholas Aug 14, 2025
44d5fd6
Fix `ds.merge` to prevent altering original object depending on join …
jsignell Aug 14, 2025
60c52be
release notes for v2025.08.0 (#10641)
TomNicholas Aug 14, 2025
23be035
Empty release notes (#10642)
TomNicholas Aug 14, 2025
6ca51d3
Update Cartopy and Iris references (#10645)
rcomer Aug 14, 2025
b1ce76e
Improve DataTree typing (#10644)
shoyer Aug 15, 2025
4d05aa8
Fix bug indexing with boolean scalars (#10635)
gcaria Aug 16, 2025
5332a86
fix ``auto_complex`` for ``open_datatree`` (#10632)
kmuehlbauer Aug 18, 2025
e3359bc
In case of misconfiguration of dataset.encoding `unlimited_dims` warn…
kmuehlbauer Aug 18, 2025
5addf47
Fix typos (#10655)
shoyer Aug 18, 2025
89c913a
Support compute=False from DataTree.to_netcdf (#10625)
shoyer Aug 18, 2025
efb6bb6
Add load_datatree function (#10649)
shoyer Aug 19, 2025
8a88781
Bump actions/checkout from 4 to 5 in the actions group (#10652)
dependabot[bot] Aug 19, 2025
d4fcd2b
test: update write_empty test for zarr 3.1.2 (#10665)
ianhi Aug 22, 2025
9ed0102
Silence warnings from test_tutorial.py (#10661)
shoyer Aug 22, 2025
0074b76
modification methods on `Coordinates` (#10318)
keewis Aug 23, 2025
fc698ab
use the new syntax of ignoring bots (#10668)
keewis Aug 24, 2025
e3cd724
Bump codecov/codecov-action from 5.4.3 to 5.5.0 in the actions group …
dependabot[bot] Aug 25, 2025
98732e7
Support rechunking to seasonal frequency with SeasonalResampler (#10519)
dhruvak001 Aug 25, 2025
07a8159
migrate to xarray-contrib/minimum-dependency-versions (#10677)
keewis Aug 30, 2025
37e512d
Following pandas 3.0, make `Day` cftime offset non-`Tick`-like (#10650)
spencerkclark Aug 30, 2025
9107078
Use better contour defaults with logarithmic norms (#10565)
Illviljan Aug 31, 2025
722f0ad
Improve consistency of default engine and return memoryview instead o…
shoyer Sep 2, 2025
798ddf3
Update pre-commit hooks (#10681)
pre-commit-ci[bot] Sep 2, 2025
5d9824a
Allow tests to pass locally on Mac (#10687)
max-sixty Sep 3, 2025
1d47cbf
Fix mypy errors in test_backends.py (#10689)
max-sixty Sep 3, 2025
278d320
Remove obsolete warning exclusions from pyproject.toml (#10690)
max-sixty Sep 3, 2025
175734f
Enable mypy checking for test_utils and test_parallelcompat (#10691)
max-sixty Sep 3, 2025
bd2a035
Add CLAUDE.md with development setup instructions (#10692)
max-sixty Sep 3, 2025
0b0791b
Further warning exclusion cleanup and test improvements (#10693)
max-sixty Sep 3, 2025
7a3cd0c
Fix unreleased bug in DataTree.to_zarr() with mode='r+' (#10685)
shoyer Sep 4, 2025
b2d8519
QOL: detect both `.zarr` and `.zarr/` as using the zarr engine (#10697)
ianhi Sep 4, 2025
de6d87d
Remove most warning exclusions (#10695)
max-sixty Sep 4, 2025
a13a255
Upgrade mypy to 1.17.1 and fix all type errors (#10694)
max-sixty Sep 4, 2025
70c3ebf
Release notes for 2025.09.0 (#10684)
shoyer Sep 4, 2025
f8aad09
empty whats new (#10699)
shoyer Sep 4, 2025
46ae1d4
Update instructions for updating pyodide (#10701)
shoyer Sep 4, 2025
7893348
add a new pattern to the non-existent store patterns (#10700)
keewis Sep 4, 2025
d2c9fd8
fix: don't destroy dtypes in to_dataframe (#10705)
ianhi Sep 5, 2025
00912f7
Update url for example h5netcdf ros3 dataset (#10713)
TomNicholas Sep 7, 2025
41d7260
Add GitHub interaction guidelines to CLAUDE.md (#10715)
max-sixty Sep 7, 2025
de953a8
Add types-requests to type dependencies (#10716)
max-sixty Sep 7, 2025
6336ffb
Complete deprecation cycle for Dataset.update return value (#10717)
max-sixty Sep 8, 2025
66ba0a9
Add json file for Xarray Badge (#10666)
ianhi Sep 8, 2025
4f172b2
Fix Xarray badge (#10721)
VeckoTheGecko Sep 8, 2025
cc1de6b
Bump the actions group with 4 updates (#10719)
dependabot[bot] Sep 8, 2025
40c27d1
align_chunks not working for datasets (#10516)
josephnowak Sep 8, 2025
ba2e831
Fix bug when encoding an empty datetime64 array (#10723)
spencerkclark Sep 9, 2025
f6da514
Fix Zarr Encoding Documentation: Correct Examples and Add Comprehensi…
emmanuelmathot Sep 10, 2025
660b56b
Silence Zarr v3 warnings (#10731)
max-sixty Sep 10, 2025
5d9aa6e
propagate attrs on coords in `Dataset.map` (#10602)
keewis Sep 10, 2025
dff84af
Add pep-723 style script to bug report issue template (#10707)
ianhi Sep 10, 2025
98cfee5
Allow `mean` with time dtypes (#10227)
dcherian Sep 11, 2025
4394792
TYP: explicit `DTypeLike | None` (#10738)
jorenham Sep 12, 2025
ccb3437
refine Claude instructions (#10744)
max-sixty Sep 15, 2025
2b52b95
fix bugreport.yml (#10746)
gronniger Sep 15, 2025
21452f3
Add co-authorship instruction to CLAUDE.md (#10748)
max-sixty Sep 15, 2025
36ee500
Revert "fix bugreport.yml (#10746)" (#10749)
max-sixty Sep 15, 2025
78b3e9d
Fix to_netcdf(compute=False) with Dask distributed (#10730)
shoyer Sep 15, 2025
577261d
cleanup bug report template (#10752)
ianhi Sep 15, 2025
9e97732
Ensure that groupby.groups works even with multiple groupers (#10750)
jsignell Sep 15, 2025
558131e
Remove xarray.tests.test_combine from mypy exclusions (#10753)
max-sixty Sep 15, 2025
3136d61
Synchronize mypy test requirements to 1.17.1 (#10751)
shoyer Sep 15, 2025
9a7e33d
Multiple imports for an import name (#10743)
DimitriPapadopoulos Sep 15, 2025
d6d7692
NetCDF IO cleanup, including in-memory reads/writes with netCDF4 (#10…
shoyer Sep 16, 2025
8c5706d
Upgrade mypy to 1.18.1 (#10754)
max-sixty Sep 16, 2025
8694818
Allow `drop_conflicts` to handle non-bool returns from `__eq__` (#10741)
max-sixty Sep 16, 2025
1546d93
Fix Blosc import in test for zarr 3.1.13 (#10756)
ianhi Sep 16, 2025
490f1e0
Silence clean-up warnings from test_backends (#10758)
shoyer Sep 17, 2025
41c7990
Fix type errors after removing mypy exclusions for test files (#10762)
max-sixty Sep 18, 2025
7228e8f
Remove mypy exclusion for test_dataarray (#10761)
max-sixty Sep 18, 2025
8ce8325
Enable mypy type checking for 5 test files (#10763)
max-sixty Sep 18, 2025
43a7f1e
Remove mypy exclusions for test_coding_times and test_dask (#10768)
max-sixty Sep 18, 2025
3bb00ad
Add whatsnew entry for mypy test suite improvements (#10770)
max-sixty Sep 18, 2025
6470460
Refactor backends to separate writers from readers (#10771)
TomNicholas Sep 22, 2025
a3bd20d
Support DataArray objects and nested dicts in DataTree.from_dict (#10…
shoyer Sep 23, 2025
4722bf1
Change default netCDF engine to use h5netcdf and add netcdf_engine_or…
shoyer Sep 24, 2025
567cc5b
Fix bug in bug-fix template (#10782)
shoyer Sep 24, 2025
2b947e9
Fix index duplication (#10671)
dylanhmorris Sep 25, 2025
d2ba1fe
Fix mypy errors with numpy 2.3 type stubs (#10792)
max-sixty Sep 26, 2025
b98add1
Silence error in test_zarr_region_chunk_partial_offset on Windows (#1…
shoyer Sep 28, 2025
c703ce4
Improve display of HTML reprs (#10785)
shoyer Sep 28, 2025
cbe04e6
Use a default fill_value of NaN for floats in Zarr v3 (#10757)
shoyer Sep 29, 2025
aff76cf
Less vertical whitespace in HTML reprs (#10795)
shoyer Sep 29, 2025
3fa5598
Release notes for 2025.09.1 (#10797)
shoyer Sep 30, 2025
eed12c4
New blank whats-new section (#10798)
shoyer Sep 30, 2025
badb6f1
Add supports_groups=True to Zarr backend (#10809)
sjperkins Oct 3, 2025
57d3191
allow ignoring contributors by email for the release notes (#10814)
keewis Oct 5, 2025
4466deb
Enable htmlzip documentation build (#10815)
shoyer Oct 5, 2025
a440558
Fix error when writing scalar varaibles to Zarr with region={} (#10796)
shoyer Oct 5, 2025
6aa48c3
Switch back default netCDF engine (#10817)
shoyer Oct 6, 2025
f880049
release notes for 2025.10.0 (#10821)
shoyer Oct 6, 2025
e0ad952
blank release notes for 2025.10.1 (#10822)
shoyer Oct 6, 2025
ac43d3b
Update pre-commit hooks (#10823)
pre-commit-ci[bot] Oct 7, 2025
7659b2d
Order coords to match dims in repr (#10778)
jsignell Oct 7, 2025
c131fbf
Fix reverting default netCDF engine (and prepare 2025.10.1 release) (…
shoyer Oct 7, 2025
05adfa6
Blank whats new for 2025.10.2 (#10830)
shoyer Oct 7, 2025
ad51404
Change `keep_attrs` default to `True` (#10726)
max-sixty Oct 8, 2025
20d3773
Add support for DataTree to xarray.merge() (#10790)
shoyer Oct 8, 2025
3a05647
Fix equivalent() for NumPy scalar NaN comparison (#10838)
max-sixty Oct 10, 2025
3572f4e
Fix Dataset.map to handle non-DataArray outputs (#10839)
max-sixty Oct 10, 2025
82a659d
Support DataTree in xarray.concat() (#10846)
shoyer Oct 13, 2025
ef76a9f
Fix: re-add existing work from Joseph on align chunks
lbesnard Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion .github/ISSUE_TEMPLATE/bugreport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,35 @@ body:
attributes:
label: Minimal Complete Verifiable Example
description: |
Minimal, self-contained copy-pastable example that demonstrates the issue. This will be automatically formatted into code, so no need for markdown backticks.
Minimal, self-contained copy-pastable example that demonstrates the issue.

Consider listing additional or specific dependencies in [inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/#example)
so that calling `uv run issue.py` shows the issue when copied into `issue.py`. (not strictly required)

This will be automatically formatted into code, so no need for markdown backticks.
render: Python
value: |
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "xarray[complete]@git+https://github.com/pydata/xarray.git@main",
# ]
# ///
#
# This script automatically imports the development branch of xarray to check for issues.
# Please delete this header if you have _not_ tested this script with `uv run`!

import xarray as xr
xr.show_versions()
# your reproducer code ...

- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description:
validations:
required: false

- type: checkboxes
id: mvce-checkboxes
Expand Down
4 changes: 2 additions & 2 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
- dependabot[bot]
- pre-commit-ci[bot]
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks-last-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
# We need the full repo to avoid this issue
# https://github.com/actions/checkout/issues/23
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
# We need the full repo to avoid this issue
# https://github.com/actions/checkout/issues/23
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
51 changes: 23 additions & 28 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1
Expand All @@ -46,7 +46,7 @@ jobs:
CONDA_ENV_FILE: ci/requirements/environment.yml
PYTHON_VERSION: "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
PYTHON_VERSION: "3.12"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

Expand All @@ -116,14 +116,14 @@ jobs:
python xarray/util/print_versions.py
- name: Install mypy
run: |
python -m pip install "mypy==1.15" --force-reinstall
python -m pip install "mypy==1.18.1" --force-reinstall

- name: Run mypy
run: |
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

- name: Upload mypy coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.1
with:
file: mypy_report/cobertura.xml
flags: mypy
Expand All @@ -143,7 +143,7 @@ jobs:
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

Expand All @@ -167,14 +167,14 @@ jobs:
python xarray/util/print_versions.py
- name: Install mypy
run: |
python -m pip install "mypy==1.15" --force-reinstall
python -m pip install "mypy==1.18.1" --force-reinstall

- name: Run mypy
run: |
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

- name: Upload mypy coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.1
with:
file: mypy_report/cobertura.xml
flags: mypy-min
Expand All @@ -199,7 +199,7 @@ jobs:
PYTHON_VERSION: "3.12"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
python -m pyright xarray/

- name: Upload pyright coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.1
with:
file: pyright_report/cobertura.xml
flags: pyright
Expand All @@ -255,7 +255,7 @@ jobs:
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
python -m pyright xarray/

- name: Upload pyright coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.1
with:
file: pyright_report/cobertura.xml
flags: pyright39
Expand All @@ -307,27 +307,22 @@ jobs:
COLUMNS: 120

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Setup micromamba
uses: mamba-org/setup-micromamba@v2
- uses: actions/setup-python@v6
with:
environment-name: xarray-tests
create-args: >-
python=3.12
pyyaml
python-dateutil
cytoolz
rich
rich-click
py-rattler
python-version: "3.x"

- name: All-deps minimum versions policy
run: |
python ci/minimum_versions.py ci/requirements/min-all-deps.yml
uses: xarray-contrib/minimum-dependency-versions@e2ac8ff0a76e8603d8536ef5d64743a375961ce9 # v0.1.1
with:
policy: ci/policy.yaml
environment-paths: ci/requirements/min-all-deps.yml

- name: Bare minimum versions policy
run: |
python ci/minimum_versions.py ci/requirements/bare-minimum.yml
uses: xarray-contrib/minimum-dependency-versions@e2ac8ff0a76e8603d8536ef5d64743a375961ce9 # v0.1.1
with:
policy: ci/policy.yaml
environment-paths: ci/requirements/bare-minimum.yml
8 changes: 3 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1
Expand All @@ -37,8 +37,6 @@ jobs:
runs-on: ${{ matrix.os }}
needs: detect-ci-trigger
if: needs.detect-ci-trigger.outputs.triggered == 'false'
env:
ZARR_V3_EXPERIMENTAL_API: 1
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -81,7 +79,7 @@ jobs:
numprocesses: 1
os: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set environment variables
Expand Down Expand Up @@ -175,7 +173,7 @@ jobs:
path: pytest.xml

- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hypothesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
PYTHON_VERSION: "3.12"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
- uses: actions/labeler@v6
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: false
4 changes: 2 additions & 2 deletions .github/workflows/nightly-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'pydata/xarray'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
startsWith(github.ref, 'refs/tags/v')
) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
name: Install Python
with:
python-version: "3.12"
Expand Down Expand Up @@ -58,11 +58,11 @@ jobs:
needs: build-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
name: Install Python
with:
python-version: "3.12"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: releases
path: dist
Expand All @@ -89,13 +89,13 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: releases
path: dist
- name: Publish package to TestPyPI
if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@v1.12.4
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
repository_url: https://test.pypi.org/legacy/
verbose: true
Expand All @@ -112,11 +112,11 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: releases
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.4
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
verbose: true
10 changes: 4 additions & 6 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1
Expand All @@ -40,8 +40,6 @@ jobs:
name: upstream-dev
runs-on: ubuntu-latest
needs: detect-ci-trigger
env:
ZARR_V3_EXPERIMENTAL_API: 1
if: |
always()
&& (
Expand All @@ -57,7 +55,7 @@ jobs:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set up conda environment
Expand Down Expand Up @@ -113,7 +111,7 @@ jobs:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set up conda environment
Expand All @@ -140,7 +138,7 @@ jobs:
run: |
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
- name: Upload mypy coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.1
with:
file: mypy_report/cobertura.xml
flags: mypy
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,5 @@ doc/videos-gallery.txt
# gitignore to make it _easier_ to work with `uv`, not as an indication that I
# think we shouldn't...)
uv.lock
mypy_report/
xarray-docs/
Loading