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

Survey of Python wheel "repairing" tools #6

Open
4 tasks
sethmlarson opened this issue Nov 4, 2024 · 3 comments
Open
4 tasks

Survey of Python wheel "repairing" tools #6

sethmlarson opened this issue Nov 4, 2024 · 3 comments
Assignees

Comments

@sethmlarson
Copy link
Member

sethmlarson commented Nov 4, 2024

Tools that bundle software into wheels on behalf of users post-build, typically during continuous integration runs. The common tools that I've seen for this are:

  • auditwheel (manylinux, musllinux)
  • delocate (macOS)
  • delvewheel (Windows)
  • repairwheel (cross-platform CLI using the other three tools)

The toughest question for all of these tools are whether they can reliably find software identifiers that are relevant. Package URLs should be possible for manylinux, musllinux, and projects using Homebrew on macOS. Where software IDs aren't automatically findable, at least there is a "known-unknown" situation happening so consumers can dig deeper and potentially contribute back the missing information.

@sethmlarson sethmlarson self-assigned this Nov 4, 2024
@di
Copy link
Member

di commented Nov 11, 2024

at least there is a "known-unknown" situation happening so consumers can dig deeper and potentially contribute back the missing information.

Is this something SBOMs would explicitly have support for? I.e., "something was introduced but we don't have an identifier for it"

@sethmlarson
Copy link
Member Author

@di Yes SBOM standards today have support for known-unknowns. Calling out known-unknowns is required in some SBOM conformance standards like NTIA minimum elements.

@sethmlarson
Copy link
Member Author

I published some early results from a fork of auditwheel to record the software IDs of shared libraries, it seems to have worked fairly well: https://sethmlarson.dev/early-promising-results-with-sboms-and-python-packages

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

No branches or pull requests

2 participants