[llvm] 9a15e3e - [llvm][utils] Correct misleading comment in bump-version.py
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 02:03:55 PDT 2025
Author: David Spickett
Date: 2025-06-03T09:02:58Z
New Revision: 9a15e3e3e25df03720990ca7acb4edca6e299afd
URL: https://github.com/llvm/llvm-project/commit/9a15e3e3e25df03720990ca7acb4edca6e299afd
DIFF: https://github.com/llvm/llvm-project/commit/9a15e3e3e25df03720990ca7acb4edca6e299afd.diff
LOG: [llvm][utils] Correct misleading comment in bump-version.py
It's using packaging not distutils.
Relates to https://github.com/llvm/llvm-project/issues/54337#issuecomment-2932029662
Added:
Modified:
llvm/utils/release/bump-version.py
Removed:
################################################################################
diff --git a/llvm/utils/release/bump-version.py b/llvm/utils/release/bump-version.py
index 5db62e88fec1d..1a55328bb2d55 100755
--- a/llvm/utils/release/bump-version.py
+++ b/llvm/utils/release/bump-version.py
@@ -169,7 +169,7 @@ def process_line(self, line: str) -> str:
verstr = args.version
- # parse the version string with distutils.
+ # parse the version string.
# note that -rc will end up as version.pre here
# since it's a prerelease
version = packaging.version.parse(verstr)
More information about the llvm-commits
mailing list