[clang] [llvm] [libclang/python] Enable packaging clang python bindings (PR #125806)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 11:28:03 PST 2025


================
@@ -0,0 +1,43 @@
+[build-system]
+requires = ["hatchling>=1.27", "hatch-vcs>=0.4"]
+build-backend = "hatchling.build"
+
+[project]
+name = "clang"
+description = "clang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = "Apache-2.0 WITH LLVM-exception"
+authors = [
+    { name = "LLVM" }
+]
+keywords = ["llvm", "clang", "libclang"]
+classifiers = [
+    "Intended Audience :: Developers",
+    "Development Status :: 5 - Production/Stable",
+    "Topic :: Software Development :: Compilers",
+    "Operating System :: OS Independent",
+    "Programming Language :: Python :: 3",
+]
+requires-python = ">=3.10"
----------------
boomanaiden154 wrote:

What's the reason for this? Our stated policy is that we support anything greater than 3.8 currently.

We do run premerge tests for the libclang python bindings against Python 3.8, so they should work.

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


More information about the llvm-commits mailing list