Skip to content

fix(installer): ship the Apache-2.0 LICENSE in the wheel and sdist - #10

Merged
manykarim merged 1 commit into
mainfrom
fix/installer-license
Nov 13, 2026
Merged

manykarim merged 1 commit into
mainfrom
fix/installer-license

Conversation

@manykarim

Copy link
Copy Markdown
Collaborator

Summary

The installer's wheel and sdist didn't include a license file; the metadata only said License: Apache-2.0. This copies the repository's LICENSE to installer/LICENSE:

  • hatchling ships it as dist-info/licenses/LICENSE in the wheel and LICENSE in the sdist;
  • the metadata gains License-File: LICENSE.

A test keeps the two copies identical, and the installed-wheel test checks that the license is in the wheel.

This is also the commit the robotframework-plugins-v2026.11.0.dev1 tag will point to. The first tag sat on a [skip ci] merge commit, so GitHub skipped the release workflow; nothing was built or published, and that tag has been deleted.

Test plan

  • Local build from main plus this change: build-packages.sh --clean --check and twine check pass, and the license is in both packages
  • tests/installer/test_assets.py and test_bundle_api.py pass (22)
  • CI on this PR

🤖 Generated with Claude Code

https://claude.ai/code/session_01FHEmzL3ErAhGQykKWDx2wP

installer/LICENSE is a copy of the repository's LICENSE; hatchling puts it
in dist-info/licenses/ and the sdist. A test keeps the copies identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FHEmzL3ErAhGQykKWDx2wP
@manykarim
manykarim merged commit f4e2a26 into main Nov 13, 2026
28 checks passed
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