Warning
python -m build emits SetuptoolsDeprecationWarnings on every build:
`project.license` as a TOML table is deprecated
License classifiers are deprecated
Deadline stated by setuptools: 2027-02-18 — builds break after that.
Fix
In pyproject.toml:
[project]
license = "MIT"
license-files = ["LICENSE"]
And remove "License :: OSI Approved :: MIT License" from classifiers.
Acceptance
Warning
python -m buildemits SetuptoolsDeprecationWarnings on every build:Deadline stated by setuptools: 2027-02-18 — builds break after that.
Fix
In
pyproject.toml:And remove
"License :: OSI Approved :: MIT License"fromclassifiers.Acceptance
python -m buildproduces zero deprecation warnings