Skip to content

Commit

Permalink
Make sure rapids-logger is specified as a dependency everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Feb 11, 2025
1 parent c817c0c commit a0bb265
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda/environments/all_cuda-118_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies:
- pytest==7.*
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- rapids-dask-dependency==25.4.*,>=0.0.0a0
- rapids-logger==0.1.*,>=0.0.0a0
- recommonmark
- rmm==25.4.*,>=0.0.0a0
- scikit-build-core>=0.10.0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies:
- pytest==7.*
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- rapids-dask-dependency==25.4.*,>=0.0.0a0
- rapids-logger==0.1.*,>=0.0.0a0
- recommonmark
- rmm==25.4.*,>=0.0.0a0
- scikit-build-core>=0.10.0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-128_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dependencies:
- pytest==7.*
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- rapids-dask-dependency==25.4.*,>=0.0.0a0
- rapids-logger==0.1.*,>=0.0.0a0
- recommonmark
- rmm==25.4.*,>=0.0.0a0
- scikit-build-core>=0.10.0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-128_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dependencies:
- pytest==7.*
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- rapids-dask-dependency==25.4.*,>=0.0.0a0
- rapids-logger==0.1.*,>=0.0.0a0
- recommonmark
- rmm==25.4.*,>=0.0.0a0
- scikit-build-core>=0.10.0
Expand Down
2 changes: 2 additions & 0 deletions conda/recipes/libraft/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ outputs:
- cuda-cudart-dev
{% endif %}
- librmm ={{ minor_version }}
- rapids-logger =0.1
run:
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
{% if cuda_major == "11" %}
Expand All @@ -71,6 +72,7 @@ outputs:
- cuda-cudart
{% endif %}
- librmm ={{ minor_version }}
- rapids-logger =0.1
about:
home: https://rapids.ai/
license: Apache-2.0
Expand Down
12 changes: 12 additions & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ files:
- depends_on_cupy
- depends_on_distributed_ucxx
- depends_on_rmm
- depends_on_rapids_logger
- develop
- docs
- rapids_build_skbuild
Expand Down Expand Up @@ -65,6 +66,7 @@ files:
includes:
- build_common
- depends_on_librmm
- depends_on_rapids_logger
py_run_libraft:
output: pyproject
pyproject_dir: python/libraft
Expand All @@ -73,6 +75,7 @@ files:
includes:
- cuda_wheels
- depends_on_librmm
- depends_on_rapids_logger
py_build_pylibraft:
output: pyproject
pyproject_dir: python/pylibraft
Expand Down Expand Up @@ -400,6 +403,15 @@ dependencies:
- cupy-cuda11x>=12.0.0
- {matrix: null, packages: [cupy-cuda11x>=12.0.0]}

depends_on_rapids_logger:
common:
- output_types: [conda, requirements, pyproject]
packages:
- rapids-logger==0.1.*,>=0.0.0a0
- output_types: requirements
packages:
# pip recognizes the index as a global option for the requirements.txt file
- --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
test_libraft:
common:
- output_types: [conda]
Expand Down
2 changes: 2 additions & 0 deletions python/libraft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies = [
"nvidia-curand",
"nvidia-cusolver",
"nvidia-cusparse",
"rapids-logger==0.1.*,>=0.0.0a0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
classifiers = [
"Intended Audience :: Developers",
Expand Down Expand Up @@ -105,6 +106,7 @@ requires = [
"cmake>=3.26.4,!=3.30.0",
"librmm==25.4.*,>=0.0.0a0",
"ninja",
"rapids-logger==0.1.*,>=0.0.0a0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
dependencies-file = "../../dependencies.yaml"
matrix-entry = "cuda_suffixed=true;use_cuda_wheels=true"
Expand Down

0 comments on commit a0bb265

Please sign in to comment.