Closed annaowens closed 7 months ago
Closing this issue, regenerating the poetry.lock to generate the resolved_reference
field fixed the issue.
[package.source]
type = "git"
url = "https://github.com/galaunay/flake8-mypy.git"
reference = "0dbbae1b5"
resolved_reference = "0dbbae1b5be08ad584d0a46ca8546463c285342a"
The Poetry detector is throwing an error when trying to parse a git component that has a valid hash in a
poetry.lock
file.poetry.lock snippet:
CD output:
Believe the issue is happening here: https://github.com/microsoft/component-detection/blob/main/src/Microsoft.ComponentDetection.Detectors/poetry/PoetryComponentDetector.cs#L61
AB#2140203