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

2025-05-09 Thread Ryan Mast via cfe-commits
nightlark wrote: Yes, still looking into this -- got a bit busier through around mid-May though. https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cf

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

2025-03-05 Thread Ryan Mast via cfe-commits
nightlark wrote: @LecrisUT all of the situations listed work fine -- the top level bullet points are the "hypothetical issues" that someone trying to use it have encountered, and the sub-bullet points are ways to check that the potential issue was addressed and is not an issue. https://githu

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

2025-03-05 Thread Ryan Mast via cfe-commits
nightlark wrote: For reviewers, here's a summary of the potential issues that come to mind and what has been done to verify things are working as expected: * The packaging metadata (keywords, name, author/contact info, etc) don't match what we expect - check the pyproject.toml and make sur

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

2025-03-05 Thread Ryan Mast via cfe-commits
nightlark wrote: @Endilll - do you have way to contact them directly to tell them about this PR? I suspect they are not seeing any notifications for the mentions here, and will require telling them "in-person" at a meeting. I have a PR (opened >1 month ago) in the repository for the libclang p

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

2025-02-17 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,34 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = { text = "Apa

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

2025-02-07 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,34 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = { text = "Apa

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

2025-02-07 Thread Ryan Mast via cfe-commits
https://github.com/nightlark edited https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-02-07 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,36 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm==8.1.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = {text

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

2025-02-06 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,36 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm==8.1.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = {text

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

2025-02-06 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,3 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ nightlark wrote: Another thought, I expect most end users will eventually be installing from a PyPI package -- the sdist and wheel files uplo

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

2025-02-06 Thread Ryan Mast via cfe-commits
nightlark wrote: @Endilll the Python bindings seem like part of LLVM that you have expertise in, if you also want to review this PR. https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists

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

2025-02-06 Thread Ryan Mast via cfe-commits
https://github.com/nightlark edited https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-02-06 Thread Ryan Mast via cfe-commits
https://github.com/nightlark updated https://github.com/llvm/llvm-project/pull/125806 >From a4c09eda556104fbe5a8acdb830215b2a4ebd131 Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Tue, 4 Feb 2025 21:59:28 -0800 Subject: [PATCH] [libclang/python] Enable packaging libclang bindings --- .gitattr

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

2025-02-06 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,3 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ nightlark wrote: I didn't see an option for `git describe` to list out describes relative to all possible tags -- just listing all tags might

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

2025-02-05 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,34 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = { text = "Apa

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

2025-02-05 Thread Ryan Mast via cfe-commits
https://github.com/nightlark edited https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-02-05 Thread Ryan Mast via cfe-commits
https://github.com/nightlark updated https://github.com/llvm/llvm-project/pull/125806 >From 4dd3356f37229c415c6b6e3dfec8c8020122124d Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Tue, 4 Feb 2025 21:59:28 -0800 Subject: [PATCH] [libclang/python] Enable packaging libclang bindings --- .gitattr

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

2025-02-05 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,34 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = { text = "Apa

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

2025-02-05 Thread Ryan Mast via cfe-commits
https://github.com/nightlark edited https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-02-05 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,3 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ nightlark wrote: The more open ended match is the standard one that setuptools_scm documents, but we can make it more flexible. I tried the

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

2025-02-05 Thread Ryan Mast via cfe-commits
@@ -0,0 +1,34 @@ +[build-system] +requires = ["setuptools>=42", "setuptools_scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "clang" +description = "libclang python bindings" +readme = {file = "README.txt", content-type = "text/plain"} + +license = { text = "Apa

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

2025-02-04 Thread Ryan Mast via cfe-commits
nightlark wrote: Hey, I'm new to the process of contributing to LLVM, so let me know of any best practices or things I might have missed in the contributed guide. I'm looking at improving the situation for packaging libclang bindings on PyPI and ideally would like maintain the things needed he

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

2025-02-04 Thread Ryan Mast via cfe-commits
https://github.com/nightlark edited https://github.com/llvm/llvm-project/pull/125806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-02-04 Thread Ryan Mast via cfe-commits
https://github.com/nightlark created https://github.com/llvm/llvm-project/pull/125806 Add files for packaging libclang Python bindings as a sdist tarball and pure Python wheel. setuptools_scm is used to derive version numbers from git tags for a future workflow that automates publishing update