-
Notifications
You must be signed in to change notification settings - Fork 23.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LICENSE file in the wheel package references files that are not included in the wheel #81181
Comments
Possible solutions could be
|
Probably including all individual files in the I believe Maybe try to add |
Adding In light of the complications, perhaps it would be better to concatenate all the licenses into the
|
Always more bugs to run into:(
I agree |
hmm. The test in |
Summary: Fixes #81181 by creating a temporary LICENCE file that has all the third-party licenses concatenated together when creating a wheel. Also update the `third_party/LICENSES_BUNDLED.txt` file. The `third_party/LICENSES_BUNDLED.txt` file is supposed to be tested via `tests/test_license.py`, but the test is not running? Pull Request resolved: #81500 Approved by: https://github.com/rgommers, https://github.com/seemethere Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/37474a54de48818c07d014fc62595e501c6c7bd3 Reviewed By: jeanschmidt Differential Revision: D37951764 Pulled By: jeanschmidt fbshipit-source-id: 5abbcd91a498d65df0513f03712d86fd255d3107
🐛 Describe the bug
PR #50745 automatically creates a third_party/LICENSES_BUNDLED.txt which has text like
but the
third_party
directory is not included in the wheel/sdist so the license text is incomplete. This came up in conda-forge/pytorch-cpu-feedstock#121. There should be some file with all theLICENSE
s involved.xref @rgommers
Versions
HEAD and any release since PR #50745
cc @ezyang @seemethere @malfet
The text was updated successfully, but these errors were encountered: