Skip to content

Commit

Permalink
add explicit run dependencies on cuda-python, ignore deprecation warn…
Browse files Browse the repository at this point in the history
…ings
  • Loading branch information
jameslamb committed Nov 6, 2024
1 parent b0c4f9c commit 6b40c86
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conda/recipes/pylibraft/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ build:
- {{ compiler('cuda') }}
- cuda-cudart-dev
{% endif %}
- cuda-python

requirements:
build:
Expand Down Expand Up @@ -60,8 +61,10 @@ requirements:
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
{% if cuda_major == "11" %}
- cudatoolkit
- cuda-python >=11.7.1,<12.0a0,!=11.8.4
{% else %}
- cuda-cudart
- cuda-python >=12.0,<13.0a0,!=12.6.1
{% endif %}
- libraft {{ version }}
- libraft-headers {{ version }}
Expand Down
3 changes: 3 additions & 0 deletions conda/recipes/raft-dask/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ build:
- {{ compiler('cuda') }}
- cuda-cudart-dev
{% endif %}
- cuda-python

requirements:
build:
Expand Down Expand Up @@ -61,8 +62,10 @@ requirements:
run:
{% if cuda_major == "11" %}
- cudatoolkit
- cuda-python >=11.7.1,<12.0a0,!=11.8.4
{% else %}
- cuda-cudart
- cuda-python >=12.0,<13.0a0,!=12.6.1
{% endif %}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
- dask-cuda ={{ minor_version }}
Expand Down
1 change: 1 addition & 0 deletions python/pylibraft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,5 @@ matrix-entry = "cuda_suffixed=true;use_cuda_wheels=true"
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:.*cuda..* module is deprecated.*:DeprecationWarning",
]

0 comments on commit 6b40c86

Please sign in to comment.