Skip to content

Commit f2ab3d5

Browse files
glaziermagd-v-b
andauthored
fix(ci): preserve branch zarr in xarray downstream tests (#4368)
* fix(ci): preserve branch zarr in xarray downstream tests * chore: use pull request number for changelog fragment --------- Co-authored-by: glaziermag <[email protected]> Co-authored-by: Davis Bennett <[email protected]>
1 parent b8cc68a commit f2ab3d5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/downstream.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,19 @@ jobs:
5959
working-directory: xarray
6060
run: uv pip install --no-deps ..
6161

62+
# Keep the branch override: syncing xarray would reinstall zarr from PyPI.
6263
- name: Show versions
6364
working-directory: xarray
6465
run: |
65-
uv run python -c "
66+
uv run --no-sync python -c "
6667
import zarr; print(f'zarr {zarr.__version__}')
6768
import xarray; print(f'xarray {xarray.__version__}')
6869
"
6970
7071
- name: Run xarray zarr backend tests
7172
working-directory: xarray
7273
run: |
73-
uv run python -m pytest --no-header -q \
74+
uv run --no-sync python -m pytest --no-header -q \
7475
xarray/tests/test_backends.py \
7576
xarray/tests/test_backends_api.py \
7677
xarray/tests/test_backends_datatree.py

‎changes/4368.misc.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Prevent the downstream xarray CI job from replacing the branch version of Zarr with a PyPI release before reporting versions and running tests.

0 commit comments

Comments
 (0)