fix: declare MIT in pyproject to match the LICENSE file - #38
Merged
Merged
Conversation
The repository has shipped with an MIT LICENSE file, but pyproject.toml declared AGPL v3 in both the license field and the trove classifier, so PyPI and dependency scanners report a license the code was never released under. Align the metadata with the LICENSE file. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KjRpEocCvnxGUSkFivgnhk
Contributor
|
Contributor
|
ritwik-g
approved these changes
Sep 17, 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.
What
pyproject.tomldeclaredAGPL v3in thelicensefield and carried the AGPL trove classifier, while the repository'sLICENSEfile has always been MIT (Copyright 2024-2025 Zipstack). PyPI and license scanners therefore report AGPL for a package released under MIT — a blocker for users whose dependency policies reject AGPL outright.Change
license = { text = "AGPL v3" }→license = { text = "MIT" }License :: OSI Approved :: GNU Affero General Public License v3→License :: OSI Approved :: MIT LicenseMetadata-only; no code or LICENSE change. The corrected metadata reaches PyPI with the next release.
Note
The MIT LICENSE file is taken as the intent, matching unstract-python-client and unstract-cli. If AGPL was ever the intent instead, the fix goes the other way (replace the LICENSE file) and re-releasing under AGPL needs a deliberate decision — flagging for @shuveb / @harishankar-zipstack / @ritwik-g to confirm the direction.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KjRpEocCvnxGUSkFivgnhk