Skip to content

Conversation

@stephen-huan
Copy link

This PR

Remove deprecated classifiers, specify gplv2+

After PEP 639 the license field in pyproject.toml is no longer a table but a SPDX Expression containing a License Identifier. This fixes the following warning.

********************************************************************************
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.
********************************************************************************

In addition, be more consistent about the license being GPL v2.0 or later (as opposed to v2 only).

  • I've read the DCO.
  • I've read the Coding Guidelines
  • The relevant informations about the changes stands in the commit message, not here in the message of the pull request.
  • Code changes follow the style of the files they change.
  • Code is tested (provide details).

References

Additional information

After PEP 639 the `license` field in pyproject.toml is
no longer a table but a SPDX Expression containing a
License Identifier. This fixes the following warning.

********************************************************************************
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.
********************************************************************************

In addition, be more consistent about the license
being GPL v2.0 or later (as opposed to v2 only).

Signed-off-by: Stephen Huan <stephen.huan@cgdct.moe>
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.

1 participant