[llvm] 15e7753 - [MLGO] Use SPDX License Expression (#147646)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 21:17:31 PDT 2025


Author: Aiden Grossman
Date: 2025-07-08T21:17:27-07:00
New Revision: 15e7753ababb60f95489154a32c7824a5e6972f9

URL: https://github.com/llvm/llvm-project/commit/15e7753ababb60f95489154a32c7824a5e6972f9
DIFF: https://github.com/llvm/llvm-project/commit/15e7753ababb60f95489154a32c7824a5e6972f9.diff

LOG: [MLGO] Use SPDX License Expression (#147646)

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.

Added: 
    

Modified: 
    llvm/utils/mlgo-utils/pyproject.toml

Removed: 
    


################################################################################
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__"}


        


More information about the llvm-commits mailing list