Skip to content

Name only the licence of data copied whole in the licence expression - #1382

Merged
derek73 merged 3 commits into
masterfrom
fix/licence-expression-measured-data
Nov 13, 2026
Merged

derek73 merged 3 commits into
masterfrom
fix/licence-expression-measured-data

Conversation

@derek73

@derek73 derek73 commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

This applies decisions/shipped-data-licences' FACTS WE MEASURE rule (#1370) to the question it left open: which licences the expression should name.

  • license is now LGPL-2.1-or-later AND Apache-2.0. CC-BY-4.0 and OGDL-Taiwan-1.0 leave the expression. The INE given-name lists (locales.ES, ES_AR) are a filter of the project's own over a census's counts, and locales.ZH's Taiwan-ranked surnames are a selection of its own at a measured cutoff, so neither copies its source's list. Both sources stay credited in their modules and in README.rst's License section. The Apache licence stays, for the nicknames list's familiar forms, a list copied whole.
  • tests/v2/test_licensing.py: _ATTRIBUTION_ONLY becomes _CREDITED, sources credited in their module and in README's License section but not named in the expression. The expression must equal the LGPL plus the licence files' terms.
  • AGENTS.md's "Shipping data from a new source" paragraph and the release-log bullet now say the same.
  • SUFFIX_ACRONYMS no longer appears in the licence record. A list of post-nominal abbreviations raises no licensing question.

Test plan

  • uv run pytest: 47,322 passed on the first commit; the doc and licence tests on the last
  • uv run ruff check; uv run mypy on the test
  • python -m doctest README.rst
  • Negative controls:
    • putting CC-BY-4.0 back into license fails 2 tests;
    • removing a credited licence name from README's License section fails 1.
  • uv build: License-Expression: LGPL-2.1-or-later AND Apache-2.0, licence files LICENSE, AUTHORS, LICENSE-nicknames

Review

  • design-docs-reviewer, two rounds: the first round's findings were fixed in 14b277d, and that fix commit was reviewed in turn.
    • Fixed: entry conventions (head notes, the SUPERSEDES line), a Standing line contradicting the change, the README credit check, AGENTS.md's history sentence.
    • The SUFFIX_ACRONYMS findings from both rounds are moot: that text was removed in the last commit.

🤖 Generated with Claude Code

The INE given names and the Taiwan-ranked surnames are lists the
project measured on its sources, so by decisions/shipped-data-licences'
FACTS WE MEASURE they are its own: CC-BY-4.0 and OGDL-Taiwan-1.0 leave
the expression, which is now LGPL-2.1-or-later AND Apache-2.0, and the
sources stay credited in their modules and README's License section.
The question left about SUFFIX_ACRONYMS' Wikipedia origin is dropped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@derek73 derek73 added this to the 3.1 milestone Nov 13, 2026
@derek73 derek73 added docs Documentation fixes and updates tests vocabulary Fixed by a word-list entry: per-word vocabulary and language packs labels Nov 13, 2026
@derek73 derek73 self-assigned this Nov 13, 2026
derek73 and others added 2 commits November 13, 2026 02:06
- Rest the SUFFIX_ACRONYMS drop on the list itself (an alphabetical
  listing of every designation in use, facts each), not on revision:
  497 of the 518 entries af5bdab imported still ship. Correct the
  #1370 entry's "reviewed and pruned word by word" in place.
- Mark THE LICENCE EXPRESSION superseded in part and FACTS WE
  MEASURE's Open question settled with head notes, and give the new
  entry a SUPERSEDES line and #1382, instead of editing the Open
  bullet's body.
- Widen Standing line 2 to measured lists whose words are copied.
- Hold each credited source's licence and module to README's License
  section, which the expression no longer did.
- Say in AGENTS.md that the INE and Taiwan lists left the expression.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A list of post-nominal abbreviations raises no licensing question, so
decisions/shipped-data-licences no longer mentions it: the sentence in
the #1370 entry's Left out bullet, the Dropped bullet and the head and
SUPERSEDES clauses that named it are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@derek73
derek73 merged commit 69d5356 into master Nov 13, 2026
14 checks passed
@derek73
derek73 deleted the fix/licence-expression-measured-data branch November 13, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation fixes and updates tests vocabulary Fixed by a word-list entry: per-word vocabulary and language packs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant