Skip to content

Commit 713e5fa

Browse files
authored
Merge branch 'main' into chore/publish-metadata-package
2 parents 59e0cc0 + 3d354a8 commit 713e5fa

21 files changed

Lines changed: 214 additions & 43 deletions

.github/workflows/check_changelogs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
with:
2222
persist-credentials: false
2323

2424
- name: Install uv
25-
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
25+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2626

2727
- name: Check changelog entries
2828
run: uv run --no-sync python ci/check_changelog_entries.py

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
version: '1.16.5'
3434
- name: Run the benchmarks
35-
uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
35+
uses: CodSpeedHQ/action@658a901452bb54c799643e060733b7afe9121b8d # v4.14.0
3636
with:
3737
mode: walltime
3838
run: hatch run test.py3.12-minimal:pytest tests/benchmarks --codspeed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: false
25-
- uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0
25+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2626
- run: uv sync --group docs
2727
- run: uv run mkdocs build
2828
env:

.github/workflows/downstream.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Downstream
33
on:
44
workflow_dispatch:
55
pull_request:
6-
types: [labeled]
6+
types: [labeled, synchronize, opened, reopened]
77

88
permissions:
99
contents: read
@@ -15,7 +15,9 @@ concurrency:
1515
jobs:
1616
xarray:
1717
name: Xarray zarr backend tests
18-
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'run-downstream'
18+
if: |
19+
github.event_name == 'workflow_dispatch'
20+
|| contains(github.event.pull_request.labels.*.name, 'run-downstream')
1921
runs-on: ubuntu-latest
2022
steps:
2123
- name: Check out zarr-python
@@ -51,14 +53,16 @@ jobs:
5153
- name: Run xarray zarr backend tests
5254
working-directory: xarray
5355
run: |
54-
pixi run -e test-py313 -- python -m pytest -x --no-header -q \
55-
xarray/tests/test_backends.py -k zarr \
56-
xarray/tests/test_backends_api.py -k zarr \
57-
xarray/tests/test_backends_datatree.py -k zarr
56+
pixi run -e test-py313 -- python -m pytest --no-header -q \
57+
xarray/tests/test_backends.py \
58+
xarray/tests/test_backends_api.py \
59+
xarray/tests/test_backends_datatree.py
5860
5961
numcodecs:
6062
name: numcodecs zarr3 codec tests
61-
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'run-downstream'
63+
if: |
64+
github.event_name == 'workflow_dispatch'
65+
|| contains(github.event.pull_request.labels.*.name, 'run-downstream')
6266
runs-on: ubuntu-latest
6367
steps:
6468
- name: Check out zarr-python

.github/workflows/gpu_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
hatch env run --env "$HATCH_ENV" run-coverage
7777
7878
- name: Upload coverage
79-
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
79+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
8080
with:
8181
token: ${{ secrets.CODECOV_TOKEN }}
8282
flags: gpu

.github/workflows/hypothesis.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
6868
- name: Restore cached hypothesis directory
6969
id: restore-hypothesis-cache
70-
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
70+
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
7171
with:
7272
path: .hypothesis/
7373
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}
@@ -87,13 +87,13 @@ jobs:
8787
- name: Save cached hypothesis directory
8888
id: save-hypothesis-cache
8989
if: always() && steps.status.outcome != 'skipped'
90-
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
90+
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
9191
with:
9292
path: .hypothesis/
9393
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}
9494

9595
- name: Upload coverage
96-
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
96+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
9797
with:
9898
token: ${{ secrets.CODECOV_TOKEN }}
9999
flags: tests

.github/workflows/issue-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
3434
3535
- name: Run issue-metrics tool
36-
uses: github/issue-metrics@67526e7bd8100b870f10b1c120780a8375777b43 # v3.25.5
36+
uses: github/issue-metrics@c9e9838147fd355dace335ba787f01b6641a400a # v4.2.2
3737
env:
3838
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
SEARCH_QUERY: 'repo:zarr-developers/zarr-python is:issue created:${{ env.last_month }} -reason:"not planned"'

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: false
25-
- uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1
25+
- uses: j178/prek-action@cbc2f23eb5539cf20d82d1aabd0d0ecbcc56f4e3 # v2.0.2

.github/workflows/nightly_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: hatch build
4343

4444
- name: Upload nightly wheels
45-
uses: scientific-python/upload-nightly-action@5748273c71e2d8d3a61f3a11a16421c8954f9ecf
45+
uses: scientific-python/upload-nightly-action@e76cfec8a4611fd02808a801b0ff5a7d7c1b2d99
4646
with:
4747
artifacts_path: dist
4848
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}

.github/workflows/releases.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
version: '1.16.5'
4444
- name: Build wheel and sdist
4545
run: hatch build
46-
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
46+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4747
with:
4848
name: releases
4949
path: dist
@@ -53,7 +53,7 @@ jobs:
5353
needs: [build_artifacts]
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
56+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5757
with:
5858
name: releases
5959
path: dist
@@ -76,7 +76,7 @@ jobs:
7676
attestations: write # Required for artifact attestation
7777
artifact-metadata: write # Required for artifact attestation metadata
7878
steps:
79-
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
79+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
8080
with:
8181
name: releases
8282
path: dist
@@ -85,4 +85,4 @@ jobs:
8585
with:
8686
subject-path: dist/*
8787
- name: Publish package to PyPI
88-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
88+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

0 commit comments

Comments
 (0)