Skip to content

chore: declare Apache-2.0 license + LICENSE + NOTICE#1

Merged
milysun merged 1 commit into
multilingualfrom
chore/relicense-apache-2.0
May 22, 2026
Merged

chore: declare Apache-2.0 license + LICENSE + NOTICE#1
milysun merged 1 commit into
multilingualfrom
chore/relicense-apache-2.0

Conversation

@milysun

@milysun milysun commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

docworkspace had no licence metadata in pyproject.toml and no LICENSE / NOTICE files at repo root — the published v0.2.9 wheel ships with no License-Expression. This PR adds an Apache 2.0 declaration consistent with the LDaCA Wordflow bundle relicense.

Companion PRs:

All four are draft / for discussion ahead of the upcoming workshop. They land together so the bundle has a single, consistent licence story.

What changes

  • LICENSE — canonical Apache 2.0 text (202-line verbatim, vendored from a known-good Apache 2.0 dependency).
  • NOTICE — credits LDaCA + Sydney Informatics Hub jointly, attributes the LDaCA / ARDC / NCRIS infrastructure context, notes that docworkspace is also designed for standalone use in research pipelines + Jupyter notebooks, and asks researchers to cite LDaCA.
  • pyproject.toml — adds PEP 639 license = "Apache-2.0" + license-files = ["LICENSE", "NOTICE"], plus authors. Updated description to mention the LDaCA Wordflow context.
  • README.md — replaces the prior one-line "Part of LDaCA" placeholder with a proper licence + attribution block.

Branch policy

This PR targets multilingual (the active release line — same branch that v0.2.5 through v0.2.9 were tagged on). main is parked behind at v0.2.7.

Why Apache-2.0

Same rationale as the rest of the LDaCA Wordflow bundle (full discussion in the wordflow PR):

  • Explicit patent grant + clearer contributor terms vs. an undeclared / unclear licence.
  • All current docworkspace dependencies are permissive (Polars MIT/Apache-2.0 dual, polars-text relicensed to Apache-2.0 in the companion PR).
  • Consistent with the rest of the LDaCA Wordflow bundle.
  • ARDC's standard guidance favours permissive open-source with explicit attribution preservation.

Test plan

  • uv lock resolves cleanly.
  • CI run on this PR.
  • Land together with backend + wordflow-root + polars-text relicense PRs.
  • Cut a docworkspace 0.2.10 release so PyPI users see the licence.

Decisions to confirm before merging

  1. Joint copyright wording. Currently Copyright 2025-2026 Language Data Commons of Australia (LDaCA) + Copyright 2025-2026 Sydney Informatics Hub, The University of Sydney. Check this with whoever owns the IP arrangements at SIH / LDaCA.
  2. Year range. Currently 2025-2026 (matching the Wordflow bundle's start year). docworkspace itself started in early 2026; if you want a single-year 2026 instead, easy edit.

🤖 Generated with Claude Code

docworkspace had no licence metadata in pyproject.toml and no
LICENSE / NOTICE files at repo root — the published v0.2.9 wheel
ships with no License-Expression. This commit:

* Adds the canonical Apache 2.0 LICENSE text at repo root.
* Adds a NOTICE crediting LDaCA + Sydney Informatics Hub jointly,
  attributing the LDaCA / ARDC / NCRIS infrastructure context, and
  asking users to cite LDaCA when used in research.
* pyproject.toml: adds PEP 639 `license = "Apache-2.0"` +
  `license-files = ["LICENSE", "NOTICE"]`, plus `authors`. Updated
  `description` to mention the LDaCA Wordflow context for users
  browsing PyPI.
* README.md: replaces the prior one-line "Part of LDaCA" placeholder
  with a proper licence + attribution block.

Coordinated with the matching relicense work on ldaca-wordflow,
ldaca-wordflow-backend, and polars-text; intended to ship in the
next docworkspace release (0.2.10) so consumers see the licence in
their PyPI install.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@milysun milysun marked this pull request as ready for review May 22, 2026 02:36
@milysun milysun merged commit dbf9c01 into multilingual May 22, 2026
9 checks passed
@milysun milysun deleted the chore/relicense-apache-2.0 branch May 22, 2026 02:36
milysun added a commit that referenced this pull request May 22, 2026
The active docworkspace release line (`multilingual`, v0.2.8+) was
relicensed from no-licence-declared to Apache-2.0 in PR #1. This
back-port brings the same licence story to the parked `main` branch
(v0.2.7) so anyone checking out main from GitHub sees the licence
they would also see on PyPI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant