-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Python wheels do not include license text #187
Comments
Presumably we do the right thing with pydantic-core. What do we do there? |
Hmm, let’s see. For
The result of
For
The result of
If I add a symbolic link to the top-level license file (working in
If I also add So adding the |
cc @messense, possible |
We've run into this issue while building jiter wheels for the RISE Python Packaging project. For now, what I've done is had our CI scripts patch the project by adding a symlink of the LICENSE file into crates/jiter-python/ and then add the following to
There may be a better way to do this directly with maturin or another configuration step that I'm not aware of. EDIT: for clarification, we're invoking the build step with:
@musicinmybrain maybe this workaround will help you? |
@threexc: Thank you for describing your workaround. We’re currently using a similar workaround in Fedora, although the details are a little different:
This all works adequately downstream, but I had hoped to be able to suggest a general fix, and this has proved surprisingly difficult. By the way, since you’re working on the RISC-V software ecosystem, you might be interested to know that progress toward fully supporting RISC-V in Fedora has been coming along nicely. |
The chosen
MIT
license says,The license text is included in the sdists, semi-accidentally, as part of the bundled
jiter
crate sources, but there is no top-levelLICENSE
file.The license text is not included in the bdist/wheel at all:
I would normally offer a PR, but I’m not quite sure of the ideal way to make this work with
maturin
involved.The text was updated successfully, but these errors were encountered: