Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
python-version: ["3.12", "3.13", "3.14"]
# macos-15-large is an intel runner, macos-14 is an arm64 runner
platform: [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-15-large, macos-14]

Expand Down Expand Up @@ -129,10 +129,10 @@ jobs:
fail-fast: false
matrix:
include:
- zarr-version: "312"
zarr-pkg: "zarr==3.1.2"
- zarr-version: "313"
zarr-pkg: "zarr==3.1.3"
- zarr-version: "308"
zarr-pkg: "zarr==3.0.8"
- zarr-version: "316"
zarr-pkg: "zarr==3.1.6"
- zarr-version: "main"
zarr-pkg: "zarr @ git+https://github.com/zarr-developers/zarr-python.git@main"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-15-large, macos-14]
env:
CIBW_TEST_COMMAND: python -c "import numcodecs"
CIBW_BUILD: "cp311-* cp312-* cp313-* cp314-*"
CIBW_BUILD: "cp312-* cp313-* cp314-*"
CIBW_SKIP: "*-musllinux_* *win32 *_i686 *_s390x"
# note: cibuildwheel config-settings are set in pyproject.toml

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.11"
python-version: "3.12"

- name: Build sdist
run: pipx run build --sdist
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ $ pytest tests/test_checksum32.py -v
```

All tests are automatically run via GitHub Actions for every pull request across Linux
(x86_64, aarch64, i386), macOS (x86_64, arm64), and Windows (x86_64), with Python 3.11
(x86_64, aarch64, i386), macOS (x86_64, arm64), and Windows (x86_64), with Python 3.12
through 3.14. Tests must pass on all platforms before code can be accepted.

### Code standards
Expand Down
2 changes: 1 addition & 1 deletion docs/design/meson-python-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ To run tests for specific Zarr integration versions::

All tests are automatically run via GitHub Actions for every pull request
across Linux (x86_64, aarch64, i386), macOS (x86_64, arm64), and Windows
(x86_64), with Python 3.11 through 3.14.
(x86_64), with Python 3.12 through 3.14.
```

### Other sections to update
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ description = """
A Python package providing buffer compression and transformation codecs \
for use in data storage and communication applications."""
readme = "README.md"
dependencies = ["numpy>=1.24", "typing_extensions"]
requires-python = ">=3.11"
dependencies = ["numpy>=2.0", "typing_extensions"]
requires-python = ">=3.12"
dynamic = [
"version",
]
Expand Down Expand Up @@ -89,16 +89,16 @@ dev = [
"setuptools-scm>=6.2",
"numpy>=2",
]
test-zarr-312 = [
test-zarr-308 = [
"pytest",
"pytest-cov",
"zarr==3.1.2",
"zarr==3.0.8",
"crc32c",
]
test-zarr-313 = [
test-zarr-316 = [
"pytest",
"pytest-cov",
"zarr==3.1.3",
"zarr==3.1.6",
"crc32c",
]
test-zarr-main = [
Expand Down Expand Up @@ -249,8 +249,8 @@ no-build-isolation-package = ["numcodecs"]
conflicts = [
# Zarr versions conflict with each other
[
{ group = "test-zarr-312" },
{ group = "test-zarr-313" },
{ group = "test-zarr-308" },
{ group = "test-zarr-316" },
{ group = "test-zarr-main" }
]
]
3 changes: 1 addition & 2 deletions src/numcodecs/checksum32.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
import struct
import warnings
import zlib
from collections.abc import Callable
from collections.abc import Buffer, Callable
from typing import Literal

import numpy as np
from typing_extensions import Buffer

from .abc import Codec
from .compat import ensure_contiguous_ndarray, ndarray_copy
Expand Down
Loading