[all-commits] [llvm/llvm-project] 95fc94: [lit] Remove Python 2 string support (#157979)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Sep 11 18:44:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95fc948c0a07953ae9d0973854336e197e36d349
      https://github.com/llvm/llvm-project/commit/95fc948c0a07953ae9d0973854336e197e36d349
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/llvm/config.py
    M llvm/utils/lit/lit/util.py

  Log Message:
  -----------
  [lit] Remove Python 2 string support (#157979)

There are some code paths within lit that still check what string types
are supported with the aim of being compatible with Python 2 and 3.
Given LLVM's minimum Python version is 3.8 and we do not have any
upstream testing for Python 2, I think we can safely drop this.



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