chore(license): add Apache-2.0 and declare it in all six distributions - #296
Merged
Conversation
The repo has been public with no LICENSE, which is all-rights-reserved: nobody may legally fork or contribute (#277). Apache-2.0 over AGPL-3.0 and MIT for the patent grant and the warranty disclaimer -- reasoning recorded in CONTRIBUTING.md, and pinned by tests/test_licensing.py so a seventh distribution cannot ship unlicensed.
This was referenced Aug 16, 2026
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.
Closes #277
The repo is public but legally all-rights-reserved: no
LICENSEfile means nobody mayfork, modify, or contribute. This blocks every remaining open-source phase.
What
LICENSEat the root: canonical Apache-2.0 (fetched from GitHub's license API, notretyped), appendix filled with
Copyright 2026 CodeGate Software.license = "Apache-2.0"(PEP 639 SPDX form) in all sixpyproject.tomls. Verifiedagainst a real build: both the root and a sub-package wheel now carry
License-Expression: Apache-2.0in METADATA — the field license scanners read, whichthe deprecated table form does not produce.
CONTRIBUTING.md: why Apache-2.0 over AGPL-3.0 and MIT (patent grant + warrantydisclaimer matter for software that moves money), recorded so the decision is
challengeable in place.
tests/test_licensing.py(written first, red, then green): canonical banner + END OFTERMS marker, filled appendix with no
[yyyy]template left, SPDX licence in everydistribution, decision recorded. Same repo-hygiene style as
test_packaging.py.Acceptance from #277
LICENSEat repo root with the chosen text, copyright line, and yearpyproject.tomldeclares the same licence (all six distributions)gh repo view --json licenseInforeports it — verified post-merge (GitHub detectsthe file on
main; will confirm and tick)CONTRIBUTING.mdGates:
pytest2774 passed / 1 skipped,ruff checkclean,mypyclean.Until this merges: do not accept external pull requests — the issue's warning holds;
nothing changes for contributors until this is on
main.