Skip to content

chore(pyproject.toml): update to use license-files#133

Merged
dicej merged 1 commit intospinframework:mainfrom
vdice:chore/update-pyproject-license
Apr 3, 2026
Merged

chore(pyproject.toml): update to use license-files#133
dicej merged 1 commit intospinframework:mainfrom
vdice:chore/update-pyproject-license

Conversation

@vdice
Copy link
Copy Markdown
Contributor

@vdice vdice commented Apr 3, 2026

In recent CI runs (eg on main), I've noticed:

/tmp/build-env-yn8isllg/lib/python3.12/site-packages/setuptools/config/_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 2027-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.
        ********************************************************************************

!!
  corresp(dist, value, root_dir)

Hence this PR, updating to use license-files.

Signed-off-by: Vaughn Dice <vdice@akamai.com>
@vdice vdice requested review from dicej and karthik2804 April 3, 2026 21:09
@dicej dicej merged commit 8686e94 into spinframework:main Apr 3, 2026
2 checks passed
@vdice vdice deleted the chore/update-pyproject-license branch April 3, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants