From 7b6e8d2844c3a6926dc47d2b844f78f46c8c80ff Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Thu, 22 Aug 2024 10:14:58 +0200 Subject: [PATCH] Remove NumPy <2 pin (#1064) This PR removes the NumPy<2 pin. This is desirable for RAPIDS projects that do not have a strong numpy/cupy dependency. Not doing any math, they don't run into subtle issues, but the pin was still necessary briefly before NumPy 2 was initially released. (Other RAPIDS projects rely heavily on CuPy/NumPy and need the soon to be released 13.3.0 to function properly, e.g. due to promotion related changes in NumPy.) Authors: - Sebastian Berg (https://github.com/seberg) Approvers: - James Lamb (https://github.com/jameslamb) - https://github.com/jakirkham URL: https://github.com/rapidsai/ucx-py/pull/1064 --- dependencies.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 5a67d730..096a644d 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -136,7 +136,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.23,<2.0a0 + - numpy>=1.23,<3.0a0 - pynvml>=11.4.1 depends_on_cupy: common: diff --git a/pyproject.toml b/pyproject.toml index ec66fc0b..f8727923 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ authors = [ license = { text = "BSD-3-Clause" } requires-python = ">=3.9" dependencies = [ - "numpy>=1.23,<2.0a0", + "numpy>=1.23,<3.0a0", "pynvml>=11.4.1", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [