Commit 5718074
committed
pyproject: switch to PEP 639 license metadata
Use a SPDX license expression to declare our licensing, add links to our
license files, and drop the deprecated license Trove classifier.
Without this change, setuptools throws large deprecation warnings claiming
that support for the old syntax will be removed on 2026-Feb-18. However,
the new syntax for project.license requires setuptools >= 77, so this
change breaks compatibility with setuptools 61-76. Users installing from
source will be unaffected because the build frontend automatically updates
setuptools if required, but Linux distro packaging disallows such updates,
so this change breaks package builds for many still-supported distro
versions. To build with older setuptools, distros will need to patch out
the project.license field and reduce the build-system.requires dependency.
Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>1 parent 4632262 commit 5718074
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
0 commit comments