Update license metadata in pyproject.toml according to PEP 639#12807
Update license metadata in pyproject.toml according to PEP 639#12807
pyproject.toml according to PEP 639#12807Conversation
|
I think we want to leave the setuptools version alone (for 3.7 support) and just update the metadata. People on old setuptools will get marginally wrong stuff, and I guess that's ok. |
Signed-off-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
429cd7c to
eb99821
Compare
|
ah but I think that it will cause their builds to outright fail:
(from https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license) |
|
Actually, why is setuptools even processing this? We use maturin for builidng the package? |
it seems to originate from this |
|
🤦 the warning is not coming from
|
|
heh. well, probably good to do this cleanup either way, since maturin appears to handle it properly in all versions. |
setuptoolsnow warns when building a project that uses license classifiers:This is due to PEP 639, which changes the way the licenses (and their files) are specified in the project metadata (see also the packaging guide here).
This is supported since version77.0.3ofsetuptools.This PR changes the metadata accordingly,
and bumps the minimum version ofsetuptoolsto ensure it's supported.cc @woodruffw @alex