python / python/cpython

Why does the Windows build generate an swbom, which is simply impossible in some internal network environments?

未關閉
#147,191 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

build OS-windows
主要語言
Python
星號
77.2k
分支
35.9k
PR 合併指標
PR 指標待擷取

描述

https://github.com/python/cpython/blob/7f2d89a444bb389a4f4ded13204e71c0af06ee76/PCbuild/regen.targets#L100

Some internal networks cannot access GitHub and cannot perform SBOM operations. As a result, the operations will fail. Is there a build parameter to disable this function?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 PCbuild/regen.targets 大約第 100 行開始查看,Windows 建置會在這裡呼叫 SBOM 產生。檢查可用的 MSBuild 參數,以及此 target 如何接入建置流程;完成的標準是提供一個明確選項來停用 SBOM 作業,使建置能夠在無法存取 GitHub 的網路中正常運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
build-system
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。