ci: install dev deps and generate requirements.txt for Snyk #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Simplify the security workflow by removing the astral-sh/setup-uv steps and the uv sync/export flow. Instead of installing individual packages, the workflow now runs
pip install -e . --group devandpip freeze > requirements.txtto produce a requirements.txt file for Snyk scanning. This reduces duplication and uses the project's dev extras for dependency installation.This change assures Snyk has all required dependencies.
Type of Change
Related Issue
Snyk was silently failing with exit code 2, as dependency installation with uv was not sufficient
Changes Made
pip install -e . --group devandpip freeze > requirements.txtfor Snyk scanningTesting
Describe how you tested your changes:
Screenshots (if applicable)
Add screenshots to help explain your changes.
Checklist
Additional Context
Add any other context about the PR here.