Skip to content

Commit 1c8e311

Browse files
authored
Remove alpha specs from non-RAPIDS dependencies (#660)
This PR removes pre-release upper bound pinnings from non-RAPIDS dependencies. The presence of pre-release indicators like `<...a0` tells pip "pre-releases are OK, even if `--pre` was not passed to pip install." RAPIDS projects currently use such constraints in situations where it's not actually desirable to get pre-releases. xref: rapidsai/build-planning#144 ## Summary by CodeRabbit * **Chores** * Updated dependency bounds across environments and project configs to remove prerelease/dev upper-bound suffixes, aligning with stable release upper limits. Affected packages: rapids-build-backend, numpy, and cuda-python. Changes tighten allowed version ranges consistently across build, host, and run settings. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> Authors: - Bradley Dice (https://github.com/bdice) - Ramakrishnap (https://github.com/rgsl888prabhu) - Gil Forsyth (https://github.com/gforsyth) Approvers: - Gil Forsyth (https://github.com/gforsyth) URL: #660
1 parent 5022520 commit 1c8e311

File tree

12 files changed

+37
-37
lines changed

12 files changed

+37
-37
lines changed

conda/environments/all_cuda-129_arch-aarch64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- cpp-argparse
1717
- cuda-nvcc
1818
- cuda-nvtx-dev
19-
- cuda-python>=12.9.2,<13.0a0
19+
- cuda-python>=12.9.2,<13.0
2020
- cuda-sanitizer-api
2121
- cuda-version=12.9
2222
- cudf==26.2.*,>=0.0.0a0
@@ -44,7 +44,7 @@ dependencies:
4444
- notebook
4545
- numba-cuda>=0.22.1,<0.23.0
4646
- numba>=0.60.0
47-
- numpy>=1.23.5,<3.0a0
47+
- numpy>=1.23.5,<3.0
4848
- numpydoc
4949
- pandas>=2.0
5050
- pexpect
@@ -56,7 +56,7 @@ dependencies:
5656
- pytest-cov
5757
- pytest<8
5858
- python>=3.10,<3.14
59-
- rapids-build-backend>=0.4.0,<0.5.0.dev0
59+
- rapids-build-backend>=0.4.0,<0.5.0
6060
- rapids-dask-dependency==26.2.*,>=0.0.0a0
6161
- rapids-logger==0.2.*,>=0.0.0a0
6262
- requests

conda/environments/all_cuda-129_arch-x86_64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- cpp-argparse
1717
- cuda-nvcc
1818
- cuda-nvtx-dev
19-
- cuda-python>=12.9.2,<13.0a0
19+
- cuda-python>=12.9.2,<13.0
2020
- cuda-sanitizer-api
2121
- cuda-version=12.9
2222
- cudf==26.2.*,>=0.0.0a0
@@ -44,7 +44,7 @@ dependencies:
4444
- notebook
4545
- numba-cuda>=0.22.1,<0.23.0
4646
- numba>=0.60.0
47-
- numpy>=1.23.5,<3.0a0
47+
- numpy>=1.23.5,<3.0
4848
- numpydoc
4949
- pandas>=2.0
5050
- pexpect
@@ -56,7 +56,7 @@ dependencies:
5656
- pytest-cov
5757
- pytest<8
5858
- python>=3.10,<3.14
59-
- rapids-build-backend>=0.4.0,<0.5.0.dev0
59+
- rapids-build-backend>=0.4.0,<0.5.0
6060
- rapids-dask-dependency==26.2.*,>=0.0.0a0
6161
- rapids-logger==0.2.*,>=0.0.0a0
6262
- requests

conda/environments/all_cuda-130_arch-aarch64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- cpp-argparse
1717
- cuda-nvcc
1818
- cuda-nvtx-dev
19-
- cuda-python>=13.0.1,<14.0a0
19+
- cuda-python>=13.0.1,<14.0
2020
- cuda-sanitizer-api
2121
- cuda-version=13.0
2222
- cudf==26.2.*,>=0.0.0a0
@@ -44,7 +44,7 @@ dependencies:
4444
- notebook
4545
- numba-cuda>=0.22.1,<0.23.0
4646
- numba>=0.60.0
47-
- numpy>=1.23.5,<3.0a0
47+
- numpy>=1.23.5,<3.0
4848
- numpydoc
4949
- pandas>=2.0
5050
- pexpect
@@ -56,7 +56,7 @@ dependencies:
5656
- pytest-cov
5757
- pytest<8
5858
- python>=3.10,<3.14
59-
- rapids-build-backend>=0.4.0,<0.5.0.dev0
59+
- rapids-build-backend>=0.4.0,<0.5.0
6060
- rapids-dask-dependency==26.2.*,>=0.0.0a0
6161
- rapids-logger==0.2.*,>=0.0.0a0
6262
- requests

conda/environments/all_cuda-130_arch-x86_64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- cpp-argparse
1717
- cuda-nvcc
1818
- cuda-nvtx-dev
19-
- cuda-python>=13.0.1,<14.0a0
19+
- cuda-python>=13.0.1,<14.0
2020
- cuda-sanitizer-api
2121
- cuda-version=13.0
2222
- cudf==26.2.*,>=0.0.0a0
@@ -44,7 +44,7 @@ dependencies:
4444
- notebook
4545
- numba-cuda>=0.22.1,<0.23.0
4646
- numba>=0.60.0
47-
- numpy>=1.23.5,<3.0a0
47+
- numpy>=1.23.5,<3.0
4848
- numpydoc
4949
- pandas>=2.0
5050
- pexpect
@@ -56,7 +56,7 @@ dependencies:
5656
- pytest-cov
5757
- pytest<8
5858
- python>=3.10,<3.14
59-
- rapids-build-backend>=0.4.0,<0.5.0.dev0
59+
- rapids-build-backend>=0.4.0,<0.5.0
6060
- rapids-dask-dependency==26.2.*,>=0.0.0a0
6161
- rapids-logger==0.2.*,>=0.0.0a0
6262
- requests

conda/recipes/cuopt-server/recipe.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ requirements:
2929
host:
3030
- pip
3131
- python =${{ py_version }}
32-
- rapids-build-backend >=0.4.0,<0.5.0.dev0
32+
- rapids-build-backend >=0.4.0,<0.5.0
3333
- setuptools>=77.0.0
3434
run:
3535
- cuopt =${{ version }}
3636
- fastapi >=0.104.1
3737
- jsonref =1.1.0
3838
- msgpack-python =1.1.0
3939
- msgpack-numpy =0.4.8
40-
- numpy >=1.23,<3.0a0
40+
- numpy >=1.23,<3.0
4141
- pandas>=2
4242
- psutil>=6.0.0
4343
- python

conda/recipes/cuopt/recipe.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ requirements:
6262
- pip
6363
- pylibraft =${{ minor_version }}
6464
- python =${{ py_version }}
65-
- rapids-build-backend >=0.4.0,<0.5.0.dev0
65+
- rapids-build-backend >=0.4.0,<0.5.0
6666
- rmm =${{ minor_version }}
6767
- scikit-build-core>=0.11.0
6868
- cuda-cudart-dev
6969
- if: cuda_major == "12"
70-
then: cuda-python >=12.9.2,<13.0a0
71-
else: cuda-python >=13.0.1,<14.0a0
70+
then: cuda-python >=12.9.2,<13.0
71+
else: cuda-python >=13.0.1,<14.0
7272
run:
7373
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
7474
- cudf =${{ minor_version }}
@@ -78,7 +78,7 @@ requirements:
7878
- libcuopt =${{ version }}
7979
- numba >=0.60.0
8080
- numba-cuda>=0.22.1,<0.23.0
81-
- numpy >=1.23,<3.0a0
81+
- numpy >=1.23,<3.0
8282
- pandas >=2.0
8383
- pylibraft =${{ minor_version }}
8484
- python
@@ -90,8 +90,8 @@ requirements:
9090
# TODO: Add nvjitlink here
9191
# xref: https://github.com/rapidsai/cudf/issues/12822
9292
- if: cuda_major == "12"
93-
then: cuda-python >=12.9.2,<13.0a0
94-
else: cuda-python >=13.0.1,<14.0a0
93+
then: cuda-python >=12.9.2,<13.0
94+
else: cuda-python >=13.0.1,<14.0
9595
ignore_run_exports:
9696
by_name:
9797
- cuda-cudart

conda/recipes/mps-parser/recipe.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ requirements:
4242
- libmps-parser =${{ version }}
4343
- pip
4444
- python =${{ py_version }}
45-
- rapids-build-backend >=0.4.0,<0.5.0.dev0
46-
- scikit-build-core>=0.11.0
45+
- rapids-build-backend >=0.4.0,<0.5.0
46+
- scikit-build-core >=0.11.0
4747
run:
48-
- numpy >=1.23,<3.0a0
48+
- numpy >=1.23,<3.0
4949
- python
5050

5151
tests:

dependencies.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ dependencies:
252252
common:
253253
- output_types: [conda, requirements, pyproject]
254254
packages:
255-
- &rapids_build_backend rapids-build-backend>=0.4.0,<0.5.0.dev0
255+
- &rapids_build_backend rapids-build-backend>=0.4.0,<0.5.0
256256
- output_types: [conda]
257257
packages:
258258
- scikit-build-core>=0.11.0
@@ -322,7 +322,7 @@ dependencies:
322322
common:
323323
- output_types: [conda, requirements, pyproject]
324324
packages:
325-
- &numpy numpy>=1.23.5,<3.0a0
325+
- &numpy numpy>=1.23.5,<3.0
326326
build_python_common:
327327
common:
328328
- output_types: [conda, requirements, pyproject]
@@ -361,11 +361,11 @@ dependencies:
361361
- matrix:
362362
cuda: "12.*"
363363
packages:
364-
- cuda-python>=12.9.2,<13.0a0
364+
- cuda-python>=12.9.2,<13.0
365365
# fallback to CUDA 13 versions if 'cuda' is '13.*' or not provided
366366
- matrix:
367367
packages:
368-
- cuda-python>=13.0.1,<14.0a0
368+
- cuda-python>=13.0.1,<14.0
369369

370370
test_python_cuopt_server:
371371
common:

python/cuopt/cuopt/linear_programming/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[build-system]
55
build-backend = "rapids_build_backend.build"
66
requires = [
7-
"rapids-build-backend>=0.4.0,<0.5.0.dev0",
7+
"rapids-build-backend>=0.4.0,<0.5.0",
88
"scikit-build-core[pyproject]>=0.11.0",
99
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../../../dependencies.yaml and run `rapids-dependency-file-generator`.
1010

@@ -19,7 +19,7 @@ authors = [
1919
license = "Apache-2.0"
2020
requires-python = ">=3.10"
2121
dependencies = [
22-
"numpy>=1.23.5,<3.0a0",
22+
"numpy>=1.23.5,<3.0",
2323
"rapids-logger==0.2.*,>=0.0.0a0",
2424
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../../../dependencies.yaml and run `rapids-dependency-file-generator`.
2525
classifiers = [
@@ -74,6 +74,6 @@ requires = [
7474
"cmake>=3.30.4",
7575
"cython>=3.0.3",
7676
"ninja",
77-
"numpy>=1.23.5,<3.0a0",
77+
"numpy>=1.23.5,<3.0",
7878
"rapids-logger==0.2.*,>=0.0.0a0",
7979
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../../../dependencies.yaml and run `rapids-dependency-file-generator`.

python/cuopt/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[build-system]
55
build-backend = "rapids_build_backend.build"
66
requires = [
7-
"rapids-build-backend>=0.4.0,<0.5.0.dev0",
7+
"rapids-build-backend>=0.4.0,<0.5.0",
88
"scikit-build-core[pyproject]>=0.11.0",
99
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
1010

@@ -19,14 +19,14 @@ authors = [
1919
license = "Apache-2.0"
2020
requires-python = ">=3.10"
2121
dependencies = [
22-
"cuda-python>=13.0.1,<14.0a0",
22+
"cuda-python>=13.0.1,<14.0",
2323
"cudf==26.2.*,>=0.0.0a0",
2424
"cuopt-mps-parser==26.2.*,>=0.0.0a0",
2525
"cupy-cuda13x>=13.6.0",
2626
"libcuopt==26.2.*,>=0.0.0a0",
2727
"numba-cuda>=0.22.1,<0.23.0",
2828
"numba>=0.60.0",
29-
"numpy>=1.23.5,<3.0a0",
29+
"numpy>=1.23.5,<3.0",
3030
"pandas>=2.0",
3131
"pylibraft==26.2.*,>=0.0.0a0",
3232
"rapids-dask-dependency==26.2.*,>=0.0.0a0",
@@ -44,7 +44,7 @@ classifiers = [
4444

4545
[project.optional-dependencies]
4646
test = [
47-
"numpy>=1.23.5,<3.0a0",
47+
"numpy>=1.23.5,<3.0",
4848
"pytest-cov",
4949
"pytest<8",
5050
"rapids-logger==0.2.*,>=0.0.0a0",

0 commit comments

Comments
 (0)