[clang] [llvm] [GitHub] Add python 3.7 to libclang python test (PR #77219)

Craig Hesling via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 14 17:15:23 PST 2024


================
@@ -30,10 +30,15 @@ jobs:
   check-clang-python:
     # Build libclang and then run the libclang Python binding's unit tests.
     name: Build and run Python unit tests
+    strategy:
+      fail-fast: false
+      matrix:
+        python-version: ["3.7", "3.11"]
----------------
linux4life798 wrote:

* I added a note in the libclang python top level README about needing Python version 3.7.
https://github.com/llvm/llvm-project/pull/77219/commits/58bb2caa0fc4f3bc6b2cd187e524b9cc791355dd
* I also tried to spark a conversation in the RFC to bump python version across LLVM.
https://discourse.llvm.org/t/type-annotations-for-libclang-python-bindings/70644/14

Regardless, testing this library with an older version goes a long way towards ensuring backward compatibility.

https://github.com/llvm/llvm-project/pull/77219


More information about the cfe-commits mailing list