python / python/cpython

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

Open
#147,191 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build OS-windows
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in PCbuild/regen.targets around line 100, where the Windows build invokes SBOM generation. Check the available MSBuild parameters and how this target is wired into the build; done means an explicit option can disable the SBOM operation so builds work on networks without GitHub access.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.