Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ v35.0.0 (2025-06-23)
- Add "Package Compliance Alert" chart in the Policies section.
https://github.com/aboutcode-org/scancode.io/pull/1699

- Catch ``NotImplementedError`` in ``get_unique_unresolved_purls`` and properly
log error in project.
https://github.com/aboutcode-org/scancode.io/pull/1700

v34.11.0 (2025-05-02)
---------------------

Expand Down
8 changes: 6 additions & 2 deletions scanpipe/pipes/purldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,12 @@ def get_unique_unresolved_purls(project):

try:
vers = range_class.from_native(extracted_requirement)
except (InvalidVersionRange, InvalidVersion) as exception:
if exception is InvalidVersionRange:
except (
InvalidVersionRange,
InvalidVersion,
NotImplementedError,
) as exception:
if exception in (InvalidVersionRange, NotImplementedError):
description = "Version range is invalid or unsupported"
else:
description = "Extracted requirement is not a valid version"
Expand Down