Skip to content

Commit 6372e20

Browse files
authored
Fix ucx-py update-version script (#4603)
Back ports the `update-version.sh` fixes from #4562
1 parent 33ff543 commit 6372e20

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ci/release/update-version.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,19 @@ DEPENDENCIES=(
6969
pyraft
7070
raft-dask
7171
rmm
72-
ucx-py
7372
rapids-dask-dependency
7473
)
75-
for DEP in "${DEPENDENCIES[@]}"; do
76-
for FILE in dependencies.yaml conda/environments/*.yaml python/cugraph-{pyg,dgl}/conda/*.yaml; do
74+
for FILE in dependencies.yaml conda/environments/*.yaml python/cugraph-{pyg,dgl}/conda/*.yaml; do
75+
for DEP in "${DEPENDENCIES[@]}"; do
7776
sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}"
78-
sed_runner "/-.* ucx-py==/ s/==.*/==${NEXT_UCX_PY_VERSION}.*,>=0.0.0a0/g" "${FILE}"
7977
done
80-
for FILE in python/**/pyproject.toml python/**/**/pyproject.toml; do
78+
sed_runner "/-.* ucx-py\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_UCX_PY_VERSION}.*,>=0.0.0a0/g" "${FILE}"
79+
done
80+
for FILE in python/**/pyproject.toml python/**/**/pyproject.toml; do
81+
for DEP in "${DEPENDENCIES[@]}"; do
8182
sed_runner "/\"${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0\"/g" "${FILE}"
82-
sed_runner "/\"ucx-py==/ s/==.*\"/==${NEXT_UCX_PY_VERSION}.*,>=0.0.0a0\"/g" "${FILE}"
8383
done
84+
sed_runner "/\"ucx-py\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*\"/==${NEXT_UCX_PY_VERSION}.*,>=0.0.0a0\"/g" "${FILE}"
8485
done
8586

8687
# ucx-py version

0 commit comments

Comments
 (0)