Skip to content

Commit f52bcd8

Browse files
authored
Merge branch 'main' into mkitti-i386-test-pcodec
2 parents e9eaf99 + a11c4e2 commit f52bcd8

8 files changed

Lines changed: 131 additions & 729 deletions

File tree

.github/workflows/ci-i386.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ jobs:
6666
uv pip install -v -e .[test,test_extras,msgpack,crc32c,pcodec,zfpy]
6767
shell: alpine.sh {0}
6868

69-
70-
- name: Install zarr-python
71-
# Since zarr v3 requires numpy >= 1.25, on Python 3.11 leave it out
72-
# so we can have some tests of our minimum version of numpy (1.24)
73-
if: matrix.python-version != '3.11'
74-
run: uv add zarr>=3
75-
shell: alpine.sh {0}
76-
77-
7869
- name: List installed packages
7970
run: uv pip list
8071
shell: alpine.sh {0}

.github/workflows/ci.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ jobs:
5252
export DISABLE_NUMCODECS_AVX2=""
5353
python -m pip install -v -e .[test,test_extras,msgpack,crc32c,pcodec,zfpy]
5454
55-
- name: Install zarr-python
56-
# Since zarr v3 requires numpy >= 1.25, on Python 3.11 leave it out
57-
# so we can have some tests of our minimum version of numpy (1.24)
58-
if: matrix.python-version != '3.11'
59-
run: python -m pip install zarr>=3
60-
6155
- name: List installed packages
6256
run: python -m pip list
6357

@@ -75,6 +69,8 @@ jobs:
7569
runs-on: ubuntu-latest
7670
strategy:
7771
fail-fast: false
72+
matrix:
73+
zarr-version: ["312", "313"]
7874

7975
defaults:
8076
run:
@@ -93,10 +89,10 @@ jobs:
9389
pixi-version: v0.49.0
9490
cache: false
9591

96-
- name: List deps
92+
- name: List installed packages
9793
shell: "bash -l {0}"
98-
run: pixi run -e default hatch run test:list-deps
94+
run: pixi run ls-deps-${{matrix.zarr-version}}
9995

100-
- name: Run tests
96+
- name: Run tests with Zarr ${{ matrix.zarr-version }}
10197
shell: "bash -l {0}"
102-
run: pixi run -e default hatch run test:test-zarr
98+
run: pixi run test-zarr-${{ matrix.zarr-version }}

.github/workflows/wheel.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@ jobs:
2323
os: [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-13, macos-14]
2424
env:
2525
CIBW_TEST_COMMAND: python -c "import numcodecs"
26-
CIBW_BUILD: "cp311-* cp312-* cp313-*"
27-
CIBW_SKIP: "pp* *-musllinux_* *win32 *_i686 *_s390x"
26+
CIBW_BUILD: "cp311-* cp312-* cp313-* cp314-*"
27+
CIBW_SKIP: "*-musllinux_* *win32 *_i686 *_s390x"
2828
# note: CIBW_ENVIRONMENT is now set in pyproject.toml
2929

3030
steps:
3131
- uses: actions/checkout@v4
3232
with:
3333
submodules: true
34+
fetch-depth: 0 # required for version resolution for nightly wheels
3435

35-
- uses: pypa/cibuildwheel@v2.23.2
36+
- uses: pypa/cibuildwheel@v3.1.0
3637

3738
- uses: actions/upload-artifact@v4
3839
with:
@@ -46,6 +47,7 @@ jobs:
4647
- uses: actions/checkout@v4
4748
with:
4849
submodules: true
50+
fetch-depth: 0
4951

5052
- uses: actions/setup-python@v5
5153
name: Install Python
@@ -67,11 +69,11 @@ jobs:
6769
needs: [build_wheels, build_sdist]
6870
runs-on: ubuntu-latest
6971
steps:
70-
- uses: actions/download-artifact@v4
72+
- uses: actions/download-artifact@v6
7173
with:
7274
name: sdist
7375
path: dist
74-
- uses: actions/download-artifact@v4
76+
- uses: actions/download-artifact@v6
7577
with:
7678
pattern: wheels-*
7779
path: dist
@@ -87,11 +89,11 @@ jobs:
8789
runs-on: ubuntu-latest
8890
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
8991
steps:
90-
- uses: actions/download-artifact@v4
92+
- uses: actions/download-artifact@v6
9193
with:
9294
name: sdist
9395
path: dist
94-
- uses: actions/download-artifact@v4
96+
- uses: actions/download-artifact@v6
9597
with:
9698
pattern: wheels-*
9799
path: dist
@@ -108,7 +110,7 @@ jobs:
108110
runs-on: ubuntu-latest
109111
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
110112
steps:
111-
- uses: actions/download-artifact@v4
113+
- uses: actions/download-artifact@v6
112114
with:
113115
pattern: wheels-*
114116
path: dist

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ repos:
3030
hooks:
3131
- id: mypy
3232
args: [--config-file, pyproject.toml]
33-
additional_dependencies: [numpy, pytest, crc32c, zfpy, 'zarr>=3']
33+
additional_dependencies: [numpy, pytest, crc32c, zfpy, 'zarr>=3.1.3']

0 commit comments

Comments
 (0)