From 099dea4cd36c1a041d4f94c6720cfd44c2b6ed30 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 12 Mar 2024 17:31:24 -0500 Subject: [PATCH] Add upper bound to prevent usage of NumPy 2. --- dependencies.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 09530c96..7c9f0bbc 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -114,7 +114,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.23 + - numpy>=1.23,<2.0a0 - pynvml>=11.4.1 - output_types: conda packages: diff --git a/pyproject.toml b/pyproject.toml index ff6a8685..fd36c76c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ authors = [ license = { text = "BSD-3-Clause" } requires-python = ">=3.9" dependencies = [ - "numpy>=1.23", + "numpy>=1.23,<2.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 = [