Commit d873500
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 shows large deprecation warnings saying
that support for the old project.license syntax will be removed on
2026-Feb-18. However, the new syntax 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 <[email protected]>1 parent 5230a91 commit d873500
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 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
0 commit comments