You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An exception is raised for invalid license IDs instead of continuing to process #598
license_expression.ExpressionError: Invalid license key: the valid characters are: letters and numbers, underscore, dot, colon or hyphen signs and spaces: 'Apache License, Version 2.0'
I'm not familiar with the spec, but assuming this is bad license data in the package (prometheus-async in this case), I think cyclonedx-python shouldn't immediately stop processing, and rather should skip the license for this component and continue.
It looks like we're already catching one error and carrying on at that point.
Activity
jkowalleck commentedon Oct 16, 2023
FYI:
dev/v4.x.xis not nearly finished.jkowalleck commentedon Oct 16, 2023
shall be fixed by CycloneDX/cyclonedx-python-lib#471
chore{deps}: bump cyclonedx-python-lib
chore{deps}: bump cyclonedx-python-lib (#599)
jkowalleck commentedon Oct 16, 2023
should be fixed by #599
@mykter could you pull and install the latest
dev/v4.x.xversion and test again?mykter commentedon Oct 19, 2023
That works, thanks for the exceptionally speedy fix!