feat(test, monitor): python pip support for local wheel files specifiers #5660
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.
Pull Request Submission Checklist
What does this PR do?
It bumps the snyk-python-plugin package, introducing the following:
Where should the reviewer start?
The linked PRs mentioned above. The existing acceptance tests for python projects in the cli, as well as the tests added in the plugin cover these changes.
The changed acceptance tests for newly supported local whl files.
The automated tests for the plugin support for whl files:
How should this be manually tested?
Create a python project similar to the test fixture added in the PR - snyk/snyk-python-plugin@b42e5fc#diff-2944fcfe76ba8f2b7aa23aac36d2636586d68247619b29a259533d36255cfd27.
Run
pip install -r requirements.txt
.Run
snyk test --comand=python3
and receive a successful response.What are the relevant tickets?
https://snyksec.atlassian.net/browse/OSM-2206