macaron
macaron copied to clipboard
feat: add pypi attestation discovery
Summary
This PR adds discovery of PyPI attestation. URLs to these attestation files are sought via the deps.dev API.
Description of changes
DepsDevRepoFinderwas updated to use theDepsDevService, ensuring consistent and easily configurable use of the API- Tests were added for
DepsDevRepoFinderfunctions (they were not added previously), including for the functions that PyPI attestation discovery relies upon. - PyPI attestations do not have a predicate. The
pypi-attestationis used to extract information from the attestation certificate. This information is coerced into a predicate for use elsewhere within Macaron. - Addition of an integration test case using the
ultralyticsPython library as its target.
Related issues
Closes #947