Skip to content

chore: remove deprecated license classifier from pyproject.toml#600

Closed
TheAbMehta wants to merge 1 commit intojd:mainfrom
TheAbMehta:fix/remove-deprecated-license-classifier
Closed

chore: remove deprecated license classifier from pyproject.toml#600
TheAbMehta wants to merge 1 commit intojd:mainfrom
TheAbMehta:fix/remove-deprecated-license-classifier

Conversation

@TheAbMehta
Copy link

@TheAbMehta TheAbMehta commented Feb 21, 2026

Summary

Remove the redundant License :: OSI Approved :: Apache Software License classifier from pyproject.toml.

Details

The project already declares license = "Apache-2.0" as a SPDX license expression in the [project] table. Starting with setuptools 77.0.0, having both a SPDX license expression and a legacy License :: classifier triggers a SetuptoolsDeprecationWarning:

SetuptoolsDeprecationWarning: License classifiers are deprecated.
Please consider removing the following classifiers in favor of a SPDX license expression:
    License :: OSI Approved :: Apache Software License

Since the SPDX expression is the modern standard (PEP 639), this PR removes the legacy classifier to silence the warning.

Closes #523

Disclosure

This PR was authored with the assistance of Claude (LLM) to help understand the codebase and structure the implementation and description.

The SPDX license expression `license = "Apache-2.0"` is already set in
[project]. setuptools >= 77.0.0 warns when both a SPDX license expression
and a legacy `License ::` classifier are present, because the classifier
is redundant and deprecated (PEP 639).

Remove the classifier to silence the deprecation warning.

Closes #523
@TheAbMehta TheAbMehta closed this Feb 22, 2026
@TheAbMehta TheAbMehta deleted the fix/remove-deprecated-license-classifier branch February 22, 2026 04:54
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.

setuptools deprecation warnings

1 participant