[all-commits] [llvm/llvm-project] 1492e5: Replace distutils.version with looseversion since ...

dyung via All-commits all-commits at lists.llvm.org
Sat Jul 20 12:08:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1492e5f1d5a6d302f32ab95910c75b960b611128
      https://github.com/llvm/llvm-project/commit/1492e5f1d5a6d302f32ab95910c75b960b611128
  Author: dyung <douglas.yung at sony.com>
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
    M cross-project-tests/lit.cfg.py

  Log Message:
  -----------
  Replace distutils.version with looseversion since the former was deprecated in python 3.10 and removed in 3.12. (#99549)

Python deprecated the distutils package in 3.10, and removed it in 3.12
causing problems when trying to run the lit tests with 3.12.

https://docs.python.org/3.10/library/distutils.html

Replace usage with the looseversion package which should be a drop-in
replacement for the original usage.

If your testing fails after this commit, you need to install the looseversion package.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list