Skip to content

Commit

Permalink
Pin wheel dependencies to same RAPIDS release (rapidsai#12659)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevagh authored Jan 31, 2023
1 parent 78cc98a commit 689cd62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,10 @@ sed_runner "s/CUDF_TAG branch-${CURRENT_SHORT_TAG}/CUDF_TAG branch-${NEXT_SHORT_
# ucx-py version update
sed_runner "s/export UCX_PY_VERSION=.*/export UCX_PY_VERSION='${NEXT_UCX_PY_VERSION}'/g" ci/gpu/build.sh
sed_runner "s/export UCX_PY_VERSION=.*/export UCX_PY_VERSION='${NEXT_UCX_PY_VERSION}'/g" ci/gpu/java.sh

# Need to distutils-normalize the original version
NEXT_SHORT_TAG_PEP440=$(python -c "from setuptools.extern import packaging; print(packaging.version.Version('${NEXT_SHORT_TAG}'))")

# Wheel builds install intra-RAPIDS dependencies from same release
sed_runner "s/rmm{cuda_suffix}.*\",/rmm{cuda_suffix}==${NEXT_SHORT_TAG_PEP440}.*\",/g" python/cudf/setup.py
sed_runner "s/cudf{cuda_suffix}==.*\",/cudf{cuda_suffix}==${NEXT_SHORT_TAG_PEP440}.*\",/g" python/dask_cudf/setup.py
2 changes: 1 addition & 1 deletion python/cudf/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typing_extensions",
# Allow floating minor versions for Arrow.
"pyarrow==10",
f"rmm{cuda_suffix}",
f"rmm{cuda_suffix}==23.2.*",
f"ptxcompiler{cuda_suffix}",
f"cubinlinker{cuda_suffix}",
"cupy-cuda11x",
Expand Down
2 changes: 1 addition & 1 deletion python/dask_cudf/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"fsspec>=0.6.0",
"numpy",
"pandas>=1.0,<1.6.0dev0",
f"cudf{cuda_suffix}",
f"cudf{cuda_suffix}==23.2.*",
"cupy-cuda11x",
]

Expand Down

0 comments on commit 689cd62

Please sign in to comment.