We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf8e9ed commit dc4736eCopy full SHA for dc4736e
src/macaron/slsa_analyzer/analyzer.py
@@ -1011,8 +1011,19 @@ def get_artifact_hash(
1011
return maven_registry.get_artifact_hash(purl, hash_algorithm)
1012
1013
if purl.type == "pypi":
1014
- # TODO implement
1015
- return None
+ # pypi_registry = next(
+ # (
1016
+ # package_registry
1017
+ # for package_registry in PACKAGE_REGISTRIES
1018
+ # if isinstance(package_registry, PyPIRegistry)
1019
+ # )
1020
1021
+ # if not pypi_registry:
1022
+ # return None
1023
+
1024
+ # Create PyPIJsonAsset (requires component changes from PR 982)
1025
1026
+ pass
1027
1028
logger.debug("Purl type '%s' not yet supported for GitHub attestation discovery.", purl.type)
1029
return None
0 commit comments