Commit 6827a61
Revert "fix: make xarray downstream tests work" (#4047)
* Revert "fix: make xarray downstream tests work (#4043)"
This reverts commit b9d3964.
* ci: install only the test-py313 pixi environment for xarray downstream
With no committed pixi.lock in pydata/xarray, setup-pixi's bare
`pixi install` solves every environment in the manifest, including
`mypy-upstream`, which sources numcodecs from git and fails under newer
pixi with `meson-python: error: Unknown option "pixi-conda-environment"`
during the solve — before any test runs. Setting `environments:
test-py313` makes setup-pixi run `pixi install -e test-py313`, which
never solves that environment.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: run xarray downstream tests via uv instead of pixi
pixi has no committed lockfile in pydata/xarray, so `pixi install` solves
the entire manifest regardless of `-e <env>` — including the
`mypy-upstream` environment, which sources numcodecs from git and fails
to build under newer pixi with
`meson-python: error: Unknown option "pixi-conda-environment"`. The job
died at environment setup before any test ran, and the per-environment
flag (the previously reverted approach) does not avoid the failing solve.
Install xarray with uv from its checkout instead — the `dev` dependency
group for pytest tooling plus the `io`/`parallel`/`accel` extras for the
zarr-relevant backends — then override zarr with the branch build. Tests
needing an uninstalled backend skip via xarray's `requires_*` markers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0734666 commit 6827a61
1 file changed
Lines changed: 25 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 | | |
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
55 | | - | |
| 65 | + | |
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
63 | | - | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
| |||
0 commit comments