Skip to content

Commit

Permalink
Use new rapids-dask-dependency metapackage for managing dask versio…
Browse files Browse the repository at this point in the history
…ns (#1270)

Currently dask versions are pinned as part of every release cycle and then unpinned for the next development cycle across all of RAPIDS. This introduces a great deal of churn. To centralize the dependency, we have created a metapackage to manage the required dask version and this PR introduces that metapackage as a dependency of dask-cuda.

xref: rapidsai/cudf#14364

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Peter Andreas Entschev (https://github.com/pentschev)
  - Jake Awe (https://github.com/AyodeAwe)

URL: #1270
  • Loading branch information
galipremsagar authored Nov 13, 2023
1 parent e5b240c commit 9a5d06d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ sed_runner "s/cudf=.*/cudf=${NEXT_SHORT_TAG}/g" dependencies.yaml
sed_runner "s/dask-cudf=.*/dask-cudf=${NEXT_SHORT_TAG}/g" dependencies.yaml
sed_runner "s/kvikio=.*/kvikio=${NEXT_SHORT_TAG}/g" dependencies.yaml
sed_runner "s/ucx-py=.*/ucx-py=${NEXT_UCXPY_VERSION}/g" dependencies.yaml
sed_runner "s/rapids-dask-dependency=.*/rapids-dask-dependency=${NEXT_SHORT_TAG}.*/g" dependencies.yaml

# CI files
for FILE in .github/workflows/*.yaml; do
Expand Down
1 change: 0 additions & 1 deletion conda/recipes/dask-cuda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ requirements:
- tomli
run:
- python
- dask-core >=2023.9.2
{% for r in data.get("project", {}).get("dependencies", []) %}
- {{ r }}
{% endfor %}
Expand Down
6 changes: 1 addition & 5 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,12 @@ dependencies:
common:
- output_types: [conda, requirements]
packages:
- dask>=2023.9.2
- distributed>=2023.9.2
- numba>=0.57
- numpy>=1.21
- pandas>=1.3,<1.6.0dev0
- pynvml>=11.0.0,<11.5
- rapids-dask-dependency==23.12.*
- zict>=2.0.0
- output_types: [conda]
packages:
- dask-core>=2023.9.2
test_python:
common:
- output_types: [conda]
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ authors = [
license = { text = "Apache-2.0" }
requires-python = ">=3.9"
dependencies = [
"dask >=2023.9.2",
"distributed >=2023.9.2",
"pynvml >=11.0.0,<11.5",
"numpy >=1.21",
"numba >=0.57",
"pandas >=1.3,<1.6.0dev0",
"rapids-dask-dependency==23.12.*",
"zict >=2.0.0",
]
classifiers = [
Expand Down

0 comments on commit 9a5d06d

Please sign in to comment.