From 3a349d81448839d74b707e95663b29c7dbfcf9e5 Mon Sep 17 00:00:00 2001 From: Jake Awe Date: Tue, 24 Sep 2024 11:59:19 -0500 Subject: [PATCH] update update-version.sh to use packaging lib --- ci/release/update-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index 6808a8145e..6b9458b273 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -23,7 +23,7 @@ NEXT_MINOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[2]}') NEXT_SHORT_TAG=${NEXT_MAJOR}.${NEXT_MINOR} # 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}'))") +NEXT_SHORT_TAG_PEP440=$(python -c "from packaging.version import Version; print(Version('${NEXT_SHORT_TAG}'))") echo "Preparing release $CURRENT_TAG => $NEXT_FULL_TAG"