Skip to content

Commit

Permalink
Update all conda_build_config.yamls RAPIDS UCX version (#2589)
Browse files Browse the repository at this point in the history
Instead of hard-coding a few `conda_build_config.yaml`s to replace RAPIDS UCX versions in, glob all of them and replace in each one. This will be robust to package additions, renames, and RAPIDS UCX dependencies added in different places.

Authors:
  - https://github.com/jakirkham

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #2589
  • Loading branch information
jakirkham authored Feb 28, 2025
1 parent d77fec7 commit 2f0600a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ for FILE in python/*/pyproject.toml; do
done
done

sed_runner "/^ucx_py_version:$/ {n;s/.*/ - \"${NEXT_UCXX_SHORT_TAG_PEP440}.*\"/}" conda/recipes/raft-dask/conda_build_config.yaml
sed_runner "/^ucxx_version:$/ {n;s/.*/ - \"${NEXT_UCXX_SHORT_TAG_PEP440}.*\"/}" conda/recipes/raft-dask/conda_build_config.yaml
# RAPIDS UCX version
for FILE in conda/recipes/*/conda_build_config.yaml; do
sed_runner "/^ucx_py_version:$/ {n;s/.*/ - \"${NEXT_UCXX_SHORT_TAG_PEP440}.*\"/}" "${FILE}"
sed_runner "/^ucxx_version:$/ {n;s/.*/ - \"${NEXT_UCXX_SHORT_TAG_PEP440}.*\"/}" "${FILE}"
done

for FILE in .github/workflows/*.yaml; do
sed_runner "/shared-workflows/ s/@.*/@branch-${NEXT_SHORT_TAG}/g" "${FILE}"
Expand Down

0 comments on commit 2f0600a

Please sign in to comment.