Skip to content

Commit 2572a76

Browse files
authored
Revert "Replace distutils.version with looseversion since the former was deprecated in python 3.10 and removed in 3.12." (#99786)
Reverts #99549 because it breaks a bunch of build bots.
1 parent efa833d commit 2572a76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cross-project-tests/lit.cfg.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import subprocess
55
import sys
66

7-
from looseversion import LooseVersion
7+
# TODO: LooseVersion is undocumented; use something else.
8+
from distutils.version import LooseVersion
89

910
import lit.formats
1011
import lit.util

0 commit comments

Comments
 (0)