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
Hi license-expression. I must begin that this is a great piece of software, and I'm grateful for your contributions.
I noticed a strange edge case when using the spdx license parser. The parser raises an exception when I try to parse Sleepycat License but is fine with Sleepydog License or even Sleepyca License.
Reproducible example:
SPDX_LICENSING=license_expression.get_spdx_licensing()
# ExpressionParseError: Invalid symbols sequence such as (A B) for token: "License" at position: 10_=SPDX_LICENSING.parse('Sleepycat License')
# Works_=SPDX_LICENSING.parse('Sleepydog License')
_=SPDX_LICENSING.parse('Sleepyca License')
The first non-validated parsing failure is probably OK.
The second non-failure should fail either with Unknown license key(s) or rather a Invalid symbols sequence too
Hi
license-expression
. I must begin that this is a great piece of software, and I'm grateful for your contributions.I noticed a strange edge case when using the spdx license parser. The parser raises an exception when I try to parse
Sleepycat License
but is fine withSleepydog License
or evenSleepyca License
.Reproducible example:
Relevant versions installed via conda.
Thanks in advance!
The text was updated successfully, but these errors were encountered: