Skip to content

fix: allow apps to bundle sh - #266

Merged
phantom-jacob merged 1 commit into
mainfrom
codex/dev-cicd-sh-dependency
Sep 25, 2026
Merged

phantom-jacob merged 1 commit into
mainfrom
codex/dev-cicd-sh-dependency

Conversation

@phantom-jacob

Copy link
Copy Markdown
Contributor

Summary

Allow explicitly declared applications to package sh and include its license in generated NOTICE files after the dependency is removed from Phantom's shared automation environments.

This is the packaging prerequisite for the Slack change and the application slice of PSAAS-36343 / CVE-2026-54552 context.

Changes

  • Remove sh from the dependency packager's platform-provided wheel exclusions.
  • Remove sh from the NOTICE generator's platform-provided package exclusions.

Validation

  • pytest local_hooks/tests/test_package_app_dependencies.py local_hooks/tests/test_generate_notice.py: 28 passed.
  • Ruff checks passed for both changed modules.
  • The updated Docker-backed packager successfully built the Slack dependency set for Python 3.9 and 3.13, including sh-1.14.3.
  • The updated NOTICE generator successfully emitted the sh MIT attribution.

Review focus

Please verify that an app's explicit sh requirement is retained in generated metadata and that the corresponding license block is included in NOTICE, while platform-provided dependency handling remains unchanged for the other excluded packages.

Written by Codex.

Let explicitly declared app requirements and NOTICE entries include sh now that the automation environment no longer provides it.

Written by Codex.
@phantom-jacob
phantom-jacob merged commit 83824fd into main Sep 25, 2026
4 checks passed
@phantom-jacob
phantom-jacob deleted the codex/dev-cicd-sh-dependency branch September 25, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant