Skip to content

Commit

Permalink
update pip versions in dependencies.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Mar 1, 2023
1 parent 30612f1 commit 5578250
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,14 @@ sed_runner "/TAGFILES/ s|[0-9]\+.[0-9]\+|${NEXT_SHORT_TAG}|g" cpp/doxygen/Doxyfi
for FILE in .github/workflows/*.yaml; do
sed_runner "/shared-action-workflows/ s/@.*/@branch-${NEXT_SHORT_TAG}/g" "${FILE}"
done

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

# Dependency versions in dependencies.yaml
sed_runner "s/==${CURRRENT_SHORT_TAG_PEP440}.*\"/==${NEXT_SHORT_TAG_PEP440}.*\"/g" dependencies.yaml
# Dependency versions in setup.py
sed_runner "s/==${CURRRENT_SHORT_TAG_PEP440}.*\"/==${NEXT_SHORT_TAG_PEP440}.*\"/g" python/cuspatial/setup.py
# Dependency versions in pyproject.toml
sed_runner "s/==${CURRRENT_SHORT_TAG_PEP440}.*\"/==${NEXT_SHORT_TAG_PEP440}.*\"/g" python/cuspatial/pyproject.toml

0 comments on commit 5578250

Please sign in to comment.