burr icon indicating copy to clipboard operation
burr copied to clipboard

License: enumerate bundled MIT UI components in sdist PKG-INFO License-File

Open elijahbenizzy opened this issue 6 months ago • 7 comments

Raised by Jarek Potiuk during the 0.42.0-incubating RC3 PPMC review. Non-blocking for the release.

Issue

The sdist tarball's PKG-INFO License-File metadata only references LICENSE-wheel, NOTICE, and DISCLAIMER. It does not separately enumerate the third-party MIT-licensed UI components in website/src/components/ui/ (Magic UI + shadcn).

The components ARE properly attributed in the LICENSE file (Apache 2.0 + appended MIT notices), and our .rat-excludes covers them. So this is a metadata-completeness gap, not a licensing gap.

What downstream tooling expects

Some downstream consumers (e.g. PyPI license scanners, package indexers, Linux distro packagers) read License-File to enumerate every distinct license file shipped with the artifact. Today they would see only Apache 2.0 + the project NOTICE/DISCLAIMER and might miss that there are MIT components inside.

Suggested fix

Either:

  • Split out the MIT notices for the UI components into a separate file (e.g. LICENSE-third-party-ui) and add it to pyproject.toml's license-files list
  • Or add the existing combined LICENSE file to the sdist license-files list (it already contains the Apache 2.0 text + MIT appendices)

The latter is simpler. The former is more discoverable.

References

  • PPMC vote thread: https://www.mail-archive.com/[email protected]/msg00127.html
  • PR that established the current MIT attribution structure: #745

elijahbenizzy avatar May 04 '26 16:05 elijahbenizzy

@elijahbenizzy I can work on this, please assign it to me

Haricharanpanjwani avatar Jun 04 '26 05:06 Haricharanpanjwani

@Haricharanpanjwani, this issue has been inactive for 15 days. Are you still working on it? Drop a comment to let us know.

If there is no update within 7 days, the assignment will be removed so someone else can pick it up (per the assignment policy).

github-actions[bot] avatar Jul 08 '26 09:07 github-actions[bot]

@Haricharanpanjwani, this issue has been inactive for 15 days. Are you still working on it? Drop a comment to let us know.

If there is no update within 7 days, the assignment will be removed so someone else can pick it up (per the assignment policy).

I am working on it, will have the PR soon

Haricharanpanjwani avatar Jul 08 '26 23:07 Haricharanpanjwani

@andreahlert @elijahbenizzy can you please review the PR https://github.com/apache/burr/pull/835?

Haricharanpanjwani avatar Jul 09 '26 06:07 Haricharanpanjwani

@Haricharanpanjwani, this issue has been inactive for 20 days. Are you still working on it? Drop a comment to let us know.

If there is no update within 7 days, the assignment will be removed so someone else can pick it up (per the assignment policy).

github-actions[bot] avatar Jul 29 '26 10:07 github-actions[bot]

@Haricharanpanjwani, this issue has been inactive for 20 days. Are you still working on it? Drop a comment to let us know.

If there is no update within 7 days, the assignment will be removed so someone else can pick it up (per the assignment policy).

I am waiting for review on PR https://github.com/apache/burr/pull/835 from @andreahlert @elijahbenizzy

Haricharanpanjwani avatar Aug 01 '26 14:08 Haricharanpanjwani

Sorry, I missed this completely.

This has been resolved indirectly by #858, which excludes website/** from the sdist. Since the referenced MIT-licensed UI components are no longer packaged there, they no longer need to be enumerated in the sdist’s License-File metadata. Closing as superseded.

jernejfrank avatar Aug 13 '26 08:08 jernejfrank