syft/schema
Shane Dell a07bfe7dfa
Create python requirements metadata (#1759)
- Create new metadata struct and type for python requirements.
- Update parsing of python requirements to use python requirements metadata.
- Remove extras and url from line. Add them to metadata instead.
- Add unit test to test that extras are removed from package name.
- Update test to look at requirements metadata.
- Will need updated in future to support more than just == for the version constraint.
- Update JSON schema data

Closes anchore/grype#1246
Closes anchore/grype#1251

Signed-off-by: Shane Dell <shanedell100@gmail.com>
2023-04-27 09:04:30 -04:00
..
cyclonedx refactor command package to remove globals and add dependency injection 2022-04-26 18:23:03 +00:00
json Create python requirements metadata (#1759) 2023-04-27 09:04:30 -04:00
spdx-json add linter for type assertion checks (#1469) 2023-01-17 14:00:03 -05:00