Skip to content

Remove redundant license classifier from package metadata - #1260

Merged
alex merged 2 commits into
pyca:mainfrom
Gonghan-Princess:codex/drop-redundant-license-classifier
Sep 25, 2026
Merged

alex merged 2 commits into
pyca:mainfrom
Gonghan-Princess:codex/drop-redundant-license-classifier

Conversation

@Gonghan-Princess

Copy link
Copy Markdown
Contributor

Closes #1252.

Remove the redundant License :: OSI Approved :: Apache Software License classifier while retaining the existing project.license value and minimum setuptools requirement. This avoids an extra free-text license entry in SBOM consumers without changing the declared Apache-2.0 license.

Verification: built source distributions before and after with setuptools 84.0.0, then inspected PKG-INFO. Before: License: Apache-2.0 plus the old classifier. After: License: Apache-2.0, no license classifier, and no classifier deprecation warning. The source distribution build passed in both states. A wheel build could not run here because the Windows environment lacks a Rust compiler; no wheel/test-suite pass is claimed.

The code and PR text were AI-assisted; the metadata diff and build outputs were checked before submission.

Comment thread CHANGELOG.rst Outdated
Unreleased
----------

* Removed the redundant Apache 2.0 license classifier from package metadata.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't need a changelog entry

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the changelog entry in a658fa4. The PR now changes only the license classifier in pyproject.toml; the sdist metadata and rollback checks still pass.

@alex
alex merged commit 59b41aa into pyca:main Sep 25, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Drop the versionless License :: classifier now that license is a valid SPDX expression

2 participants