Skip to content

Commit

Permalink
Add upper bound to prevent usage of NumPy 2 (#204)
Browse files Browse the repository at this point in the history
NumPy 2 is expected to be released in the near future. For the RAPIDS 24.04 release, we will pin to `numpy>=1.23,<2.0a0`. This PR adds an upper bound to affected RAPIDS repositories.

xref: rapidsai/build-planning#29

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Peter Andreas Entschev (https://github.com/pentschev)
  - Ray Douglass (https://github.com/raydouglass)

URL: #204
  • Loading branch information
bdice authored Mar 13, 2024
1 parent 46d3b7b commit 99cc714
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- libtool
- ninja
- numba>=0.57.1
- numpy>=1.23
- numpy>=1.23,<2.0a0
- pip
- pkg-config
- pre-commit
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- libtool
- ninja
- numba>=0.57.1
- numpy>=1.23
- numpy>=1.23,<2.0a0
- pip
- pkg-config
- pre-commit
Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ dependencies:
common:
- output_types: [conda, requirements, pyproject]
packages:
- &numpy numpy>=1.23
- &numpy numpy>=1.23,<2.0a0
- pynvml>=11.4.1
- output_types: [conda]
packages:
Expand Down
2 changes: 1 addition & 1 deletion python/distributed-ucxx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ docs = [
test = [
"cudf==24.4.*",
"cupy-cuda11x>=12.0.0",
"numpy>=1.23",
"numpy>=1.23,<2.0a0",
"pytest==7.*",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ authors = [
license = { text = "BSD-3-Clause" }
requires-python = ">=3.9"
dependencies = [
"numpy>=1.23",
"numpy>=1.23,<2.0a0",
"pynvml>=11.4.1",
"rmm==24.4.*",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.
Expand Down

0 comments on commit 99cc714

Please sign in to comment.