License: surface bundled JS dependencies in wheel's LICENSE rather than only the webpack-generated LICENSE.txt
Raised by Jarek Potiuk during the 0.42.0-incubating RC3 PPMC review. Non-blocking for the release.
Issue
The wheel ships the built React UI under burr/tracking/server/build/. That bundle (~1.7 MB total) embeds many third-party npm packages (React, react-router, lodash, the Magic UI runtime deps, etc.). Their license terms are documented in burr/tracking/server/build/static/js/main.<hash>.js.LICENSE.txt — which is webpack's auto-generated comment-banner aggregation.
That file is technically present and machine-readable, but it's not surfaced anywhere a typical license auditor would look: the wheel's top-level LICENSE-wheel does not reference it, and there's no dist-info/licenses/ entry for the bundled deps.
What's expected for ASF wheels
Apache release policy expects all bundled dependencies to be enumerated in the project's LICENSE / NOTICE in some form, even if the underlying license file is shipped separately. The current state passes RAT (we exclude *.js), but is fragile to a strict licensing review.
Suggested fix
One of:
- Have the release script copy
burr/tracking/server/build/static/js/main.*.js.LICENSE.txtintodist-info/licenses/LICENSE-bundled-js.txtduring wheel build, AND add a one-line pointer inLICENSE-wheelpointing readers to that file. - Pre-process the webpack output to extract a deduplicated, sorted, top-level
LICENSE-bundled-js.txtthat's appended toLICENSE-wheeldirectly. - Vendor a static
LICENSE-bundled-js.txtlisting the npm deps + their licenses, and verify it stays in sync via CI.
Option 1 is the lowest-effort and survives webpack hash changes automatically.
References
- PPMC vote thread: https://www.mail-archive.com/[email protected]/msg00127.html
- The auto-generated file in question:
burr/tracking/server/build/static/js/main.<hash>.js.LICENSE.txt(present in every wheel build)
Please assign it to me
@hussain-s, this issue has been inactive for 17 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).
Removing assignment from @hussain-s after 38 days of inactivity (per the assignment policy).
Feel free to comment if you want to pick this back up or if someone else wants to take it.
I’m taking this over after the previous assignment expired. I’ll surface the generated webpack license notices through the standard wheel license directory and add release-verification coverage.
I am working on it. My previous PR was merged recently which was a blocker for this one.
Resolved in #868