Skip to content

Commit

Permalink
Pin to minor versions of packages outside the cuGraph repository. (#4004
Browse files Browse the repository at this point in the history
)

This PR fixes some pinnings in cuGraph conda recipes. The problem is similar to that handled in rapidsai/cudf#14420. The `{{ version }}` variable can only be used to constrain conda packages built by CI workflows in the _same repository_ because `{{ version }}` includes information about the git commit. We must use `{{ minor_version }}` to constrain other RAPIDS packages. In cuGraph, that means that `pylibcugraphops` (which is built by the cugraph-ops repository) and `rapids-dask-dependency` must pin with `={{ minor_version }}` instead of `={{ version }}`.

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

Approvers:
   - GALI PREM SAGAR (https://github.com/galipremsagar)
   - Ray Douglass (https://github.com/raydouglass)
  • Loading branch information
bdice authored Nov 15, 2023
1 parent b90e1a5 commit 8c104a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda/recipes/cugraph-dgl/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requirements:
- dgl >=1.1.0.cu*
- numba >=0.57
- numpy >=1.21
- pylibcugraphops ={{ version }}
- pylibcugraphops ={{ minor_version }}
- python
- pytorch

Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/cugraph-pyg/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ requirements:
- python
- scikit-build >=0.13.1
run:
- rapids-dask-dependency ={{ version }}
- rapids-dask-dependency ={{ minor_version }}
- numba >=0.57
- numpy >=1.21
- python
- pytorch >=2.0
- cupy >=12.0.0
- cugraph ={{ version }}
- pylibcugraphops ={{ version }}
- pylibcugraphops ={{ minor_version }}
- pyg >=2.3,<2.4

tests:
Expand Down

0 comments on commit 8c104a5

Please sign in to comment.