Open
Description
This warning when building the package for release:
_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
Is eliminated by change:
license = { file = "LICENSE" }
to
license = "MIT"
This change is not backwards compatible with Python 3.8, however, so it cannot be made until we drop support for that (or modify CI build validation as a workaround). We have until Feb 18, 2026 to resolve the issue properly, pin back setuptools
, or other simple solutions. Not a high priority at the moment, just logging so the timeline is documented.
Metadata
Metadata
Assignees
Projects
Status
Triage