Skip to content

license: relicense from MIT to Apache License 2.0 - #60

Merged
heidihelena merged 2 commits into
mainfrom
claude/jolly-mccarthy-wm4uao
Jul 12, 2026
Merged

license: relicense from MIT to Apache License 2.0#60
heidihelena merged 2 commits into
mainfrom
claude/jolly-mccarthy-wm4uao

Conversation

@heidihelena

Copy link
Copy Markdown
Owner

Summary

Relicenses the project from MIT to the Apache License 2.0 going forward. As the sole copyright holder you can do this freely; no third-party consent is required. Apache-2.0 keeps the same permissive spirit as MIT but adds an explicit patent grant and a trademark clause.

Changes

  • LICENSE — replaced MIT text with the full Apache-2.0 text (copyright 2024–2026 Heidi Andersén).
  • NOTICE (new) — attribution file (Apache convention) that also records that releases up to and including 0.4.1 were MIT.
  • CITATION.cfflicense: Apache-2.0.
  • README.md — license badge, the "Apache-2.0 licensed" blurb, and the License section (with a note that ≤0.4.1 stays MIT).
  • pyproject.toml — unchanged mechanism (license = { file = "LICENSE" }); the embedded license is now Apache-2.0. Verified: python -m build + twine check pass; wheel metadata shows License: Apache License.
  • R packageDESCRIPTIONLicense: Apache License (>= 2) (CRAN's canonical form); removed the MIT LICENSE template file (Apache is a standard CRAN license, so no accompanying file is needed).

Important scope note

Already-published artifacts remain MIT. PyPI vahtian-epinet 0.4.1 shipped under MIT and stays available under those terms — a published version's license can't be changed retroactively. Apache-2.0 applies from 0.4.2 onward (the current unreleased version).

Validation

  • python -m buildvahtian_epinet-0.4.2 sdist + wheel; twine check PASSED.
  • CITATION.cff parses as valid YAML.
  • R-CMD-check (runs on this PR since DESCRIPTION changed) will validate the Apache License (>= 2) string.

Left as a draft — a license change should be your explicit call to merge.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 12, 2026 14:36
Relicense the project (going forward) from MIT to Apache-2.0, which adds an
explicit patent grant and trademark clause. Sole copyright holder, so no
third-party consent required.

- LICENSE: full Apache-2.0 text (copyright 2024-2026 Heidi Andersen)
- NOTICE: attribution + note that releases up to 0.4.1 remain MIT
- pyproject: license still resolved from the LICENSE file (now Apache-2.0)
- CITATION.cff: license Apache-2.0
- README: badge, blurb, and License section updated (+ MIT-history note)
- R package: DESCRIPTION -> 'Apache License (>= 2)'; drop the MIT LICENSE
  template file (Apache is a standard CRAN license, no file needed)

Already-published artifacts (PyPI vahtian-epinet 0.4.1) shipped under MIT and
remain available under those terms; Apache-2.0 applies from 0.4.2 onward.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0149fLyfQuAaxNRfoPGoyf2x
Prepend a two-line SPDX header (SPDX-License-Identifier: Apache-2.0 + copyright)
to the 22 vahtian/epinet/*.py modules and the 4 r/vahtian.epinet/R/*.R files,
above module docstrings / from __future__ imports. ruff passes; imports and
build unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0149fLyfQuAaxNRfoPGoyf2x
@heidihelena
heidihelena marked this pull request as ready for review July 12, 2026 16:04
@heidihelena
heidihelena merged commit 43fc154 into main Jul 12, 2026
5 checks passed
@heidihelena
heidihelena deleted the claude/jolly-mccarthy-wm4uao branch July 12, 2026 16:05
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.

2 participants