Repository navigation
Add MIT license - #220
Add MIT license#220
Conversation
Code: MIT. Original text and figures: CC BY 4.0 (README). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Reviewed this with a fresh pass, checking the licence-compatibility question independently rather than taking the scan on trust — it is the one thing here with consequences for the five downstream repos. The core claim holds. MIT is correct. I scanned the whole dependency closure, not just the direct list: everything resolves to BSD / MIT / Apache-2.0 apart from The LICENSE text is verbatim OSI MIT, and the CC BY 4.0 split in the README is clean — disjoint subject matter, MIT scoped to "the Software", with a sensible third-party carve-out. To doBefore merging
Worth doing in the same PR
Optional
Not caused by this PRThe red Lint check is pre-existing. I checked the base commit rather than assuming: |
Set license = "MIT" and license-files = ["LICENSE"] (PEP 639), so the wheel carries License-Expression: MIT and the LICENSE file. setuptools reads license expressions from version 77, so require it; it also rejects "License ::" classifiers beside an expression, so the classifiers list leaves the license out. Extend the copyright years to 2025-2026, note that the matching extra installs rpy2 under GPL-2.0-or-later, and add the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The paper notebook imports policyengine-us and policyengine-core, which carry AGPL-3.0, so the license section says so beside the rpy2 note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PyPI's project page shows the README, and a relative link to LICENSE there would point into pypi.org instead of at the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This repository had no license, so copyright law reserved all rights in its contents to their authors. With this PR, PolicyEngine releases the code under the MIT License and the repository's original text and figures under CC BY 4.0, in
LICENSEand a README section. Closes #197.On 2026-09-17 we opened license PRs like this one across the PolicyEngine, Thesis Institute, UBI Center and Cosilico repositories, with MIT for code and CC BY 4.0 for original text and figures. We kept AGPL-3.0 for the model packages that derive from OpenFisca.
Neither
uv.locknor any other dependency manifest on the default branch names a package that PolicyEngine licenses under AGPL-3.0. The paper notebookpaper/imputing-from-scf-to-cps.ipynbimports two such packages, policyengine-us and policyengine-core.Before PolicyEngine archives microimpute, I added:
changelog.d/license-mit.added.md, so merging publishes a minor version with the license to PyPI.pyproject.toml(license = "MIT"andlicense-files = ["LICENSE"]), with setuptools 77 or later as the build requirement.matchingextra installs rpy2, which its authors license under GPL-2.0-or-later, and that the paper notebook imports AGPL-3.0 packages.LICENSE, so the link also works on PyPI's project page.LICENSE.The README's license section covers
paper/as well, so I left the manuscript without a license line of its own.Contributors who object to these terms for their contributions can email hello@policyengine.org.
🤖 Generated with Claude Code