From e6294a4ec9106607e008a422307a60fd755e6955 Mon Sep 17 00:00:00 2001 From: Andrew Mitchell Date: Fri, 2 Aug 2024 14:02:37 +0100 Subject: [PATCH] reduce numpy version constraint numpy v2.0 is still quite new and some packages may not be compatible with it yet. We can use numpy >=v1.23.5 instead and still be compatible with the other dependencies. --- pyproject.toml | 5 +++-- requirements-dev.lock | 2 +- requirements.lock | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 78a6667..3acfc6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,8 @@ build-backend = "flit_core.buildapi" name = "acoustic-toolbox" version = "0.1.1" authors = [ - { name = "Valentin LE BESCOND", email = "valentin.lebescond@univ-eiffel.fr" } + { name = "Valentin LE BESCOND", email = "valentin.lebescond@univ-eiffel.fr" }, + { name = "Andrew Mitchell", email = "a.j.mitchell@ucl.ac.uk"} ] description = "Acoustic Toolbox module for Python." readme = "README.md" @@ -16,7 +17,7 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "numpy>=1.8", + "numpy>=1.23.5", "scipy>=1.14.0", "matplotlib>=3.9.1", "six>=1.16.0", diff --git a/requirements-dev.lock b/requirements-dev.lock index 1bbe693..f4932c5 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -196,7 +196,7 @@ notebook==7.2.1 notebook-shim==0.2.4 # via jupyterlab # via notebook -numpy==1.26.4 +numpy==2.0.1 # via acoustic-toolbox # via contourpy # via matplotlib diff --git a/requirements.lock b/requirements.lock index c3f0aec..8325dae 100644 --- a/requirements.lock +++ b/requirements.lock @@ -193,7 +193,7 @@ notebook==7.2.1 notebook-shim==0.2.4 # via jupyterlab # via notebook -numpy==1.26.4 +numpy==2.0.1 # via acoustic-toolbox # via contourpy # via matplotlib