llvm-project
f56309ac - [compiler-rt][test] Use packaging.version.Version to compare glibc versions (#142596)

Commit
57 days ago
[compiler-rt][test] Use packaging.version.Version to compare glibc versions (#142596) Instead of distutils.LooseVersion. distutils was depracated (https://peps.python.org/pep-0632/) and has been removed in Python 3.12 (https://docs.python.org/3/whatsnew/3.12.html) > Of note, the distutils package has been removed from the standard library. packaging's version is able to handle glibc's major.minor: https://packaging.pypa.io/en/latest/version.html#packaging.version.Version > For these modules or types, use the standards-defined Python Packaging Authority packages specified: > distutils.version — use the packaging package Relates to https://github.com/llvm/llvm-project/issues/54337
Author
Parents
Loading