Skip to content

Commit 5e526da

Browse files
committed
Adding python version to security scan.
1 parent 99f3f1e commit 5e526da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

omnipkg/package_meta_builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,9 @@ def _perform_security_scan(self, packages: Dict[str, str]):
599599
bubble_path = self.omnipkg_instance.multiversion_base / f'{TOOL_NAME}-{TOOL_VERSION}'
600600
if not bubble_path.is_dir():
601601
safe_print(f" 💡 First-time setup: Creating isolated bubble for '{TOOL_SPEC}' tool...")
602-
success = self.omnipkg_instance.bubble_manager.create_isolated_bubble(TOOL_NAME, TOOL_VERSION)
602+
success = self.omnipkg_instance.bubble_manager.create_isolated_bubble(
603+
TOOL_NAME, TOOL_VERSION, python_context_version=self.target_context_version
604+
)
603605
if not success:
604606
safe_print(f' ❌ Failed to create the tool bubble for {TOOL_SPEC}. Skipping scan.')
605607
self.security_report = {}

0 commit comments

Comments
 (0)