Skip to content

Conversation

@cleemullins
Copy link
Collaborator

@cleemullins cleemullins commented Oct 9, 2025

Fixes #160

According to PEP 639 (Improving License Clarity with Better Package Metadata):

The old License :: OSI Approved :: MIT License classifier is deprecated
Modern packages should use the license field with SPDX identifiers
This provides better machine-readable license information
PyPI and packaging tools now prefer this format

As described in #160, this directly addresses the build warnings that look like:

/tmp/build-env-cdo14fs1/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

    ********************************************************************************
    Please consider removing the following classifiers in favor of a SPDX license expression:

    License :: OSI Approved :: MIT License

    See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
    ********************************************************************************

!!

@cleemullins cleemullins self-assigned this Oct 9, 2025
@cleemullins cleemullins added the P2 label Oct 9, 2025
@cleemullins cleemullins requested a review from axelsrz October 9, 2025 21:46
@cleemullins cleemullins enabled auto-merge (squash) October 10, 2025 21:44
@cleemullins cleemullins merged commit 45bce82 into main Oct 10, 2025
6 of 7 checks passed
@cleemullins cleemullins deleted the users/chmullins/FixLicenseWarnings branch October 10, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve License model build warnings

3 participants