-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
@sschuberth @pombredanne
According to 2ecb365, we do not require the version to be 1.2, but we have a bug. (still require the version to be 1.2)
Steps to reproduce:
- Modify
SPDXSimpleTag.tagand replace this line ->SPDXVersion: SPDX-1.2withSPDXVersion: SPDX-1.1. - Run
python parse_tv.py '../data/SPDXSimpleTag.tag'from theexamplesdirectory.
Output that we receive:
examples git:(master) ✗ python parse_tv.py '../data/SPDXSimpleTag.tag'
Generating LALR tables
SPDXVersion must be SPDX-1.2 found SPDX-1.1.
Errors encountered while parsing
The cause of this behaviour is the given snippet inside tagvaluebuilders.py:
if vers == version.Version(major=1, minor=2):
doc.version = vers
return True
Metadata
Metadata
Assignees
Labels
No labels