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
spdx.ParseSyntax fails for LicenseRef-scancode- exceptions #36
Trying to parse a license-expression using ParseSyntax where the expression contains LicenseRef-scancode-xxx exceptions seems to fail.
For example:
spdx.ParseSyntax("GPL-2.0-only WITH somerandomexception") // Works finespdx.ParseSyntax("GPL-2.0-only WITH Classpath-exception-2.0") // Works finespdx.ParseSyntax("GPL-2.0-only WITH LicenseRef-scancode-cygwin-exception-2.0")
// Fails with: missing operand: expected exception after WITH
Activity
andrew commentedon Nov 2, 2026
@william-elastisys thanks for reporting, fixed in #37 will tag a new release shortly.
andrew commentedon Nov 2, 2026
https://github.com/git-pkgs/spdx/releases/tag/v0.3.5