Title: SBOM generator should not look for a pip wheel in a fixed location · Issue #114244 · python/cpython · GitHub
Open Graph Title: SBOM generator should not look for a pip wheel in a fixed location · Issue #114244 · python/cpython
X Title: SBOM generator should not look for a pip wheel in a fixed location · Issue #114244 · python/cpython
Description: Bug report Bug description: In Fedora Linux, when building Python RPM, we remove the bundled pip wheel. We use an RPM build available in the system instead. In the past, a new option was added to Python to define a custom location for th...
Open Graph Description: Bug report Bug description: In Fedora Linux, when building Python RPM, we remove the bundled pip wheel. We use an RPM build available in the system instead. In the past, a new option was added to P...
X Description: Bug report Bug description: In Fedora Linux, when building Python RPM, we remove the bundled pip wheel. We use an RPM build available in the system instead. In the past, a new option was added to P...
Opengraph URL: https://github.com/python/cpython/issues/114244
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SBOM generator should not look for a pip wheel in a fixed location","articleBody":"# Bug report\n\n### Bug description:\n\nIn Fedora Linux, when building Python RPM, we remove the bundled pip wheel. We use an RPM build available in the system instead.\nIn the past, a new option was added to Python to define a custom location for that wheel: `--with-wheel-pkg-dir` (https://github.com/python/cpython/issues/87022).\n`generate_sbom.py` doesn't count with this possibility, it looks for pip in a hardcoded location and errors if not found.\n\nEven if there was an option to skip the search for pip wheel, would it mean that [sbom.spdx.json](https://github.com/python/cpython/blob/main/Misc/sbom.spdx.json) is shipped in the built Python with incorrect data?\n\nAlso, please note that pip bundles a lot of other libraries and the actual project license, if was to reflect that reality, would be tad more complicated, see: [Fedora's pip license tag](https://src.fedoraproject.org/rpms/python-pip/blob/rawhide/f/python-pip.spec#_51). In https://github.com/python/cpython/blob/main/Misc/sbom.spdx.json#L1719 there's declared `MIT` only.\n\n(Additionally, we also use the system `expat` and `_decimal/libmpdec` libraries instead of the Python copies, which are hardcoded the same way in the script, so there surely will be more issues with the generated metadata if we were trying to create SBOM as downstream repackagers) \n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/befeleme","@type":"Person","name":"befeleme"},"datePublished":"2024-01-18T11:21:07Z","url":"https://github.com/python/cpython/issues/114244"}
| 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:63a2c852-033b-aee9-b952-db904f8a7218 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA60:50ADA:2C85DB:3B0180:6B023347 |
| html-safe-nonce | da4d4f8728bcc0bd78fde95fe915f9e97bbb9c3f5703dbf47a7f717945a9d56d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTYwOjUwQURBOjJDODVEQjozQjAxODA6NkIwMjMzNDciLCJ2aXNpdG9yX2lkIjoiMzE0MzcxNDY3NTc0NTc2NDE2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f2be4650ee596df1d8f53875ec2131f81a68b49f6de7d9a62381cc62e3bae3c8 |
| hovercard-subject-tag | issue:2088076695 |
| 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/114244/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c94907035bda839672ac2ec004cf03b35af9d3f7c8522fe1cc8e6f2cf332900/python/cpython/issues/114244 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c94907035bda839672ac2ec004cf03b35af9d3f7c8522fe1cc8e6f2cf332900/python/cpython/issues/114244 |
| og:image:alt | Bug report Bug description: In Fedora Linux, when building Python RPM, we remove the bundled pip wheel. We use an RPM build available in the system instead. In the past, a new option was added to P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | befeleme |
| 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