From be1fac9ed44711b3e5e857969e08187ad7a4f5d4 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Thu, 8 Oct 2026 18:24:13 +0200 Subject: [PATCH 1/2] fix(ci): run xarray's backend tests from their new package pydata/xarray#11633 split xarray/tests/test_backends.py and the other test_backends*.py modules into the xarray/tests/backends package, so the downstream job failed to collect any tests. Run the package instead. Assisted-by: ClaudeCode:claude-fable-5-1 Co-Authored-By: Claude Fable 5.1 --- .github/workflows/downstream.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index fe0d60c20a..35b06b740c 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -68,13 +68,16 @@ jobs: import xarray; print(f'xarray {xarray.__version__}') " - - name: Run xarray zarr backend tests + # xarray keeps its backend tests in the `xarray/tests/backends` package + # (pydata/xarray#11633 split the former `test_backends*.py` modules into + # it). Running the package covers the zarr store, region/append, API and + # DataTree tests; the other backends are installed by the `io` extra, so + # their tests run too, as they did before the split. + - name: Run xarray backend tests working-directory: xarray run: | uv run --no-sync python -m pytest --no-header -q \ - xarray/tests/test_backends.py \ - xarray/tests/test_backends_api.py \ - xarray/tests/test_backends_datatree.py + xarray/tests/backends numcodecs: name: numcodecs zarr3 codec tests From 49d2bdfc1505da3bfb04488e9553ec9ad33d334b Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Thu, 8 Oct 2026 18:25:26 +0200 Subject: [PATCH 2/2] docs: add changelog fragment for #4491 Assisted-by: ClaudeCode:claude-fable-5-1 Co-Authored-By: Claude Fable 5.1 --- changes/4491.misc.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/4491.misc.md diff --git a/changes/4491.misc.md b/changes/4491.misc.md new file mode 100644 index 0000000000..e2f8938080 --- /dev/null +++ b/changes/4491.misc.md @@ -0,0 +1 @@ +Run the downstream xarray CI job against the `xarray/tests/backends` package, where pydata/xarray#11633 moved the backend tests; the job had been failing to collect any tests.