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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 6 19:33:35 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"]
----------------
boomanaiden154 wrote:

We can't just ship the library with annotations that require Python 3.7+ when the listed minimum version is Python 3.6. It's probably going to be difficult to get the default version upgraded given how diverse the supported-platform base is for LLVM, but it might be more feasible to carve out an exception specifically for the libclang Python API.

Just because newer features are used in tip of tree doesn't mean they should be. I'd also assume these aren't in the critical path anywhere as I'm reasonably certain a lot of buildbots are still running Buster with Python 3.7.

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


More information about the llvm-commits mailing list