Skip to content

fix(ci): use uv pip install for mpak-scanner#4

Open
JoeCardoso13 wants to merge 2 commits intomainfrom
fix/scan-yml-use-uv
Open

fix(ci): use uv pip install for mpak-scanner#4
JoeCardoso13 wants to merge 2 commits intomainfrom
fix/scan-yml-use-uv

Conversation

@JoeCardoso13
Copy link
Contributor

Summary

  • Replace bare pip install mpak-scanner with uv pip install mpak-scanner in scan.yml
  • The workflow installs Python 3.13 via uv, but pip used the system Python (likely 3.12), causing mpak-scanner (which requires ≥3.13) to either fail silently or fake a clean scan report via the fallback

Test plan

  • Verify the Security Scan workflow passes on the PR
  • Confirm mpak-scanner installs and runs under Python 3.13

🤖 Generated with Claude Code

The workflow installs Python 3.13 via uv, but the scanner was installed
with bare pip (system Python, likely 3.12). The fallback silently faked
a clean scan report. Switch to uv pip install so mpak-scanner runs
under the correct Python.
uvx runs mpak-scanner in an isolated environment with the correct
Python, avoiding PATH issues from uv pip install.
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