From a9b8a20e4fa75d42d09308f2a3379b6a1828052d Mon Sep 17 00:00:00 2001 From: Laurent Rene de Cotret Date: Wed, 23 Oct 2024 15:27:58 -0400 Subject: [PATCH] Allow Numpy 2.0 --- CHANGELOG.rst | 5 +++++ iris/__init__.py | 4 ++-- requirements.txt | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5d41800..76122e1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,8 @@ +Release 5.4.0 +------------- + +* Added explicit support for NumPy 2, in addition to NumPy 1 + Release 5.3.5 ------------- diff --git a/iris/__init__.py b/iris/__init__.py index 04adf1a..d2d3885 100644 --- a/iris/__init__.py +++ b/iris/__init__.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- __author__ = "Laurent P. René de Cotret" -__email__ = "laurent.renedecotret@mail.mcgill.ca" +__email__ = "laurent.decotret@outlook.com" __license__ = "GPLv3" -__version__ = "5.3.5" +__version__ = "5.4.0" from . import plugins from .dataset import DiffractionDataset, MigrationError, MigrationWarning diff --git a/requirements.txt b/requirements.txt index 150b808..9b550cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -numpy >= 1.22,<2 +numpy >= 1.22,< 3 scipy >= 1.0.0 -h5py >= 2.10.0 +h5py >= 2.10.0, < 4 PyQt5 >=5.15, <6 crystals >= 1.3.0, < 2 scikit-ued >= 2.1.4, < 3