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
I'm facing multiple issues with validating SPDX3 files using spdx-tools python version 0.8.1, all related to CreationInfo. I convert them based on spdx_tools.spdx3.bump_from_spdx2.spdx_document. The results is like:
Hi @mrybczyn, thanks for your interest in the python-tools! :)
The problem you encounter is due to the parser only working for SPDX versions 2.2 and 2.3. This library currently only supports writing of SPDX-3.0 documents, but not parsing. There is a proof of concept I did a while ago, which can be found here, but this is very likely outdated by now as the SPDX3 model is still in development.
If you'd like to contribute to this library, please feel free to put up a PR that implements parsing for SPDX-3.0. :)
$ pyspdxtools -i spdx-examples/software/example1/spdx3.0/example1.json
ERROR:root:There have been issues while parsing the provided document:
Error while parsing document None: ['CreationInfo does not exist.']
Activity
armintaenzertng commentedon Sep 14, 2023
Hi @mrybczyn, thanks for your interest in the python-tools! :)
The problem you encounter is due to the parser only working for SPDX versions 2.2 and 2.3. This library currently only supports writing of SPDX-3.0 documents, but not parsing. There is a proof of concept I did a while ago, which can be found here, but this is very likely outdated by now as the SPDX3 model is still in development.
If you'd like to contribute to this library, please feel free to put up a PR that implements parsing for SPDX-3.0. :)
alper commentedon Jun 29, 2024
I have a similar issue but my Github provided document says it's 2.3:
NiklasBr commentedon May 22, 2025
Similar issue with SPDX-2.3 here:
oli-ben commentedon Sep 5, 2025
This is still an issue:
README.md: Explicitly state that the experimental SPDX3 support is
README.md: Explicitly state that the experimental SPDX3 support is
README.md: Explicitly state that the experimental SPDX3 support is
README.md: State that the experimental SPDX3 support is write-only.
README.md: State that the experimental SPDX3 support is write-only.
README.md: State that the experimental SPDX3 support is write-only.
xR3b0rn commentedon Mar 4, 2026
Is there any information available on when parsing SPDX3 is supported?