Sorry @DeinAlptraum, I wasn’t trying to step on your toes here. I though you may have moved on from this project, so I tried to push this forward.
Given backwards compatibility is one of the selling features for libclang (compared to clang AST…) and type annotations are difficult to make backwards compatible, I have been adding CI to check this.
- [GitHub] Add basic CI for libclang Python binding unit tests by linux4life798 · Pull Request #76784 · llvm/llvm-project · GitHub
- [GitHub] Add python 3.7 to libclang python test by linux4life798 · Pull Request #77219 · llvm/llvm-project · GitHub
I also documented all type annotation features we can and can’t use for version 3.7 here.
I currently have a conflicting incremental PR [libclang/python] Bump minimum compatibility to Python 3.6 by linux4life798 · Pull Request #77228 · llvm/llvm-project · GitHub up for review. Would you consider waiting for it to be reviewed/submitted and rebasing?
Best,
Craig