Skip to content

Commit d6209fa

Browse files
aclark4lifeCopilot
andcommitted
Address review feedback: add argparse import and missing dependsOn entries
- Add missing 'import argparse' (fixes NameError at runtime) - Add libimagequant to PIL._imaging dependsOn (Thread 25) - Add PIL._imagingtk dependsOn with libxcb (Threads 26 and 27) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a6d9c3a commit d6209fa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/generate-sbom.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
from __future__ import annotations
1212

13+
import argparse
1314
import datetime as dt
1415
import hashlib
1516
import json
@@ -446,6 +447,7 @@ def generate(version: str) -> dict:
446447
"pkg:generic/zlib",
447448
"pkg:generic/libtiff",
448449
"pkg:generic/openjpeg",
450+
"pkg:generic/libimagequant",
449451
],
450452
},
451453
{
@@ -474,6 +476,10 @@ def generate(version: str) -> dict:
474476
"ref": f"{purl}#c-ext/PIL._imagingmath",
475477
"dependsOn": ["pkg:pypi/pybind11"],
476478
},
479+
{
480+
"ref": f"{purl}#c-ext/PIL._imagingtk",
481+
"dependsOn": ["pkg:generic/libxcb"],
482+
},
477483
{
478484
"ref": f"{purl}#thirdparty/raqm",
479485
"dependsOn": [

0 commit comments

Comments
 (0)