[RFC] Upgrading LLVM's minimum required Python version

Hi all, I wanted to revisit this topic, since I would really like to add some Python backwards compatibility checking for the libclang python binding, but it is difficult to add Python 3.6 CI (GitHub ubuntu-latests doesn’t support 3.6 anymore). Plus, the type annotation features added in 3.7 are significant.

See [GitHub] Add python 3.7 to libclang python test by linux4life798 · Pull Request #77219 · llvm/llvm-project · GitHub and [clang/python] Add type annotation to libclang Python binding · Issue #76664 · llvm/llvm-project · GitHub.

Has enough time passed to consider bumping the version to 3.8, or at least 3.7? Again, Python version 3.7 corresponds to Debian buster (old old stable) and was already EOL’d in mid 2023.

Best,

Craig

7 Likes