From 56cabe25d8e26f194fca4e9e33e5eca52a41137b Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Mon, 26 Aug 2024 15:43:48 -0700 Subject: [PATCH] chore: bump minimum version to 1.24 --- .github/workflows/python-package.yml | 8 +++----- docs/release.rst | 5 ++++- pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f50fa7d9e0..70b8b4cf9f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,12 +16,10 @@ jobs: strategy: matrix: python-version: ['3.10', '3.11', '3.12'] - numpy_version: ['>=1.24.0', '==1.23.*'] + numpy_version: ['>=2.1', '==1.24.*', '==1.26.*'] exclude: - - python-version: '3.11' - numpy_version: '==1.23.*' - python-version: '3.12' - numpy_version: '==1.23.*' + numpy_version: '==1.24.*' services: redis: image: redis @@ -61,7 +59,7 @@ jobs: conda activate zarr-env python -m pip install --upgrade pip python -m pip install -U pip setuptools wheel line_profiler - python -m pip install -rrequirements_dev_minimal.txt numpy${{matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo redis + python -m pip install -r requirements_dev_minimal.txt numpy${{matrix.numpy_version}} -r requirements_dev_optional.txt pymongo redis python -m pip install -e . python -m pip freeze - name: Tests diff --git a/docs/release.rst b/docs/release.rst index 05110f8ce1..69616d6052 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -39,9 +39,12 @@ Maintenance * Fix a regression when using orthogonal indexing with a scalar. By :user:`Deepak Cherian ` :issue:`1931` -* Added compatibility with numpy 2.1. +* Added compatibility with NumPy 2.1. By :user:`David Stansby ` +* Bump minimum NumPy version to 1.24. + :user:`Joe Hamman ` (:issue:`2127`). + Deprecations ~~~~~~~~~~~~ diff --git a/pyproject.toml b/pyproject.toml index da5fb34d89..ec06b63a96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ maintainers = [ requires-python = ">=3.10" dependencies = [ 'asciitree', - 'numpy>=1.23', + 'numpy>=1.24', 'fasteners; sys_platform != "emscripten"', 'numcodecs>=0.10.0', ]