Skip to content
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

Document packages bundled inside wheels #656

Open
stefan6419846 opened this issue Oct 30, 2023 · 2 comments
Open

Document packages bundled inside wheels #656

stefan6419846 opened this issue Oct 30, 2023 · 2 comments

Comments

@stefan6419846
Copy link

The binary wheels on PyPI currently ship with a shared object compiled using Rust which seems to have some external dependencies: https://github.com/pyca/bcrypt/blob/4.0.1/src/_bcrypt/Cargo.lock

For now, the corresponding packages including their version and licenses are not documented inside the bcrypt package itself, thus requiring additional documentation/modification work to ensure license compliance. For me not being a Rust developer, it is not really obvious whether the wasi and winapi dependencies actually are being included in the regular manylinux wheels or not for example.

It would be great to have the bcrypt packages/wheels to provide these information for the official builds.

@alex
Copy link
Member

alex commented Oct 31, 2023

What you're asking for is really an SBOM for wheels. Unfortunately there's no current specification or standard for these.

If and when there's an SBOM standard for wheels, we'll generate them. But we're not going to create our own ad-hoc thing for them.

@stefan6419846
Copy link
Author

Thanks for the answer. The usual situation I have seen with packages like matplotlib, scipy, opencv-python or Pillow is to have corresponding license files inside the source code and either integrate them into the main license file during the wheel build or to just ship secondary license files.

Relying on a SBOM standard for wheels might be a valid approach, but this will probably take some time until published, supported and included in the relevant packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants