Skip to content

fix: delegate NOTICE generation to SDK for uv-managed apps#223

Merged
phantom-jacob merged 1 commit into
mainfrom
fix/generate-notice-sdk-delegation
Apr 24, 2026
Merged

fix: delegate NOTICE generation to SDK for uv-managed apps#223
phantom-jacob merged 1 commit into
mainfrom
fix/generate-notice-sdk-delegation

Conversation

@sodle-splunk
Copy link
Copy Markdown
Collaborator

Summary

  • For SDK apps (detected by uv.lock), NOTICE generation is now delegated to uv run soarapps manifests create-notice, available in splunk-soar-sdk >= 3.20.0
  • If the SDK is missing from the lock file or below 3.20.0, raises a clear RuntimeError prompting the user to upgrade
  • Removes the broken pyproject.toml-based dependency parsing path that silently produced empty NOTICE files (raw PEP 508 specifiers like requests>=2.28.0 were passed directly to pip-licenses, which couldn't resolve them)
  • Legacy apps without uv.lock continue using the existing requirements.txt flow unchanged

🤖 Generated with Claude Code

For apps using the SOAR SDK (detected by presence of uv.lock), delegate
NOTICE generation to `uv run soarapps manifests create-notice`, which is
available in splunk-soar-sdk >= 3.20.0. If the SDK is missing or too old,
raise a clear error prompting the user to upgrade. Removes the broken
pyproject.toml-based dependency parsing path that produced empty NOTICE files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sodle-splunk sodle-splunk force-pushed the fix/generate-notice-sdk-delegation branch from fa15988 to f862679 Compare April 24, 2026 18:56
@phantom-jacob phantom-jacob merged commit 1ca2728 into main Apr 24, 2026
4 checks passed
@phantom-jacob phantom-jacob deleted the fix/generate-notice-sdk-delegation branch April 24, 2026 19:36
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.

2 participants