[llvm] [MLGO] Use SPDX License Expression (PR #147646)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 21:10:50 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/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.
>From 5d741dcf6aeb2c034ae85bbc3b0a30c3cdd67fe1 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Wed, 9 Jul 2025 04:09:17 +0000
Subject: [PATCH] [MLGO] Use SPDX License Expression
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.
---
llvm/utils/mlgo-utils/pyproject.toml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
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