Skip to content

Commit

Permalink
update update-version.sh to use packaging lib (rapidsai#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe authored Sep 24, 2024
1 parent 1493ed0 commit c5a6fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rapids-pip-wheel-version
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi
epoch_timestamp="$1"

function distutilsNormalizeVersion {
echo -n "$(python3 -c "from setuptools.extern import packaging; print(packaging.version.Version('$1'))")"
echo -n "$(python3 -c "from packaging.version import Version; print(Version('$1'))")"
}

rapids-echo-stderr "pwd is $(pwd)"
Expand Down

0 comments on commit c5a6fef

Please sign in to comment.