Skip to content

Commit

Permalink
Pin libcudf runtime dependency for cudf / libcudf-kafka nightlies (#9847
Browse files Browse the repository at this point in the history
)

Looking at the cudf nightlies on Anaconda, I noticed we aren't pinning the libcudf dependency, only constraining it to the current minor version (i.e. `libcudf >=22.2.0a.211206,<22.3.0a0`); this makes it possible to install mismatched versions of cudf and libcudf nightlies, which can result in a broken cudf installation.

This PR pins the libcudf runtime dependency for our cudf nightlies, as well as for libcudf-kafka, which also has a libcudf runtime dependency.

Authors:
  - Charles Blackmon-Luca (https://github.com/charlesbluca)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #9847
  • Loading branch information
charlesbluca authored Mar 8, 2022
1 parent a4f2e10 commit e9876cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ build:
- CC
- CXX
- CUDAHOSTCXX
# libcudf's run_exports pinning is looser than we would like
ignore_run_exports:
- libcudf

requirements:
build:
Expand All @@ -44,6 +47,7 @@ requirements:
- numba >=0.54
- numpy
- {{ pin_compatible('pyarrow', max_pin='x.x.x') }} *cuda
- libcudf {{ version }}
- fastavro >=0.22.0
- {{ pin_compatible('rmm', max_pin='x.x') }}
- fsspec>=0.6.0
Expand Down
5 changes: 5 additions & 0 deletions conda/recipes/libcudf_kafka/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@ build:
- PARALLEL_LEVEL
- VERSION_SUFFIX
- PROJECT_FLASH
# libcudf's run_exports pinning is looser than we would like
ignore_run_exports:
- libcudf

requirements:
build:
- cmake >=3.20.1
host:
- libcudf {{version}}
- librdkafka >=1.7.0,<1.8.0a0
run:
- libcudf {{version}}

test:
commands:
Expand Down

0 comments on commit e9876cf

Please sign in to comment.