diff --git a/pyproject.toml b/pyproject.toml index 0b87d1af..72248eaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dependencies = [ "olefile==0.47.*", "defusedxml==0.7.*", "spdx-tools==0.8.*", - "cyclonedx-python-lib==7.6.2", + "cyclonedx-python-lib==8.5.0", "pluggy==1.*", "click==8.*", "javatools>=1.6,==1.*", diff --git a/surfactant/output/cyclonedx_writer.py b/surfactant/output/cyclonedx_writer.py index f8d95881..082c9eb4 100644 --- a/surfactant/output/cyclonedx_writer.py +++ b/surfactant/output/cyclonedx_writer.py @@ -3,12 +3,13 @@ from typing import Dict, List, Optional, Tuple import cyclonedx.output -from cyclonedx.model import HashAlgorithm, HashType, Tool +from cyclonedx.model import HashAlgorithm, HashType from cyclonedx.model.bom import Bom, BomMetaData from cyclonedx.model.bom_ref import BomRef from cyclonedx.model.component import Component, ComponentType from cyclonedx.model.contact import OrganizationalEntity from cyclonedx.model.dependency import Dependency +from cyclonedx.model.tool import Tool import surfactant.plugin from surfactant import __version__ as surfactant_version