You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide PEP 770 SBOM files in generated wheels #1266
As OpenCV and this Python bindings heavily rely on native code either part of vendored directories or custom locations and provide a great range of configuration options, it would be great if the build process would generate suitable SBOM files.
This would greatly improve downstream license compliance handling, as the build process is the only reliable resource where this information can be generated from.
At the moment, a third-party license file is provided (which is nice), but it is not machine-readable, possibly lacks relevant details and/or includes components which are not even active in the current build, like when disabling FFmpeg or the GUI, or when we only look at a Linux-specific wheels where we should not have to care about Windows- or Apple-only dependencies.
With PEP 770, a corresponding standard has been established for shipping the SBOM files as part of the metadata directory inside wheel files.
Activity
asmorkalov commentedon Nov 18, 2026
I see
sbomsfolder in linux packages in 5.1.0 release. It's automatically generated after #1274. Looking on details and other platforms.stefan6419846 commentedon Nov 18, 2026
I just had a look at https://inspector.pypi.io/project/opencv-python/5.1.0.95/packages/f8/a1/c7f78207d0fcc2d655b9a15598d64da14edf0808db2a86df24459d31cc56/opencv_python-5.1.0.95-cp37-abi3-manylinux_2_28_x86_64.whl/opencv_python-5.1.0.95.dist-info/sboms/auditwheel.cdx.json, and this does not map to the shared objects actually shipped according to https://inspector.pypi.io/project/opencv-python/5.1.0.95/packages/f8/a1/c7f78207d0fcc2d655b9a15598d64da14edf0808db2a86df24459d31cc56/opencv_python-5.1.0.95-cp37-abi3-manylinux_2_28_x86_64.whl/ At first sight, ffmpeg, libpng and some other dependencies are absent from the SBOM.