[llvm] [MLGO] Use SPDX License Expression (PR #147646)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 21:11:24 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlgo

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

Using license classifiers and a text based license was deprecated at some point and now gives a warning saying it is unsupported. The text that we had was just the SPDX expression, although misplaced apparently. Use the SPDX expression properly.

---
Full diff: https://github.com/llvm/llvm-project/pull/147646.diff


1 Files Affected:

- (modified) llvm/utils/mlgo-utils/pyproject.toml (+1-4) 


``````````diff
diff --git a/llvm/utils/mlgo-utils/pyproject.toml b/llvm/utils/mlgo-utils/pyproject.toml
index b72465c2417c2..19c38544112e9 100644
--- a/llvm/utils/mlgo-utils/pyproject.toml
+++ b/llvm/utils/mlgo-utils/pyproject.toml
@@ -8,10 +8,7 @@ description = "Tooling for ML in LLVM"
 readme = "README.md"
 requires-python = ">=3.8"
 dynamic = ["version"]
-license = {text = "Apache-2.0 WITH LLVM-exception"}
-classifiers = [
-  "License :: OSI Approved :: Apache Software License"
-]
+license = "Apache-2.0 WITH LLVM-exception"
 
 [tool.setuptools.dynamic]
 version = {attr = "mlgo.__version__"}

``````````

</details>


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


More information about the llvm-commits mailing list