Title: Enumerate pip's vendored dependencies in SBOM · Issue #114250 · python/cpython · GitHub
Open Graph Title: Enumerate pip's vendored dependencies in SBOM · Issue #114250 · python/cpython
X Title: Enumerate pip's vendored dependencies in SBOM · Issue #114250 · python/cpython
Description: Bug report Bug description: Part of #112302 Currently pip's package entry in the SBOM is quite simple, including only itself but not all the vendored projects and their licenses/IDs. See comment from @hroncok on DPO on why this is proble...
Open Graph Description: Bug report Bug description: Part of #112302 Currently pip's package entry in the SBOM is quite simple, including only itself but not all the vendored projects and their licenses/IDs. See comment fr...
X Description: Bug report Bug description: Part of #112302 Currently pip's package entry in the SBOM is quite simple, including only itself but not all the vendored projects and their licenses/IDs. See commen...
Opengraph URL: https://github.com/python/cpython/issues/114250
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enumerate pip's vendored dependencies in SBOM","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\nPart of https://github.com/python/cpython/issues/112302\r\n\r\nCurrently pip's package entry in the SBOM is quite simple, including only itself but not all the vendored projects and their licenses/IDs. See comment from @hroncok on DPO on why this is problematic: https://discuss.python.org/t/create-and-distribute-software-bill-of-materials-sbom-for-python-artifacts/39293/24\r\n\r\nMy proposed changes to `generate_sbom.py` is the following:\r\n\r\n* Find the entry `pip/_vendor/vendor.txt` in the pip wheel archive.\r\n* Read the content, parse the requirements into names and versions.\r\n* Ensure all entries are represented as packages in the SBOM with a `pip DEPENDS_ON \u003cpackage>` relationship.\r\n\r\nThis approach lets the license identifiers be specified in the SBOM like other packages but then would raise an error if pip is upgraded with a difference in vendored dependencies or versions allowing the reviewer to acknowledge any changes.\r\n\r\n### CPython versions tested on:\r\n\r\nCPython main branch\r\n\r\n### Operating systems tested on:\r\n\r\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-114450\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/sethmlarson","@type":"Person","name":"sethmlarson"},"datePublished":"2024-01-18T15:08:15Z","url":"https://github.com/python/cpython/issues/114250"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40b006f2-6921-bd8f-4ae4-4830d168405a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB9A:20AA01:48C5F82:5C34391:6B023360 |
| html-safe-nonce | bf7483e2b3ae31d9d3bda66402f7f39e5d6975edc81e9ba0790c123aac26dce8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjlBOjIwQUEwMTo0OEM1RjgyOjVDMzQzOTE6NkIwMjMzNjAiLCJ2aXNpdG9yX2lkIjoiMTIzODUyNDQ5OTU3ODcyOTMxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 14c6a3704656adaded6d258829ebf8fac68111dc38fb128413eb64ece623cce3 |
| hovercard-subject-tag | issue:2088489599 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/114250/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c29ce1f9f409bd3db953b02b2403a94a12f801642a9a5ecdd61e44dae121e7cd/python/cpython/issues/114250 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c29ce1f9f409bd3db953b02b2403a94a12f801642a9a5ecdd61e44dae121e7cd/python/cpython/issues/114250 |
| og:image:alt | Bug report Bug description: Part of #112302 Currently pip's package entry in the SBOM is quite simple, including only itself but not all the vendored projects and their licenses/IDs. See comment fr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sethmlarson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width