Skip to content

Commit

Permalink
Handle RAPIDS UCX version updates
Browse files Browse the repository at this point in the history
Make sure RAPIDS UCX version updates are propagated through various
constraints during RAPIDS releases.
  • Loading branch information
jakirkham committed Jan 8, 2025
1 parent 94974d1 commit 142bd0f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,16 @@ DEPENDENCIES=(
cudf
rapids-dask-dependency
)
for DEP in "${DEPENDENCIES[@]}"; do
for FILE in dependencies.yaml conda/environments/*.yml; do
UCX_PY_DEPENDENCIES=(
ucx-py
)
for FILE in dependencies.yaml conda/environments/*.yml; do
for DEP in "${DEPENDENCIES[@]}"; do
sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_RAPIDS_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}"
done
sed_runner "/\"${DEP}==/ s/==.*\"/==${NEXT_RAPIDS_SHORT_TAG_PEP440}.*,>=0.0.0a0\"/g" pyproject.toml
for DEP in "${UCX_PY_DEPENDENCIES[@]}"; do
sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}"
done
done

for FILE in .github/workflows/*.yaml; do
Expand Down

0 comments on commit 142bd0f

Please sign in to comment.