Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated license classifier (PEP 639) #170

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Mar 20, 2025

License classifiers are deprecated post-PEP 639.
With the implementation of the PEP now this causes a warning,
so this PR removes the classifier.

Since setuptools automatically picks up LICENSE* files, the license information is already included in the distribution.

A possible additional step is to add a SPDX license expression like license = "MIT" to the [project] table in PyPI.

This PR does not implement this additional step because my understanding is that not all projects can derive accurate SPDX license expressions. For example, setuptools, as far as I understand, would need a very complex compound SPDX expression to cope with the vendored packages: MIT AND APACHE-2 AND LGPL-3.0-or-later AND PSF-2.0.... Moreover this expression would need reviewing/updating everytime the vendored dependencies are updated.

@jaraco jaraco merged commit ad84110 into jaraco:main Mar 21, 2025
13 of 15 checks passed
@jaraco
Copy link
Owner

jaraco commented Mar 21, 2025

In 4e3863c, I also replaced the license file with the SPDX identifier.

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