Repository navigation
fix: align package metadata with Apache-2.0 license - #197
Merged
Merged
Conversation
The LICENSE file is Apache-2.0, but PyPI/pyproject classifiers and packaging metadata still said MIT. Update the license field, trove classifier, README, docs, nfpm configs, and related mentions so published metadata matches the actual license. Leave LICENSE unchanged. Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
PyPI /
pyproject.tomlmetadata incorrectly listed MIT while theLICENSEfile (and the owner) confirm Apache-2.0.Description
The
LICENSEfile is Apache-2.0 and is left unchanged. This PR corrects published and in-repo metadata so it matches:pyproject.toml:license = {text = "Apache-2.0"}and trove classifierLicense :: OSI Approved :: Apache Software LicenseExample VHS tapes that type
mit.txtas sample remote content are unchanged; those are demos of fetching a file, not project license claims.Verification
python -m buildsucceeded (structkit-3.3.0.tar.gzandstructkit-3.3.0-py3-none-any.whl). WheelMETADATAcontains:License: Apache-2.0Classifier: License :: OSI Approved :: Apache Software LicenseLicense-File: LICENSEsetuptools emits deprecation warnings that table-form
project.licenseand license classifiers are going away in favor of a SPDX string; the requested classifier is still present so PyPI metadata stays explicit.Checklist
python -m buildmetadata check)