You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move pyproject license metadata to the PEP 639 form before setuptools enforces it (2027-02-18) #77
Building the wheel with setuptools 84.2.1 (the floor Dependabot #76 raises the build requirement to) succeeds, but setuptools warns twice:
project.license as a TOML table is deprecated. pyproject.toml has license = { file = "LICENSE" }.
License classifiers are deprecated. pyproject.toml lists License :: OSI Approved :: MIT License.
setuptools states: "By 2027-Feb-18, you need to update your project and remove deprecated calls." After that date a newer setuptools can refuse the build.
Fix: switch to the PEP 639 fields, license = "MIT" and license-files = ["LICENSE"], and drop the license classifier. Then confirm that python -m build --wheel runs with no deprecation warnings and that the wheel still includes LICENSE under dist-info/licenses/.
Repro:python -m build --wheel --no-isolation in a venv with setuptools==84.2.1 and build installed.
Activity