From e0d31d4eb1f00d4314a2fe92ebffcc7962410a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Thu, 4 Apr 2024 18:16:30 +0200 Subject: [PATCH] Backport PR #4859: BLD: add support for numpy 2 --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index eef1bd8114..57650d4f66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,8 +6,8 @@ requires = [ # for the upper pin in Cython # see https://github.com/yt-project/yt/issues/4044 "Cython>=3.0.3, <3.1", - "numpy>=1.25, <2.0", - "ewah-bool-utils>=1.0.2", + "numpy>=2.0.0rc1", + "ewah-bool-utils>=1.2.0", ] build-backend = "setuptools.build_meta:__legacy__" @@ -44,11 +44,11 @@ keywords = [ requires-python = ">=3.9.2" dependencies = [ "cmyt>=1.1.2", - "ewah-bool-utils>=1.0.2", + "ewah-bool-utils>=1.2.0", "ipywidgets>=8.0.0", "matplotlib>=3.5", "more-itertools>=8.4", - "numpy>=1.19.3, <2", # keep minimal requirement in sync with NPY_TARGET_VERSION + "numpy>=1.19.3, <3", # keep minimal requirement in sync with NPY_TARGET_VERSION "packaging>=20.9", "pillow>=8.0.0", "tomli-w>=0.4.0", @@ -202,7 +202,7 @@ mapserver = [ ] minimal = [ "cmyt==1.1.2", - "ewah-bool-utils==1.0.2", + "ewah-bool-utils==1.2.0", "ipywidgets==8.0.0", "matplotlib==3.5", "more-itertools==8.4",